diff options
author | Adam <Adam@anope.org> | 2016-10-29 14:24:45 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-29 14:24:45 -0400 |
commit | c06cc40d27e5cb83424d89cb19571eb42392abe6 (patch) | |
tree | bd8a0cec5210b7a0dcad7e46bb3070eebed53d11 /modules/extra/mysql.cpp | |
parent | fce6169f4e134a99dbb19997337b1bb250889147 (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.cpp | 2 |
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()) |