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 /storage/csv/ha_tina.h | |
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 'storage/csv/ha_tina.h')
-rw-r--r-- | storage/csv/ha_tina.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/csv/ha_tina.h b/storage/csv/ha_tina.h index 5ce09783b9b..5b4381396fc 100644 --- a/storage/csv/ha_tina.h +++ b/storage/csv/ha_tina.h @@ -82,6 +82,7 @@ class ha_tina: public handler uint32 chain_size; uint local_data_file_version; /* Saved version of the data file used */ bool records_is_known; + MEM_ROOT blobroot; private: bool get_write_pos(off_t *end_pos, tina_set *closest_hole); |