~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/t/func_str.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1362
1362
ORDER BY QUOTE(t1.a);
1363
1363
DROP TABLE t1;
1364
1364
 
 
1365
--echo #
 
1366
--echo # Bug#57913 large negative number to string conversion functions crash
 
1367
--echo # Bug#57810 case/when/then : Assertion failed: length || !scale
 
1368
--echo #
 
1369
SELECT '1' IN ('1', SUBSTRING(-9223372036854775809, 1));
 
1370
SELECT CONVERT(('' IN (REVERSE(CAST(('') AS DECIMAL)), '')), CHAR(3));
 
1371
 
 
1372
--echo # 
 
1373
--echo # Bug#58165: "my_empty_string" gets modified and causes LOAD DATA to fail
 
1374
--echo # and other crashes
 
1375
--echo #
 
1376
CREATE TABLE t1 ( a TEXT );
 
1377
SELECT 'aaaaaaaaaaaaaa' INTO OUTFILE 'bug58165.txt';
 
1378
SELECT insert( substring_index( 'a', 'a', 'b' ), 1, 0, 'x' );
 
1379
LOAD DATA INFILE 'bug58165.txt' INTO TABLE t1;
 
1380
SELECT * FROM t1;
 
1381
DROP TABLE t1;
 
1382
 
1365
1383
--echo End of 5.1 tests