From 222247c9516492e7d92c910dfc32e23b42b86a39 Mon Sep 17 00:00:00 2001 From: Davi Arnaut Date: Tue, 16 Mar 2010 21:34:03 -0300 Subject: Fix assorted compiler warnings. --- sql/sql_update.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'sql/sql_update.cc') diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 62a35335374..1fac036876d 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -206,7 +206,6 @@ int mysql_update(THD *thd, ulonglong id; List all_fields; THD::killed_state killed_status= THD::NOT_KILLED; - MDL_ticket *start_of_statement_svp= thd->mdl_context.mdl_savepoint(); DBUG_ENTER("mysql_update"); if (open_tables(thd, &table_list, &table_count, 0)) @@ -956,7 +955,6 @@ int mysql_multi_update_prepare(THD *thd) uint table_count= lex->table_count; const bool using_lock_tables= thd->locked_tables_mode != LTM_NONE; bool original_multiupdate= (thd->lex->sql_command == SQLCOM_UPDATE_MULTI); - MDL_ticket *start_of_statement_svp= thd->mdl_context.mdl_savepoint(); DBUG_ENTER("mysql_multi_update_prepare"); /* following need for prepared statements, to run next time multi-update */ -- cgit v1.2.1