diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-08-24 14:49:04 +0300 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-08-24 14:49:04 +0300 |
commit | 22bcce253e9f964bfec8d72f42ae55ab22e1228f (patch) | |
tree | 4d409fd73ae891c66dbcf263464ce85138312dac /sql/unireg.cc | |
parent | fdb3bcc5c7d4f45f7ad98ab7c05b2e33c02b41d9 (diff) | |
download | mariadb-git-22bcce253e9f964bfec8d72f42ae55ab22e1228f.tar.gz |
Adding a necessary functionality to ::store and ::save_in_field
that will take place properly after pull from 4.0, in order to
handle conversions from quoted constants to bigint's.
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index f2d8d6532a9..57a1407ea06 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -590,7 +590,7 @@ static bool make_empty_rec(File file,enum db_type table_type, if (field->def && (regfield->real_type() != FIELD_TYPE_YEAR || field->def->val_int() != 0)) - field->def->save_in_field(regfield); + (void) field->def->save_in_field(regfield); else if (regfield->real_type() == FIELD_TYPE_ENUM && (field->flags & NOT_NULL_FLAG)) { |