mariadb/storage/heap
Sergei Golubchik e64084d5a3 MDEV-21201 No records produced in information_schema query, depending on projection
Reimplement MDEV-14275 Improving memory utilization for information schema

Postpone temp table instantiation until after setup_fields().

Replace all unused (not marked in read_set) columns in an I_S table
with CHAR(0). This can drastically reduce the footprint of a MEMORY
table (a TABLE_CATALOG alone is 1538 bytes per row).

This does not change the engine. If the table was decided to be Aria
(because of, say, blobs) then after optimization it'll stay Aria
even if all blobs were removed.

Note 1: when transforming table structure, share->blob_fields is
preserved, otherwise Aria might switch from DYNAMIC to STATIC row format
and expect a special field for a deleted mark, which create_tmp_tabe
didn't provide.

Note 2: optimizer was doing handler::info() (to know the number of rows)
before the temp table is populated. That didn't make much sense. Now
it's done before the table is even instantiated. Preserve the old
behavior and report 0 rows.

This reverts e2664ee836 and a8458a2345
2020-10-23 13:37:26 +02:00
..
mysql-test/mtr2 overlay support for mysql-test-run and mysqltest 2012-02-23 07:50:11 +01:00
_check.c Merge 5.5 into 10.1 2019-11-06 08:17:03 +02:00
_rectest.c Update FSF Address 2019-05-11 21:29:06 +03:00
ChangeLog Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
CMakeLists.txt Update FSF Address 2019-05-11 21:29:06 +03:00
ha_heap.cc MDEV-21201 No records produced in information_schema query, depending on projection 2020-10-23 13:37:26 +02:00
ha_heap.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
heapdef.h imporve clang build 2019-06-25 13:21:36 +03:00
hp_block.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
hp_clear.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
hp_close.c MDEV-18783 - Server crash in hp_rb_make_key 2019-10-30 12:52:19 +04:00
hp_create.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_delete.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
hp_extra.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_hash.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
hp_info.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_open.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_panic.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_rename.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_rfirst.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_rkey.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_rlast.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_rnext.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_rprev.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_rrnd.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_rsame.c Update FSF Address 2019-05-11 21:29:06 +03:00
hp_scan.c MDEV-15458 Segfault in heap_scan() upon UPDATE after ADD SYSTEM VERSIONING 2019-08-20 15:37:08 +02:00
hp_static.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_test1.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_test2.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
hp_update.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
hp_write.c MDEV-15458 Segfault in heap_scan() upon UPDATE after ADD SYSTEM VERSIONING 2019-05-17 13:53:22 +02:00