summaryrefslogtreecommitdiff
path: root/mysql-test/t/drop_temp_table.test
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-10-27 15:15:01 +0300
committerunknown <monty@mysql.com>2005-10-27 15:15:01 +0300
commit0f33a2ed2f02ab77b88ea867908b57e5d4c5ec4e (patch)
tree7146608f0e572ee9d179f503804c0f2b4ba050f7 /mysql-test/t/drop_temp_table.test
parentb8a6f05c4eefb660d451c5c0a3208565cc5f76e4 (diff)
downloadmariadb-git-0f33a2ed2f02ab77b88ea867908b57e5d4c5ec4e.tar.gz
Fixes during review of pushed code
Added back missing return in mysql_delete() mysql-test/my_manage.c: Cleanup: Remove some #ifdef mysql-test/r/drop_temp_table.result: Delete database that may be left from other test mysql-test/t/drop_temp_table.test: Delete database that may be left from other test sql/log.cc: false -> FALSE true -> TRUE Wait until readers_count is 0 (not just for a signal) NOTE: it's very likely that the way to handle readers_count is wrong. (We are in pthread_cond_wait freeing a mutex that is not the innermost mutex, which can lead to deadlocks) I will talk with Guilhem about this ASAP sql/log_event.h: Remove number from last even to help future merges (all compilers I know of can handle this properly) sql/sql_delete.cc: Add back missing RETURN (was lost in a merge) Indentation fixes
Diffstat (limited to 'mysql-test/t/drop_temp_table.test')
-rw-r--r--mysql-test/t/drop_temp_table.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/drop_temp_table.test b/mysql-test/t/drop_temp_table.test
index 38c13e3e5e4..bc06de4096c 100644
--- a/mysql-test/t/drop_temp_table.test
+++ b/mysql-test/t/drop_temp_table.test
@@ -1,6 +1,10 @@
# Embedded server doesn't support binlog
-- source include/not_embedded.inc
+--disable_warnings
+drop database if exists `drop-temp+table-test`;
+--enable_warnings
+
connect (con1,localhost,root,,);
connect (con2,localhost,root,,);
connection con1;