797
788
#define f_is_alpha(x) (!f_is_num(x))
798
789
#define f_is_binary(x) ((x) & FIELDFLAG_BINARY) // 4.0- compatibility
799
790
#define f_is_enum(x) (((x) & (FIELDFLAG_INTERVAL | FIELDFLAG_NUMBER)) == FIELDFLAG_INTERVAL)
801
791
#define f_is_blob(x) (((x) & (FIELDFLAG_BLOB | FIELDFLAG_NUMBER)) == FIELDFLAG_BLOB)
802
792
#define f_is_equ(x) ((x) & (1+2+FIELDFLAG_PACK+31*256))
804
794
#define f_maybe_null(x) (x & FIELDFLAG_MAYBE_NULL)
805
795
#define f_no_default(x) (x & FIELDFLAG_NO_DEFAULT)
807
796
#define f_is_hex_escape(x) ((x) & FIELDFLAG_HEX_ESCAPE)