diff options
author | brian@zim.(none) <> | 2006-12-01 17:26:52 -0800 |
---|---|---|
committer | brian@zim.(none) <> | 2006-12-01 17:26:52 -0800 |
commit | 31d67280f71b3ce47465c1844e09465e602522a4 (patch) | |
tree | 639841f522e1b6f8d34fa0aced9b6436eacaefe0 /sql/sql_insert.cc | |
parent | 082de8dfcee10c66ae0a23a88e501b5120f6625a (diff) | |
download | mariadb-git-31d67280f71b3ce47465c1844e09465e602522a4.tar.gz |
This finishes the work (someone) started to remove FIELD_ types and use the Enum MYSQL types. The second part to this is to actually deprecate the FIELD defines in mysql_com.h
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index dcb4152f64f..8d46fd4cfe8 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -1292,7 +1292,7 @@ int check_that_all_fields_are_given_values(THD *thd, TABLE *entry, { if (!bitmap_is_set(write_set, (*field)->field_index) && ((*field)->flags & NO_DEFAULT_VALUE_FLAG) && - ((*field)->real_type() != FIELD_TYPE_ENUM)) + ((*field)->real_type() != MYSQL_TYPE_ENUM)) { bool view= FALSE; if (table_list) |