mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 backup error Failed copying .frm file: errno = X
|
||||
test.t1 backup status Operation failed
|
||||
test.t4 backup error Failed copying .frm file (errno: X)
|
||||
test.t4 backup status Operation failed
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 backup status OK
|
||||
test.t4 backup status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 restore status OK
|
||||
test.t4 backup error Failed copying .frm file (errno: X)
|
||||
test.t4 backup status Operation failed
|
||||
Table Op Msg_type Msg_text
|
||||
test.t4 restore status OK
|
||||
count(*)
|
||||
0
|
||||
Table Op Msg_type Msg_text
|
||||
@@ -18,7 +21,6 @@ n
|
||||
45
|
||||
67
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 backup status OK
|
||||
test.t2 backup status OK
|
||||
test.t3 backup status OK
|
||||
Table Op Msg_type Msg_text
|
||||
@@ -40,4 +42,4 @@ k
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 restore status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 backup status OK
|
||||
test.t5 backup status OK
|
||||
|
||||
Reference in New Issue
Block a user