diff options
author | monty@donna.mysql.com <> | 2000-12-08 17:04:57 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-12-08 17:04:57 +0200 |
commit | 7617d198a4b6147a2f09b0749ad7ebedb76227b4 (patch) | |
tree | b351c53cc8d10719148a114a60853aa9347782e0 /sql/sql_delete.cc | |
parent | c475a9885d88155c2efcf44423c69df76386ac79 (diff) | |
download | mariadb-git-7617d198a4b6147a2f09b0749ad7ebedb76227b4.tar.gz |
Lots of fixes for BDB tables
Change DROP TABLE to first drop the data, then the .frm file
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index dbcd2640dbc..eab67c835fd 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -215,7 +215,7 @@ int mysql_delete(THD *thd,TABLE_LIST *table_list,COND *conds,ha_rows limit, if (options & OPTION_QUICK) (void) table->file->extra(HA_EXTRA_NORMAL); using_transactions=table->file->has_transactions(); - if (deleted && (error == 0 || !using_transactions)) + if (deleted && (error <= 0 || !using_transactions)) { mysql_update_log.write(thd,thd->query, thd->query_length); if (mysql_bin_log.is_open()) |