Commit 79e56016 authored by unknown's avatar unknown

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


sql/sql_select.cc:
  Fix the GCC compiler error introduced for the cast for VC++
parent 89dad4c9
......@@ -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;
......
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