diff options
author | monty@mysql.com <> | 2003-12-12 22:26:58 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2003-12-12 22:26:58 +0200 |
commit | f995a5f4aa919d6d229d29fb652a263d8c816430 (patch) | |
tree | 771f288d33d415cb8e3d292f33e46fdb512d9dff /include | |
parent | fddab846d4f3658b3488cbec43c7d16f07f14594 (diff) | |
download | mariadb-git-f995a5f4aa919d6d229d29fb652a263d8c816430.tar.gz |
Fix autoincrement for signed columns (Bug #1366)
Fixed problem with char > 128 in QUOTE() function. (Bug #1868)
Disable creation of symlinks if my_disable_symlink is set
Fixed searching of TEXT with end space. (Bug #1651)
Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711)
Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998)
Fixed timestamp.test
Diffstat (limited to 'include')
-rw-r--r-- | include/my_base.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/my_base.h b/include/my_base.h index 91a248cd401..5344d876f99 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -180,11 +180,17 @@ enum ha_base_keytype { /* poor old NISAM has 8-bit flags :-( */ #define HA_SORT_ALLOWS_SAME 128 /* Intern bit when sorting records */ #endif +/* + Key has a part that can have end space. If this is an unique key + we have to handle it differently from other unique keys as we can find + many matching rows for one key (becaue end space are not compared) +*/ +#define HA_END_SPACE_KEY 4096 - /* These flags can be order to key-seg-flag */ + /* These flags can be added to key-seg-flag */ #define HA_SPACE_PACK 1 /* Pack space in key-seg */ -#define HA_PART_KEY 4 /* Used by MySQL for part-key-cols */ +#define HA_PART_KEY_SEG 4 /* Used by MySQL for part-key-cols */ #define HA_VAR_LENGTH 8 #define HA_NULL_PART 16 #define HA_BLOB_PART 32 |