mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
Bug #45287: phase 2 : 5.0 64 bit compilation warnings
Fixed various compilation warnings when compiling on a 64 bit windows.
This commit is contained in:
parent
b7445ff687
commit
097c7b38c8
14 changed files with 40 additions and 38 deletions
|
|
@ -5988,15 +5988,15 @@ static bool update_schema_privilege(THD *thd, TABLE *table, char *buff,
|
|||
int i= 2;
|
||||
CHARSET_INFO *cs= system_charset_info;
|
||||
restore_record(table, s->default_values);
|
||||
table->field[0]->store(buff, strlen(buff), cs);
|
||||
table->field[0]->store(buff, (uint) strlen(buff), cs);
|
||||
if (db)
|
||||
table->field[i++]->store(db, strlen(db), cs);
|
||||
table->field[i++]->store(db, (uint) strlen(db), cs);
|
||||
if (t_name)
|
||||
table->field[i++]->store(t_name, strlen(t_name), cs);
|
||||
table->field[i++]->store(t_name, (uint) strlen(t_name), cs);
|
||||
if (column)
|
||||
table->field[i++]->store(column, col_length, cs);
|
||||
table->field[i++]->store(priv, priv_length, cs);
|
||||
table->field[i]->store(is_grantable, strlen(is_grantable), cs);
|
||||
table->field[i]->store(is_grantable, (uint) strlen(is_grantable), cs);
|
||||
return schema_table_store_record(thd, table);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue