Commit ee6c01a1 authored by unknown's avatar unknown

Fix VC++ compiler error

parent a35a0a24
......@@ -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