diff options
author | unknown <monty@hundin.mysql.fi> | 2002-10-16 10:32:45 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-10-16 10:32:45 +0300 |
commit | b3e3a09e726501dc1147563725dc80f718467e70 (patch) | |
tree | b2749496347a8bc7352927d95fef69660bb47fe3 /sql/field.h | |
parent | cba8acc1af1e4874fafe0955e57815c0f8c2b5ad (diff) | |
download | mariadb-git-b3e3a09e726501dc1147563725dc80f718467e70.tar.gz |
Fixed bug in LEFT JOIN ... WHERE not_null_key_column=NULL;
Docs/manual.texi:
ChangeLog
sql/field.h:
New virtual function to set a field to null or signal an error
sql/field_conv.cc:
New function to set a field to null or signal an error
sql/item.cc:
When setting a field to null internally (for WHERE testing) don't autoconvert NULL -> now() or last_insert_id()
sql/item.h:
New virtual function to set a field to null or signal an error
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h index b138eb772d8..e822f6a71d6 100644 --- a/sql/field.h +++ b/sql/field.h @@ -1043,6 +1043,7 @@ Field *make_field(char *ptr, uint32 field_length, uint pack_length_to_packflag(uint type); uint32 calc_pack_length(enum_field_types type,uint32 length); bool set_field_to_null(Field *field); +bool set_field_to_null_with_conversions(Field *field); uint find_enum(TYPELIB *typelib,const char *x, uint length); ulonglong find_set(TYPELIB *typelib,const char *x, uint length); bool test_if_int(const char *str,int length); |