db_connection->queryNoResult("START TRANSACTION WITH CONSISTENT SNAPSHOT");
438
439
if (db_connection->getServerType() == ServerDetect::SERVER_DRIZZLE_FOUND)
440
{
441
drizzle_result_st *result;
442
drizzle_row_t row;
443
std::string query("SELECT COMMIT_ID, ID FROM DATA_DICTIONARY.SYS_REPLICATION_LOG WHERE COMMIT_ID=(SELECT MAX(COMMIT_ID) FROM DATA_DICTIONARY.SYS_REPLICATION_LOG)");