v2019.08.19

This commit is contained in:
pypy
2019-08-19 23:28:31 +09:00
parent aad8070275
commit eee4f6cce6
-10
View File
@@ -29,11 +29,6 @@ namespace VRCX
m_Lock.EnterWriteLock(); m_Lock.EnterWriteLock();
try try
{ {
if (m_Connection.State != ConnectionState.Open)
{
m_Connection.Close();
m_Connection.Open();
}
using (var C = new SQLiteCommand(sql, m_Connection)) using (var C = new SQLiteCommand(sql, m_Connection))
{ {
if (param != null) if (param != null)
@@ -57,11 +52,6 @@ namespace VRCX
m_Lock.EnterReadLock(); m_Lock.EnterReadLock();
try try
{ {
if (m_Connection.State != ConnectionState.Open)
{
m_Connection.Close();
m_Connection.Open();
}
using (var C = new SQLiteCommand(sql, m_Connection)) using (var C = new SQLiteCommand(sql, m_Connection))
{ {
if (param != null) if (param != null)