diff options
author | unknown <monty@donna.mysql.fi> | 2001-04-10 11:32:28 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-04-10 11:32:28 +0300 |
commit | 92de72694b78d41980c48b8a6fedf10f153bb56e (patch) | |
tree | 95bbcccc6e046548f22eead9222fdd1cce980d1e /sql/opt_range.h | |
parent | c7105d8008aa42e90e830ede25e7cbf0c22893c0 (diff) | |
download | mariadb-git-92de72694b78d41980c48b8a6fedf10f153bb56e.tar.gz |
Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
Docs/manual.texi:
Updated replication section
mysql-test/r/null_key.result:
Added test UPDATE/DELETE with IS NULL on unique key
mysql-test/t/null_key.test:
Added test UPDATE/DELETE with IS NULL on unique key
mysys/Makefile.am:
Removed -f from $CP as this is not portable
Fixed rule for testhash
sql/field.cc:
Safety fix
sql/opt_range.cc:
Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
sql/opt_range.h:
Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index 2005773eca7..247dd260817 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -30,6 +30,7 @@ #define NEAR_MAX 8 #define UNIQUE_RANGE 16 #define EQ_RANGE 32 +#define NULL_RANGE 64 typedef struct st_key_part { uint16 key,part,part_length; |