summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2013-07-01 15:30:55 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2013-07-01 15:30:55 +0200
commit977d58f6143a7227804367a41cd88da2da8cce7f (patch)
treee250ad3394dbf84610c122a7442a5d41d57987e1 /mysql-test/r
parentb3e74a07982bdcf207e32f8420395c5d7c0c2519 (diff)
downloadmariadb-git-977d58f6143a7227804367a41cd88da2da8cce7f.tar.gz
Bug#58165: "my_empty_string" gets modified and causes LOAD DATA to fail and
Cleanup test case (left outfile in data dir)
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/func_str.result4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/func_str.result b/mysql-test/r/func_str.result
index 8f4038e1239..0b08474693f 100644
--- a/mysql-test/r/func_str.result
+++ b/mysql-test/r/func_str.result
@@ -2617,13 +2617,13 @@ Warning 1292 Truncated incorrect DECIMAL value: ''
# and other crashes
#
CREATE TABLE t1 ( a TEXT );
-SELECT 'aaaaaaaaaaaaaa' INTO OUTFILE 'bug58165.txt';
+SELECT 'aaaaaaaaaaaaaa' INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug58165.txt';;
SELECT insert( substring_index( 'a', 'a', 'b' ), 1, 0, 'x' );
insert( substring_index( 'a', 'a', 'b' ), 1, 0, 'x' )
x
Warnings:
Warning 1292 Truncated incorrect INTEGER value: 'b'
-LOAD DATA INFILE 'bug58165.txt' INTO TABLE t1;
+LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug58165.txt' INTO TABLE t1;;
SELECT * FROM t1;
a
aaaaaaaaaaaaaa