diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-03-16 21:34:03 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-03-16 21:34:03 -0300 |
commit | 222247c9516492e7d92c910dfc32e23b42b86a39 (patch) | |
tree | 11604fcf4f2dd7b92e0ac9ca9a385ef19ea0dd3c /sql/sql_update.cc | |
parent | f977e21d26a8a1a66aeb2e15e607676104f25149 (diff) | |
download | mariadb-git-222247c9516492e7d92c910dfc32e23b42b86a39.tar.gz |
Fix assorted compiler warnings.
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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<Item> 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 */ |