mirror of
https://github.com/anope/anope.git
synced 2026-07-03 16:13:12 +02:00
Rename Serializable::id to object_id to avoid conflicts.
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
|
||||
std::vector<Query> CreateTable(const Anope::string &table, const Data &data) override;
|
||||
|
||||
Query BuildInsert(const Anope::string &table, unsigned int id, Data &data) override;
|
||||
Query BuildInsert(const Anope::string &table, Serializable::Id id, Data &data) override;
|
||||
|
||||
Query GetTables(const Anope::string &prefix) override;
|
||||
|
||||
@@ -568,7 +568,7 @@ std::vector<Query> MySQLService::CreateTable(const Anope::string &table, const D
|
||||
return queries;
|
||||
}
|
||||
|
||||
Query MySQLService::BuildInsert(const Anope::string &table, unsigned int id, Data &data)
|
||||
Query MySQLService::BuildInsert(const Anope::string &table, Serializable::Id id, Data &data)
|
||||
{
|
||||
/* Empty columns not present in the data set */
|
||||
for (const auto &known_col : this->active_schema[table])
|
||||
|
||||
Reference in New Issue
Block a user