1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix an erronous cast for GCC introduced for to fix VC++ compiler error

This commit is contained in:
miguel@hegel.local
2003-08-05 22:57:44 -03:00
parent be123fe5a7
commit 27fde36d15

View File

@ -5333,7 +5333,7 @@ create_sort_index(JOIN_TAB *tab,ORDER *order,ha_rows select_limit)
Impossible range (for example lookup on NULL on not null field)
Create empty result set
*/
if (!(table->record_pointers= (uchar*) my_malloc(1, MYF(MY_WME))))
if (!(table->record_pointers= (byte*) my_malloc(1, MYF(MY_WME))))
goto err;
table->found_records= 0;
goto end;