diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-09-25 23:00:45 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-01 23:38:27 +0200 |
commit | 3620910eeac8f118c9a6cb8a1c0ec23e56fb5d98 (patch) | |
tree | d08462d84d10324bd05836c968288d8ab1739e11 /sql/sql_truncate.cc | |
parent | b04f848176b0d8af41eb3627ba1b6ed4dd3327e3 (diff) | |
download | mariadb-git-3620910eeac8f118c9a6cb8a1c0ec23e56fb5d98.tar.gz |
cleanup: galera merge, simple changes
Diffstat (limited to 'sql/sql_truncate.cc')
-rw-r--r-- | sql/sql_truncate.cc | 7 |
1 files changed, 2 insertions, 5 deletions
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); |