diff options
Diffstat (limited to 'cpp/src/IceGrid/SqlDB/SqlDB.cpp')
-rw-r--r-- | cpp/src/IceGrid/SqlDB/SqlDB.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/SqlDB/SqlDB.cpp b/cpp/src/IceGrid/SqlDB/SqlDB.cpp index 2d3b58c9a39..5afe9015af5 100644 --- a/cpp/src/IceGrid/SqlDB/SqlDB.cpp +++ b/cpp/src/IceGrid/SqlDB/SqlDB.cpp @@ -50,6 +50,18 @@ public: SqlDB::Wrapper<SqlStringApplicationInfoDict, std::string, ApplicationInfo>(con, table) { } + + virtual Ice::Long + updateSerial(Ice::Long serial) + { + return -1; // Serials not supported + } + + virtual Ice::Long + getSerial() const + { + return -1; // Serials not supported + } }; class SqlAdaptersWrapper : public SqlDB::Wrapper<SqlStringAdapterInfoDict, std::string, AdapterInfo>, @@ -67,6 +79,18 @@ public: { return _table->findByReplicaGroupId(_connection, name); } + + virtual Ice::Long + updateSerial(Ice::Long serial) + { + return -1; // Serials not supported + } + + virtual Ice::Long + getSerial() const + { + return -1; // Serials not supported + } }; class SqlObjectsWrapper : public SqlDB::Wrapper<SqlIdentityObjectInfoDict, Ice::Identity, ObjectInfo>, @@ -84,6 +108,18 @@ public: { return _table->findByType(_connection, type); } + + virtual Ice::Long + updateSerial(Ice::Long serial) + { + return -1; // Serials not supported + } + + virtual Ice::Long + getSerial() const + { + return -1; // Serials not supported + } }; } |