summaryrefslogtreecommitdiff
path: root/sql/sql_priv.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-02-18 18:30:01 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-02-18 18:30:01 +0200
commit2c74799d6496f9dbc17bb2cbe764ac81e60e7734 (patch)
treeb2f9ce04949288f967f5599447635d76c4883a8b /sql/sql_priv.h
parentf0b65102b23f006f596eef35e6e5f4f8b6d8146d (diff)
downloadmariadb-git-2c74799d6496f9dbc17bb2cbe764ac81e60e7734.tar.gz
MDEV-18627 Wrong result after instant size change of integer
If we instantly change the size of a fixed-length field and treat it as kind-of variable-length, then we will need conversions between old column values and new ones. I tried adding such a conversion to row_build(), but then I noticed that more conversions would be needed, because old values still appeared in a freshly rebuilt secondary index, causing a mismatch when trying to search with the correct longer value that was converted in my provisional fix to row_build(). So, we will revert the essential part of MDEV-15563: Instant ROW_FORMAT=REDUNDANT column extension (commit 22feb179ae166500ec91feec6246c8154e33f9a2), but not remove any tests.
Diffstat (limited to 'sql/sql_priv.h')
-rw-r--r--sql/sql_priv.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h
index 00d1616df1e..dab7a3161be 100644
--- a/sql/sql_priv.h
+++ b/sql/sql_priv.h
@@ -358,11 +358,6 @@
data dictionary without changing table rows
*/
#define IS_EQUAL_PACK_LENGTH 2
-/**
- new_field has a representation that is compatible with the old type
- when the storage engine advertises HA_EXTENDED_TYPES_CONVERSION
-*/
-#define IS_EQUAL_PACK_LENGTH_EXT 3
enum enum_parsing_place
{