Fix DBI after AMTL changes.

This commit is contained in:
David Anderson
2014-09-03 21:11:17 -07:00
parent a7cdf17d90
commit 448c55c0f2
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -101,6 +101,9 @@ MyDatabase::MyDatabase(MYSQL *mysql, const DatabaseInfo *info, bool persistent)
m_Info.driver = NULL;
m_Info.maxTimeout = info->maxTimeout;
m_Info.port = info->port;
// DBI, for historical reasons, guarantees an initial refcount of 1.
AddRef();
}
MyDatabase::~MyDatabase()