Commit be123fe5 authored by miguel@hegel.local's avatar miguel@hegel.local

Fix VC++ compiler error

parent 9724a259
......@@ -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= my_malloc(1, MYF(MY_WME))))
if (!(table->record_pointers= (uchar*) my_malloc(1, MYF(MY_WME))))
goto err;
table->found_records= 0;
goto end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment