An error occurred fetching the project authors.
- 11 May, 2018 1 commit
-
-
Sergey Vojtovich authored
Compressed blob columns didn't accept data at their capacity. E.g. storing 255 bytes to TINYBLOB results in "Data too long" error. Now it is allowed assuming compression method was able to produce shorter string (so that both metadata and compressed data fits blob) and column_compression_threshold is lower than blob. If no compression was performed, we still have to reserve additional byte for metadata and thus we perform normal data truncation and return it's status.
-
- 10 May, 2018 1 commit
-
-
Alexander Barkov authored
-
- 30 Apr, 2018 1 commit
-
-
Sergey Vojtovich authored
Unexpected data truncation may occur when storing data to compressed blob column having multi byte variable length character sets. The reason was incorrect number of characters limit was enforced for blobs.
-
- 20 Apr, 2018 2 commits
-
-
Sergey Vojtovich authored
Storing 1 byte long string in VARCHAR() COMPRESSED column may trigger integer overflow when calculating available space for zlib output.
-
Sergey Vojtovich authored
Character set safe truncation is done when storing non-empty string in VARCHAR(0) COMPRESSED column, so that string becomes empty. The code didn't expect empty string after truncation. Fixed by moving empty string check after truncation.
-
- 02 Apr, 2018 1 commit
-
-
Sergey Vojtovich authored
Handle overlaping "from" and Field_blob_compressed::value for compressed blobs similarily to regular blobs.
-
- 29 Mar, 2018 1 commit
-
-
Michael Widenius authored
-
- 31 Aug, 2017 1 commit
-
-
Sergey Vojtovich authored
Storage engine independent support for column compression. TINYBLOB, BLOB, MEDIUMBLOB, LONGBLOB, TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT, VARCHAR and VARBINARY columns can be compressed. New COMPRESSED column attribute added: COMPRESSED[=<compression_method>] System variables added: column_compression_threshold column_compression_zlib_level column_compression_zlib_strategy column_compression_zlib_wrap Status variables added: Column_compressions Column_decompressions Limitations: - the only supported method currently is zlib - CSV storage engine stores data uncompressed on-disk even if COMPRESSED attribute is present - it is not possible to create indexes over compressed columns.
-