diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-05-07 13:37:16 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-05-07 13:37:16 +0400 |
commit | 762b535de2104cd08b10a1a41f16f9df1371b95d (patch) | |
tree | 385aedcde4e00b31a7b5e1b308d16b5460be7b94 /mysql-test/t/loadxml.test | |
parent | 21b8741b57204f784633c6337f9abacaa59ff3e2 (diff) | |
parent | 7af6ac8f3ed64333f3dcb87c15e93bcfafd66bf1 (diff) | |
download | mariadb-git-762b535de2104cd08b10a1a41f16f9df1371b95d.tar.gz |
Manual merge from mysql-trunk.
Conflicts:
- mysql-test/suite/engines/funcs/t/disabled.def
- mysql-test/suite/engines/iuds/t/disabled.def
- mysql-test/suite/engines/iuds/t/insert_number.test
Diffstat (limited to 'mysql-test/t/loadxml.test')
-rw-r--r-- | mysql-test/t/loadxml.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/loadxml.test b/mysql-test/t/loadxml.test index 84a89a332a0..6faf712b6ce 100644 --- a/mysql-test/t/loadxml.test +++ b/mysql-test/t/loadxml.test @@ -108,3 +108,11 @@ load xml infile '../../std_data/loadxml2.dat' into table t1; select * from t1; drop table t1; +--echo # +--echo # Bug#51571 load xml infile causes server crash +--echo # +CREATE TABLE t1 (a text, b text); +LOAD XML INFILE '../../std_data/loadxml.dat' INTO TABLE t1 +ROWS IDENTIFIED BY '<row>' (a,@b) SET b=concat('!',@b); +SELECT * FROM t1 ORDER BY a; +DROP TABLE t1; |