F #4809: Update Sql database interface to include read/write/bootstrap

operations
This commit is contained in:
Ruben S. Montero committed 2017-04-18 17:12:19 +02:00
1 parent cd580714ab
commit a6d4ab3c9f
54 files changed
+162 -122

No files matched your search

+3 -3
View File
@@ -59,7 +59,7 @@ int PoolObjectSQL::select(SqlDB *db)
boid = oid;
oid = -1;
rc = db->exec(oss, this);
rc = db->exec_rd(oss, this);
unset_callback();
@@ -101,7 +101,7 @@ int PoolObjectSQL::select(SqlDB *db, const string& _name, int _uid)
name = "";
uid = -1;
rc = db->exec(oss, this);
rc = db->exec_rd(oss, this);
unset_callback();
@@ -125,7 +125,7 @@ int PoolObjectSQL::drop(SqlDB *db)
oss << "DELETE FROM " << table << " WHERE oid=" << oid;
rc = db->exec(oss);
rc = db->exec_wr(oss);
if ( rc == 0 )
{