summaryrefslogtreecommitdiffstats
path: root/sql/field.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 13:22:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 13:22:53 +0000
commit347c164c35eddab388009470e6848cb361ac93f8 (patch)
tree2c0c44eac690f510bb0a35b2a13b36d606b77b6b /sql/field.h
parentReleasing progress-linux version 1:10.11.7-4~progress7.99u1. (diff)
downloadmariadb-347c164c35eddab388009470e6848cb361ac93f8.tar.xz
mariadb-347c164c35eddab388009470e6848cb361ac93f8.zip
Merging upstream version 1:10.11.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index 8563375f..16cf689d 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -63,6 +63,15 @@ enum enum_check_fields
CHECK_FIELD_ERROR_FOR_NULL,
};
+enum ignore_value_reaction
+{
+ IGNORE_MEANS_ERROR,
+ IGNORE_MEANS_DEFAULT,
+ IGNORE_MEANS_FIELD_VALUE
+};
+
+ignore_value_reaction find_ignore_reaction(THD *thd);
+
enum enum_conv_type
{
@@ -5745,7 +5754,8 @@ public:
{
List_iterator<Create_field> it(list);
while (Create_field *f= it++)
- f->type_handler()->Column_definition_implicit_upgrade(f);
+ f->type_handler()->type_handler_for_implicit_upgrade()->
+ Column_definition_implicit_upgrade_to_this(f);
}
};