mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Manual merge from mysql-5.5-bugteam.
This commit is contained in:
@ -1106,4 +1106,24 @@ REPLACE(EXTRACTVALUE('1', '/a'),'ds','')
|
||||
SELECT AVG(DISTINCT EXTRACTVALUE((''),('$@k')));
|
||||
AVG(DISTINCT EXTRACTVALUE((''),('$@k')))
|
||||
NULL
|
||||
#
|
||||
# Bug#57279 updatexml dies with: Assertion failed: str_arg[length] == 0
|
||||
#
|
||||
SELECT UPDATEXML(NULL, (LPAD(0.1111E-15, '2011', 1)), 1);
|
||||
ERROR 22007: Illegal double '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' value found during parsing
|
||||
SELECT EXTRACTVALUE('', LPAD(0.1111E-15, '2011', 1));
|
||||
ERROR 22007: Illegal double '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' value found during parsing
|
||||
End of 5.1 tests
|
||||
#
|
||||
# Start of 5.5 tests
|
||||
#
|
||||
#
|
||||
# Bug#58175 xml functions read initialized bytes when conversions happen
|
||||
#
|
||||
SET NAMES latin1;
|
||||
SELECT UPDATEXML(CONVERT('' USING swe7), TRUNCATE('',1), 0);
|
||||
UPDATEXML(CONVERT('' USING swe7), TRUNCATE('',1), 0)
|
||||
NULL
|
||||
#
|
||||
# End of 5.5 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user