summaryrefslogtreecommitdiff
path: root/mysql-test/extra
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@sun.com>2010-01-07 10:34:27 +0000
committerLuis Soares <luis.soares@sun.com>2010-01-07 10:34:27 +0000
commit4d090ed4f396b0c24770eafe66f630c3dcdff8fd (patch)
treecaaa4765ad09d25ec3529ac8dcf5bb2415099d77 /mysql-test/extra
parent9eca4014e34add68eafb7b8d820d7f7920e0b8e1 (diff)
parent595719280eeec7dc9dda340d001de72a728b0ed1 (diff)
downloadmariadb-git-4d090ed4f396b0c24770eafe66f630c3dcdff8fd.tar.gz
merge: 5.1-bugteam bug branch --> 5.1 bugteam latest.
Diffstat (limited to 'mysql-test/extra')
-rw-r--r--mysql-test/extra/rpl_tests/rpl_loaddata.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/extra/rpl_tests/rpl_loaddata.test b/mysql-test/extra/rpl_tests/rpl_loaddata.test
index 948b77959f0..3f3c3624fa6 100644
--- a/mysql-test/extra/rpl_tests/rpl_loaddata.test
+++ b/mysql-test/extra/rpl_tests/rpl_loaddata.test
@@ -237,4 +237,18 @@ source include/diff_tables.inc;
-- sync_slave_with_master
+# BUG#49479: LOAD DATA INFILE is binlogged without escaping field names
+-- source include/master-slave-reset.inc
+-- connection master
+use test;
+CREATE TABLE t1 (`key` TEXT, `text` TEXT);
+
+LOAD DATA INFILE '../../std_data/loaddata2.dat' REPLACE INTO TABLE `t1` FIELDS TERMINATED BY ',';
+SELECT * FROM t1;
+
+-- sync_slave_with_master
+-- connection master
+DROP TABLE t1;
+-- sync_slave_with_master
+
# End of 4.1 tests