diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2006-07-04 11:43:06 +0200 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2006-07-04 11:43:06 +0200 |
commit | 8597f663482b125736e34f77a19d35fa26e309fe (patch) | |
tree | a204ffab993ad6cc9a81aea8c74c6ac44b80b5c0 /sql/handler.h | |
parent | c8ddbe6d2fad3d268bfadfd295f8bb7e7041097e (diff) | |
download | mariadb-git-8597f663482b125736e34f77a19d35fa26e309fe.tar.gz |
Bug #20784 Uninitialized memory in update on table with PK not on first column
- partial backport of code from 5.1, do cot compare_record for engines that do not read all columns during update
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 31aac075a5e..aada647e071 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -57,6 +57,7 @@ see mi_rsame/heap_rsame/myrg_rsame */ #define HA_READ_RND_SAME (1 << 0) +#define HA_PARTIAL_COLUMN_READ (1 << 1) /* read may not return all columns */ #define HA_TABLE_SCAN_ON_INDEX (1 << 2) /* No separate data/index file */ #define HA_REC_NOT_IN_SEQ (1 << 3) /* ha_info don't return recnumber; It returns a position to ha_r_rnd */ |