Commit 171bf938 authored by unknown's avatar unknown

Use Field_longlong::store(longlong nr, bool unsigned_val) for ulonglong values

instead of Field_longlong::store(double nr).

parent 83afcc9c
...@@ -2333,14 +2333,14 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables, ...@@ -2333,14 +2333,14 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables,
table->field[7]->store((longlong) file->records, TRUE); table->field[7]->store((longlong) file->records, TRUE);
table->field[7]->set_notnull(); table->field[7]->set_notnull();
} }
table->field[8]->store((longlong) file->mean_rec_length); table->field[8]->store((longlong) file->mean_rec_length, TRUE);
table->field[9]->store((longlong) file->data_file_length); table->field[9]->store((longlong) file->data_file_length, TRUE);
if (file->max_data_file_length) if (file->max_data_file_length)
{ {
table->field[10]->store((longlong) file->max_data_file_length); table->field[10]->store((longlong) file->max_data_file_length, TRUE);
} }
table->field[11]->store((longlong) file->index_file_length); table->field[11]->store((longlong) file->index_file_length, TRUE);
table->field[12]->store((longlong) file->delete_length); table->field[12]->store((longlong) file->delete_length, TRUE);
if (show_table->found_next_number_field) if (show_table->found_next_number_field)
{ {
table->field[13]->store((longlong) file->auto_increment_value, TRUE); table->field[13]->store((longlong) file->auto_increment_value, TRUE);
......
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