File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -2370,5 +2370,11 @@ DROP TABLE t1;
2370
2370
DROP TABLE t1;
2371
2371
SET SQL_MODE=DEFAULT;
2372
2372
#
2373
+ # MDEV-27673 Warning after "select progress from information_schema.processlist"
2374
+ #
2375
+ select progress from information_schema.processlist limit 1;
2376
+ progress
2377
+ 0.000
2378
+ #
2373
2379
# End of 10.3 tests
2374
2380
#
Original file line number Diff line number Diff line change @@ -2104,7 +2104,10 @@ DROP TABLE t1;
2104
2104
DROP TABLE t1;
2105
2105
SET SQL_MODE=DEFAULT;
2106
2106
2107
-
2107
+ --echo #
2108
+ --echo # MDEV-27673 Warning after "select progress from information_schema.processlist"
2109
+ --echo #
2110
+ select progress from information_schema.processlist limit 1;
2108
2111
2109
2112
--echo #
2110
2113
--echo # End of 10.3 tests
Original file line number Diff line number Diff line change @@ -8803,6 +8803,7 @@ bool optimize_schema_tables_memory_usage(List<TABLE_LIST> &tables)
8803
8803
if (bitmap_is_set (table->read_set , i))
8804
8804
{
8805
8805
field->move_field (cur);
8806
+ field->reset ();
8806
8807
*to_recinfo++= *from_recinfo;
8807
8808
cur+= from_recinfo->length ;
8808
8809
}
@@ -8823,6 +8824,7 @@ bool optimize_schema_tables_memory_usage(List<TABLE_LIST> &tables)
8823
8824
table->s ->reclength = to_recinfo->length = 1 ;
8824
8825
to_recinfo++;
8825
8826
}
8827
+ store_record (table, s->default_values );
8826
8828
p->recinfo = to_recinfo;
8827
8829
8828
8830
// TODO switch from Aria to Memory if all blobs were optimized away?
You can’t perform that action at this time.
0 commit comments