summaryrefslogtreecommitdiff
path: root/mysql-test/r/loaddata.result
diff options
context:
space:
mode:
authorGuilhem Bichot <guilhem.bichot@oracle.com>2011-04-26 11:52:58 +0200
committerGuilhem Bichot <guilhem.bichot@oracle.com>2011-04-26 11:52:58 +0200
commitacabfc75f5b1e1dab83d2e253b7fffe2abf0bcd8 (patch)
tree0a8a53b727e7b8a23e0a5c3f4f561c924e0097bc /mysql-test/r/loaddata.result
parentfe1ec4a6e7fd01ef23485334aaa21fbab690f58b (diff)
parentdc65d9217c36a0edc8fab0a4a09fbeda7a5c278d (diff)
downloadmariadb-git-acabfc75f5b1e1dab83d2e253b7fffe2abf0bcd8.tar.gz
merge from 5.1
Diffstat (limited to 'mysql-test/r/loaddata.result')
-rw-r--r--mysql-test/r/loaddata.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/loaddata.result b/mysql-test/r/loaddata.result
index 78d169230a3..c4c8216c14a 100644
--- a/mysql-test/r/loaddata.result
+++ b/mysql-test/r/loaddata.result
@@ -539,4 +539,13 @@ CREATE TABLE t1(f1 INT);
SELECT 0xE1BB30 INTO OUTFILE 't1.dat';
LOAD DATA INFILE 't1.dat' IGNORE INTO TABLE t1 CHARACTER SET utf8;
DROP TABLE t1;
+#
+# Bug#11765141 - 58072: LOAD DATA INFILE: LEAKS IO CACHE MEMORY
+# WHEN ERROR OCCURS
+#
+SELECT '1\n' INTO DUMPFILE 'MYSQLTEST_VARDIR/tmp/bug11735141.txt';
+create table t1(a point);
+LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug11735141.txt' INTO TABLE t1;
+ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
+drop table t1;
End of 5.1 tests