diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-09-03 15:42:19 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-09-03 15:42:19 +0200 |
commit | 91f6ebb998532b36fc70187b641a5b7404060422 (patch) | |
tree | ac88e961c68e4b09eb819f4b57b9ecac56854567 /cpp/src/IceGrid/SqlDB/SqlDB.cpp | |
parent | ICE-5378 - Remove slice35d.dll from Windows installer (diff) | |
download | ice-91f6ebb998532b36fc70187b641a5b7404060422.tar.bz2 ice-91f6ebb998532b36fc70187b641a5b7404060422.tar.xz ice-91f6ebb998532b36fc70187b641a5b7404060422.zip |
Fixed ICE-5358 - allow IceGrid replica to initialize its database from another replica
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 + } }; } |