mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
Use Field_longlong::store(longlong nr, bool unsigned_val) for ulonglong values
instead of Field_longlong::store(double nr).
This commit is contained in:
parent
58f2a6aa64
commit
35c75bebe6
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue