diff options
author | unknown <acurtis/antony@xiphis.org/ltamd64.xiphis.org> | 2008-01-17 15:37:18 -0800 |
---|---|---|
committer | unknown <acurtis/antony@xiphis.org/ltamd64.xiphis.org> | 2008-01-17 15:37:18 -0800 |
commit | 8f3a0ea2c8e791f0ee84c3e1dd7f09ef7daf0d48 (patch) | |
tree | 5d8c935946bf8e385ce551093aa41d1270a3e1d5 /mysql-test/t/csv.test | |
parent | dd40d4ea407e640d47b0f34fdb177b4d6ee4a175 (diff) | |
download | mariadb-git-8f3a0ea2c8e791f0ee84c3e1dd7f09ef7daf0d48.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.
mysql-test/r/csv.result:
test for bug33067
mysql-test/t/csv.test:
test for bug33067
storage/csv/ha_tina.cc:
bug33067
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.
storage/csv/ha_tina.h:
bug33067
new memroot attribute for blobs
Diffstat (limited to 'mysql-test/t/csv.test')
-rw-r--r-- | mysql-test/t/csv.test | 11 |
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 |