1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization

This commit is contained in:
monty@mysql.com
2005-10-25 02:27:40 +03:00
parent ea3ea9ed10
commit 3e653fb922
15 changed files with 170 additions and 182 deletions

View File

@ -170,9 +170,9 @@ int heap_create(const char *name, uint keys, HP_KEYDEF *keydef,
static int keys_compare(heap_rb_param *param, uchar *key1, uchar *key2)
{
uint not_used;
uint not_used[2];
return ha_key_cmp(param->keyseg, key1, key2, param->key_length,
param->search_flag, &not_used);
param->search_flag, not_used);
}
static void init_block(HP_BLOCK *block, uint reclength, ulong min_records,