diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2010-11-22 12:21:10 +0300 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2010-11-22 12:21:10 +0300 |
commit | 65116d34089d977929f36542522e79d05786094d (patch) | |
tree | 855936cec6d3b0afd67eb17131c2c9c1133e3d82 /mysql-test/t/xml.test | |
parent | e4d2fd35a7333fb6a9c92c6439b4c4123983ccde (diff) | |
parent | a6294cd5cbd02c48b28fe8b380f8c259f14f9d8c (diff) | |
download | mariadb-git-65116d34089d977929f36542522e79d05786094d.tar.gz |
Manual-merge from mysql-5.1-bugteam.
Diffstat (limited to 'mysql-test/t/xml.test')
-rw-r--r-- | mysql-test/t/xml.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/xml.test b/mysql-test/t/xml.test index a8917fc9fe7..416f1fef0c5 100644 --- a/mysql-test/t/xml.test +++ b/mysql-test/t/xml.test @@ -617,15 +617,28 @@ FROM t1 ORDER BY t1.id; DROP TABLE t1; + --echo # --echo # Bug#57257 Replace(ExtractValue(...)) causes MySQL crash --echo # SET NAMES utf8; SELECT REPLACE(EXTRACTVALUE('1', '/a'),'ds',''); + --echo # --echo # Bug #57820 extractvalue crashes --echo # SELECT AVG(DISTINCT EXTRACTVALUE((''),('$@k'))); + +--echo # +--echo # Bug#57279 updatexml dies with: Assertion failed: str_arg[length] == 0 +--echo # + +--error ER_ILLEGAL_VALUE_FOR_TYPE +SELECT UPDATEXML(NULL, (LPAD(0.1111E-15, '2011', 1)), 1); +--error ER_ILLEGAL_VALUE_FOR_TYPE +SELECT EXTRACTVALUE('', LPAD(0.1111E-15, '2011', 1)); + + --echo End of 5.1 tests |