1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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
This commit is contained in:
unknown
2006-07-04 11:43:06 +02:00
parent c8ddbe6d2f
commit 8597f66348
3 changed files with 25 additions and 4 deletions

View File

@@ -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 */