summaryrefslogtreecommitdiff
path: root/mysql-test/t/csv.test
diff options
context:
space:
mode:
authoracurtis/antony@xiphis.org/ltamd64.xiphis.org <>2008-01-17 15:37:18 -0800
committeracurtis/antony@xiphis.org/ltamd64.xiphis.org <>2008-01-17 15:37:18 -0800
commit7fe6888220a2d593437120ef5b025f5d9e664daa (patch)
tree5d8c935946bf8e385ce551093aa41d1270a3e1d5 /mysql-test/t/csv.test
parent2658999591d6eb550f80430daef65548978b902b (diff)
downloadmariadb-git-7fe6888220a2d593437120ef5b025f5d9e664daa.tar.gz
Bug#33067
"Update of CSV row incorrect for some BLOBs" when reading in rows, move blob columns into temporary storage not allocated by Field_blob class or else row update operation will alter original row and make mysql think that nothing has been changed. fix incrementing wrong statistic values.
Diffstat (limited to 'mysql-test/t/csv.test')
-rw-r--r--mysql-test/t/csv.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/csv.test b/mysql-test/t/csv.test
index 7b4f95bbf8a..dd8c940ac44 100644
--- a/mysql-test/t/csv.test
+++ b/mysql-test/t/csv.test
@@ -1773,4 +1773,15 @@ drop table t1;
CREATE TABLE t1(a INT) ENGINE=CSV;
SHOW WARNINGS;
+#
+# BUG#33067 - .
+#
+create table t1 (c1 tinyblob not null) engine=csv;
+insert into t1 values("This");
+--enable_info
+update t1 set c1="That" where c1="This";
+--disable_info
+select * from t1;
+drop table t1;
+
--echo End of 5.1 tests