diff options
author | unknown <dlenev@mysql.com> | 2005-01-18 17:04:16 +0300 |
---|---|---|
committer | unknown <dlenev@mysql.com> | 2005-01-18 17:04:16 +0300 |
commit | b1a0f67a03e782495e027588c7c7bc204f0a82b6 (patch) | |
tree | ba4ac7a22bf24436c9fa3c06cda870301965b7f5 /sql/net_serv.cc | |
parent | 15017480a7d7aba65df4fcab00a922aa8fc0cf01 (diff) | |
download | mariadb-git-b1a0f67a03e782495e027588c7c7bc204f0a82b6.tar.gz |
Clean up in implementation of f_is_geom()/f_is_bitfield()/f_is_enum()
macros.
It does not fixes any bugs in 4.0. But it prevents from future error in
any bugfixes that may use these macros. Also after merging into 4.1 tree
this cleanup will fix bug #7884 "Able to add invalid unique index on
TIMESTAMP prefix".
sql/field.h:
Since FIELDFLAG_INTERVAL, FIELDFLAG_BITFIELD, FIELDFLAG_BLOB and
FIELDFLAG_GEOM flags occupy the same space as number of decimals for
FIELDFLAG_NUMBER fields, it is safer to check in "f_is_geom()"-type
macros that we have non-number field, like we already do in f_is_blob()
macro.
Diffstat (limited to 'sql/net_serv.cc')
0 files changed, 0 insertions, 0 deletions