mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Windows fixes for VC++ compiler compability
myisam/myisam_ftdump.c: VC++ compiler compability fix mysys/my_getsystime.c: Applied Sergei's code for Windows (still subject to changes by him) sql/handler.cc: VC++ compiler compability fix sql/item_geofunc.cc: Removed non-used variable sql/item_strfunc.cc: VC++ compiler compability fix sql/opt_range.cc: VC++ compiler compability fix sql/sql_insert.cc: VC++ compiler compability fix sql/sql_lex.cc: VC++ compiler compability fix sql/sql_parse.cc: VC++ compiler compability fix sql/sql_prepare.cc: VC++ compiler compability fix sql/sql_union.cc: Removed non-used variable and VC++ compiler compability fix
This commit is contained in:
@@ -1490,7 +1490,7 @@ int handler::compare_key(key_range *range)
|
||||
if (!range)
|
||||
return 0; // No max range
|
||||
|
||||
for (const char *key=range->key, *end=key+range->length;
|
||||
for (const char *key= (const char*) range->key, *end=key+range->length;
|
||||
key < end;
|
||||
key+= store_length, key_part++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user