Commit 27fde36d authored by miguel@hegel.local's avatar miguel@hegel.local

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

parent be123fe5
...@@ -5333,7 +5333,7 @@ create_sort_index(JOIN_TAB *tab,ORDER *order,ha_rows select_limit) ...@@ -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) Impossible range (for example lookup on NULL on not null field)
Create empty result set 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; goto err;
table->found_records= 0; table->found_records= 0;
goto end; 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