diff options
author | Igor Babaev <igor@askmonty.org> | 2019-02-14 22:07:33 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2019-02-14 22:07:33 -0800 |
commit | 98d55b1366746a2b4750da9e8781f66b0d01ed85 (patch) | |
tree | ff062a3ec4e6a760d5c45e9db4f1fd292cfadbbe /sql/sql_priv.h | |
parent | ccce4d3be9bb5dfce66576f9744bcb927b754cf4 (diff) | |
parent | 282ba973e748456a829eecf1b49fb352870c6a8f (diff) | |
download | mariadb-git-98d55b1366746a2b4750da9e8781f66b0d01ed85.tar.gz |
Merge branch '10.4' into bb-10.4-mdev16188
Diffstat (limited to 'sql/sql_priv.h')
-rw-r--r-- | sql/sql_priv.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h index 8a439498df1..00d1616df1e 100644 --- a/sql/sql_priv.h +++ b/sql/sql_priv.h @@ -1,5 +1,5 @@ /* Copyright (c) 2000, 2018, Oracle and/or its affiliates. - Copyright (c) 2010, 2018, Monty Program Ab. + Copyright (c) 2010, 2019, MariaDB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -348,11 +348,21 @@ #ifndef MYSQL_CLIENT /* - Some defines for exit codes for ::is_equal class functions. + Field::is_equal() return codes. */ #define IS_EQUAL_NO 0 #define IS_EQUAL_YES 1 +/** + new_field has compatible packed representation with old type, + so it is theoretically possible to perform change by only updating + 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 { |