summaryrefslogtreecommitdiff
path: root/mysql-test/t/backup-master.sh
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-03-10 11:22:37 +0200
committerunknown <monty@narttu.mysql.fi>2003-03-10 11:22:37 +0200
commit68ae365395c78eba74b4db66fb0989e76d221d0d (patch)
treecaaf93f4311641760c5a58ab8099d7eab15c0d79 /mysql-test/t/backup-master.sh
parent374ea106f5098e4a6ee79f217bf799d181d20a25 (diff)
downloadmariadb-git-68ae365395c78eba74b4db66fb0989e76d221d0d.tar.gz
Don't allow BACKUP TABLE to overwrite files
Fixed memory leak when replication restarts in debug mode include/my_sys.h: Added option to not overwrite files to my_copy() mysql-test/mysql-test-run.sh: Fixed --ddd option Fixed that mysqld is restarted if there is a testname-master.sh file mysql-test/r/backup.result: Update for security fix in BACKUP TABLE mysql-test/t/backup.test: Update for security fix in BACKUP TABLE mysys/my_copy.c: Added option to not overwrite files to my_copy() sql/ha_myisam.cc: Don't allow BACKUP TABLE to overwrite files sql/slave.cc: Fixed problem with --debug output from 'handle_slave' Fixed memory leak when replication restarts in debug mode
Diffstat (limited to 'mysql-test/t/backup-master.sh')
-rwxr-xr-xmysql-test/t/backup-master.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/backup-master.sh b/mysql-test/t/backup-master.sh
new file mode 100755
index 00000000000..99da5857afe
--- /dev/null
+++ b/mysql-test/t/backup-master.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$MYSQL_TEST_DIR" ]
+then
+ rm -f $MYSQL_TEST_DIR/var/tmp/*.frm $MYSQL_TEST_DIR/var/tmp/*.MY?
+fi