This commit is contained in:
DarthArgus
2016-12-27 03:49:14 +00:00
parent 9904f2e271
commit 892390b1b8
2 changed files with 13 additions and 18 deletions
@@ -54,8 +54,7 @@ TaskMapAccount::MapAccountQuery::MapAccountQuery() :
void TaskMapAccount::MapAccountQuery::getSQL(std::string &sql)
{
sql = std::string("begin ")+DatabaseConnection::getInstance().getSchemaQualifier()+"login.upsert_account_map(:parentID, :childID); end;";
WARNING(true, ("TaskRegisterNewCluster SQL: %s\n", sql.c_str()));
sql = std::string("begin ")+DatabaseConnection::getInstance().getSchemaQualifier()+"select login.upsert_account_map(:parentID, :childID) from dual; end;";
}
// ----------------------------------------------------------------------