diff options
author | monty@hundin.mysql.fi <> | 2001-10-10 02:50:28 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-10-10 02:50:28 +0300 |
commit | 06e719b7ccc1198df209ffa56eadf8d77f6a9ff8 (patch) | |
tree | 088cf9579071d756c85870f15378382121877072 /sql/sql_rename.cc | |
parent | 51555b40208ad606937dc2ea070ef0e681895806 (diff) | |
download | mariadb-git-06e719b7ccc1198df209ffa56eadf8d77f6a9ff8.tar.gz |
Remved Gemini code.
Diffstat (limited to 'sql/sql_rename.cc')
-rw-r--r-- | sql/sql_rename.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc index 0f6e2f9fbf3..7a6652953cc 100644 --- a/sql/sql_rename.cc +++ b/sql/sql_rename.cc @@ -31,7 +31,7 @@ static TABLE_LIST *rename_tables(THD *thd, TABLE_LIST *table_list, bool mysql_rename_tables(THD *thd, TABLE_LIST *table_list) { - bool error=1,cerror,got_all_locks=1; + bool error=1,got_all_locks=1; TABLE_LIST *lock_table,*ren_table=0; DBUG_ENTER("mysql_rename_tables"); @@ -87,12 +87,7 @@ end: } /* Lets hope this doesn't fail as the result will be messy */ - if ((cerror=ha_commit_rename(thd))) - { - my_error(ER_GET_ERRNO,MYF(0),cerror); - error= 1; - } - else if (!error) + if (!error) { mysql_update_log.write(thd,thd->query,thd->query_length); if (mysql_bin_log.is_open()) |