summaryrefslogtreecommitdiff
path: root/modules/extra/mysql.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-29 14:24:45 -0400
committerAdam <Adam@anope.org>2016-10-29 14:24:45 -0400
commitc06cc40d27e5cb83424d89cb19571eb42392abe6 (patch)
treebd8a0cec5210b7a0dcad7e46bb3070eebed53d11 /modules/extra/mysql.cpp
parentfce6169f4e134a99dbb19997337b1bb250889147 (diff)
Add sqlite amalgamation and use if no system sqlite is found. Move sqlite module out of extras.
Diffstat (limited to 'modules/extra/mysql.cpp')
-rw-r--r--modules/extra/mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/mysql.cpp b/modules/extra/mysql.cpp
index 389124073..a5d1ac163 100644
--- a/modules/extra/mysql.cpp
+++ b/modules/extra/mysql.cpp
@@ -509,7 +509,7 @@ Query MySQLService::Commit()
Serialize::ID MySQLService::GetID(const Anope::string &prefix)
{
Query query = "SELECT `id` FROM `" + prefix + "objects` ORDER BY `id` DESC LIMIT 1";
- Serialize::ID id = 0;
+ Serialize::ID id = 1;
Result res = RunQuery(query);
if (res.Rows())