1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix compile error when building with DBUG, but without DEBUG_SYNC.

This commit is contained in:
unknown
2013-03-01 14:58:19 +01:00
parent 1a998ee239
commit 492c3b09d2
3 changed files with 10 additions and 0 deletions

View File

@ -2944,6 +2944,7 @@ end_with_restore_list:
thd->first_successful_insert_id_in_cur_stmt=
thd->first_successful_insert_id_in_prev_stmt;
#ifdef ENABLED_DEBUG_SYNC
DBUG_EXECUTE_IF("after_mysql_insert",
{
const char act1[]=
@ -2959,6 +2960,7 @@ end_with_restore_list:
STRING_WITH_LEN(act2)));
};);
DEBUG_SYNC(thd, "after_mysql_insert");
#endif
break;
}
case SQLCOM_REPLACE_SELECT: