/* set session time zone to utc */
Query("SET SESSION TIME_ZONE='+00:00'");
+ Query("BEGIN");
+
/* update programstatus table */
UpdateProgramStatus();
activeDbObjs.push_back(dbobj);
}
- Query("BEGIN");
-
BOOST_FOREACH(const DbObject::Ptr& dbobj, activeDbObjs) {
if (dbobj->GetObject() == NULL) {
Log(LogNotice, "IdoMysqlConnection")
Log(LogInformation, "IdoPgsqlConnection")
<< "pgSQL IDO instance id: " << static_cast<long>(m_InstanceID) << " (schema version: '" + version + "')";
+ Query("BEGIN");
+
/* update programstatus table */
UpdateProgramStatus();
activeDbObjs.push_back(dbobj);
}
- Query("BEGIN");
-
BOOST_FOREACH(const DbObject::Ptr& dbobj, activeDbObjs) {
if (dbobj->GetObject() == NULL) {
Log(LogNotice, "IdoPgsqlConnection")