From 3620910eeac8f118c9a6cb8a1c0ec23e56fb5d98 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 25 Sep 2014 23:00:45 +0200 Subject: cleanup: galera merge, simple changes --- sql/sql_truncate.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sql/sql_truncate.cc') diff --git a/sql/sql_truncate.cc b/sql/sql_truncate.cc index 5e23c6ee32b..bac691e35ea 100644 --- a/sql/sql_truncate.cc +++ b/sql/sql_truncate.cc @@ -412,12 +412,9 @@ bool Sql_cmd_truncate_table::truncate_table(THD *thd, TABLE_LIST *table_ref) { bool hton_can_recreate; -#ifdef WITH_WSREP - if (WSREP(thd) && wsrep_to_isolation_begin(thd, - table_ref->db, - table_ref->table_name, NULL)) + if (WSREP(thd) && + wsrep_to_isolation_begin(thd, table_ref->db, table_ref->table_name, 0)) DBUG_RETURN(TRUE); -#endif /* WITH_WSREP */ if (lock_table(thd, table_ref, &hton_can_recreate)) DBUG_RETURN(TRUE); -- cgit v1.2.1