1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Windows fixes for VC++ compiler compability

This commit is contained in:
miguel@hegel.local
2004-05-05 02:59:17 -03:00
parent ee627d2510
commit 8d1480f7c5
11 changed files with 38 additions and 26 deletions

View File

@ -2612,12 +2612,12 @@ int QUICK_SELECT::get_next()
if (!(range= it++))
DBUG_RETURN(HA_ERR_END_OF_FILE); // All ranges used
start_key.key= range->min_key;
start_key.key= (const byte*) range->min_key;
start_key.length= range->min_length;
start_key.flag= ((range->flag & NEAR_MIN) ? HA_READ_AFTER_KEY :
(range->flag & EQ_RANGE) ?
HA_READ_KEY_EXACT : HA_READ_KEY_OR_NEXT);
end_key.key= range->max_key;
end_key.key= (const byte*) range->max_key;
end_key.length= range->max_length;
/*
We use READ_AFTER_KEY here because if we are reading on a key