diff options
| author | Adam <Adam@anope.org> | 2012-09-30 20:26:40 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-09-30 20:30:27 -0400 |
| commit | ad37bc9639304f78247d03e6a27fbc2c798926da (patch) | |
| tree | 5ce4ddee3a761372069d02f28197e7ff9a009246 /modules/extra/sql.h | |
| parent | 56df1abdd89638355edcd65ff6f11f917bf63e5f (diff) | |
Bug #1445 - Empty out columns in SQL we have no data for on
insert. This is caused from serialize() only setting a key on
certain conditions and otherwise doing nothing at all.
Diffstat (limited to 'modules/extra/sql.h')
| -rw-r--r-- | modules/extra/sql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/sql.h b/modules/extra/sql.h index 7e10c7150..89686bfe8 100644 --- a/modules/extra/sql.h +++ b/modules/extra/sql.h @@ -130,7 +130,7 @@ class SQLProvider : public Service virtual std::vector<SQLQuery> CreateTable(const Anope::string &table, const Serialize::Data &data) = 0; - virtual SQLQuery BuildInsert(const Anope::string &table, unsigned int id, const Serialize::Data &data) = 0; + virtual SQLQuery BuildInsert(const Anope::string &table, unsigned int id, Serialize::Data &data) = 0; virtual SQLQuery GetTables(const Anope::string &prefix) = 0; |
