mariadb/include
marko 64671e4473 branches/zip: Drop temporary tables at startup.
This addresses the third aspect of Bug #41609.

row_mysql_drop_temp_tables(): New function, to drop all temporary
tables. These can be distinguished by the least significant bit of
MIX_LEN. However, we will skip ROW_FORMAT=REDUNDANT tables, because in
the records for those tables, that bit may be garbage.

recv_recovery_from_checkpoint_finish(): Invoke
row_mysql_drop_temp_tables().  Normally, if the .frm files for the
temporary tables exist at startup, MySQL will ask InnoDB to drop the
temporary tables.  However, if the files are deleted, for instance, by
the boot scripts of the operating system, the tables would remain in
the InnoDB data dictionary unless someone digs them up by
innodb_table_monitor and creates .frm files for dropping the tables.

rb://221 approved by Sunny Bains.
2010-01-27 08:49:01 +00:00
..
btr0btr.h branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
btr0btr.ic branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
btr0cur.h branches/zip: non-functional changes 2009-10-13 14:23:35 +00:00
btr0cur.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
btr0pcur.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
btr0pcur.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
btr0sea.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
btr0sea.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
btr0types.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
buf0buddy.h branches/zip: Add Doxygen comments to the rest of buf0*. 2009-06-04 05:58:23 +00:00
buf0buddy.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
buf0buf.h branches/zip: Fix corruption of buf_pool->LRU_old and improve debug assertions. 2009-10-29 11:04:11 +00:00
buf0buf.ic branches/zip: Fix corruption of buf_pool->LRU_old and improve debug assertions. 2009-10-29 11:04:11 +00:00
buf0flu.h branches/zip rb://133 2009-07-08 15:11:40 +00:00
buf0flu.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
buf0lru.h branches/zip: Replace the constant 3/8 ratio that controls the LRU_old 2009-08-27 06:25:00 +00:00
buf0lru.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
buf0rea.h branches/zip 2009-08-27 15:20:35 +00:00
buf0types.h branches/zip rb://147 2009-08-27 15:00:27 +00:00
data0data.h branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
data0data.ic branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
data0type.h branches/zip: Add some Doxygen @return comments. 2009-05-27 05:08:43 +00:00
data0type.ic branches/zip: Add some Doxygen @return comments. 2009-05-27 05:08:43 +00:00
data0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
db0err.h branches/zip: Allow CREATE INDEX to be interrupted. (Issue #354) 2009-11-12 13:49:08 +00:00
dict0boot.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0boot.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0crea.h branches/zip: Replace <number> with NUMBER in some comments, 2009-08-05 10:06:55 +00:00
dict0crea.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0dict.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
dict0dict.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0load.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0load.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0mem.h branches/zip: Suppress errors about non-found temporary tables. 2009-11-30 10:50:11 +00:00
dict0mem.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dict0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
dyn0dyn.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
dyn0dyn.ic branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
eval0eval.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
eval0eval.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
eval0proc.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
eval0proc.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
fil0fil.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
fsp0fsp.h branches/zip: remove duplicate "the" in comments. 2009-08-06 22:04:03 +00:00
fsp0fsp.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
fsp0types.h branches/zip: Merge revisions 4994:5148 from branches/5.1: 2009-05-27 10:46:42 +00:00
fut0fut.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
fut0fut.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
fut0lst.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
fut0lst.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ha0ha.h branches/zip: ha_delete(): Remove this unused function that was 2009-06-30 09:30:14 +00:00
ha0ha.ic branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ha0storage.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ha0storage.ic branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
ha_prototypes.h branches/zip: Merge a change from MySQL: 2009-12-22 09:04:34 +00:00
handler0alter.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
hash0hash.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
hash0hash.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ibuf0ibuf.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
ibuf0ibuf.ic branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ibuf0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
lock0iter.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
lock0lock.h branches/zip: Merge revisions 6206:6350 from branches/5.1, 2009-12-22 10:33:01 +00:00
lock0lock.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
lock0priv.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
lock0priv.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
lock0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
log0log.h branches/zip rb://226 2010-01-14 18:46:00 +00:00
log0log.ic branches/zip: Introduce UNIV_LOG_LSN_DEBUG and MLOG_LSN for redo log 2009-09-16 07:07:21 +00:00
log0recv.h branches/zip: Minor changes which allow build with UNIV_HOTBACKUP 2009-12-03 16:32:47 +00:00
log0recv.ic branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
mach0data.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
mach0data.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
mem0dbg.h branches/zip: Treat mem_hash_mutex specially in mutex_free(), 2010-01-13 15:20:10 +00:00
mem0dbg.ic branches/zip: Treat mem_hash_mutex specially in mutex_free(), 2010-01-13 15:20:10 +00:00
mem0mem.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
mem0mem.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
mem0pool.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
mem0pool.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
mtr0log.h branches/zip: Minor changes for Hot Backup to build correctly. (The 2009-06-22 12:27:55 +00:00
mtr0log.ic branches/zip: Minor changes for Hot Backup to build correctly. (The 2009-06-22 12:27:55 +00:00
mtr0mtr.h branches/zip: Introduce UNIV_LOG_LSN_DEBUG and MLOG_LSN for redo log 2009-09-16 07:07:21 +00:00
mtr0mtr.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
mtr0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
mysql_addons.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
os0file.h branches/zip: Merge r6152:6159 from branches/5.1: 2009-11-11 13:33:49 +00:00
os0proc.h branches/zip: os_process_set_priority_boost(): Unused, remove. 2009-06-30 11:14:01 +00:00
os0proc.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
os0sync.h branches/zip: 2009-09-14 07:38:45 +00:00
os0sync.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
os0thread.h branches/zip: Declare os_thread_id_t as unsigned long, 2009-06-11 07:40:33 +00:00
os0thread.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
page0cur.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
page0cur.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
page0page.h branches/zip: Do not write to PAGE_INDEX_ID after page creation, 2009-09-28 07:52:25 +00:00
page0page.ic branches/zip: Change page_mem_alloc_free() to inline. 2009-10-14 21:29:01 +00:00
page0types.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
page0zip.h branches/zip: Do not write to PAGE_INDEX_ID after page creation, 2009-09-28 07:52:25 +00:00
page0zip.ic branches/zip: Add missing Doxygen comments for page0zip. 2009-06-04 09:37:35 +00:00
pars0grm.h branches/zip: 2009-02-17 09:24:40 +00:00
pars0opt.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
pars0opt.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
pars0pars.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
pars0pars.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
pars0sym.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
pars0sym.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
pars0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
que0que.h branches/zip: que_graph_try_free(): Unused, remove. 2009-06-30 10:19:49 +00:00
que0que.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
que0types.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
read0read.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
read0read.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
read0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
rem0cmp.h branches/zip: remove duplicate "the" in comments. 2009-08-06 22:04:03 +00:00
rem0cmp.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
rem0rec.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
rem0rec.ic branches/zip: remove duplicate "the" in comments. 2009-08-06 22:04:03 +00:00
rem0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0ext.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
row0ext.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0ins.h branches/zip: non-functional changes 2009-09-30 19:32:02 +00:00
row0ins.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0merge.h branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
row0mysql.h branches/zip: Drop temporary tables at startup. 2010-01-27 08:49:01 +00:00
row0mysql.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0purge.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
row0purge.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0row.h branches/zip: row_build_row_ref_from_row(): Unused, remove. 2009-06-30 10:28:11 +00:00
row0row.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0sel.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
row0sel.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0uins.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0uins.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0umod.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0umod.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0undo.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
row0undo.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0upd.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
row0upd.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0vers.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
row0vers.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
srv0que.h branches/zip: srv_que_task_queue_check(): Unused, remove. 2009-06-30 10:37:58 +00:00
srv0srv.h branches/zip: Merge revisions 6206:6350 from branches/5.1, 2009-12-22 10:33:01 +00:00
srv0srv.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
srv0start.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
sync0arr.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
sync0arr.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
sync0rw.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
sync0rw.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
sync0sync.h branches/zip: lock_rec_validate_page(): Only validate the record 2010-01-13 20:38:53 +00:00
sync0sync.ic branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
sync0types.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
thr0loc.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
thr0loc.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
trx0i_s.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
trx0purge.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
trx0purge.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
trx0rec.h branches/zip: trx_undo_rec_copy(): Add const qualifier to undo_rec. 2009-08-12 12:16:37 +00:00
trx0rec.ic branches/zip: trx_undo_rec_copy(): Add const qualifier to undo_rec. 2009-08-12 12:16:37 +00:00
trx0roll.h branches/zip: Roll back recovered dictionary transactions before 2009-09-10 10:29:46 +00:00
trx0roll.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
trx0rseg.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
trx0rseg.ic branches/zip: Merge revisions 4994:5148 from branches/5.1: 2009-05-27 10:46:42 +00:00
trx0sys.h branches/zip: Minor changes which allow build with UNIV_HOTBACKUP 2009-12-03 16:32:47 +00:00
trx0sys.ic branches/zip: remove duplicate "the" in comments. 2009-08-06 22:04:03 +00:00
trx0trx.h branches/zip: Merge a change from MySQL: 2009-12-22 09:04:34 +00:00
trx0trx.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
trx0types.h branches/zip: non-functional changes 2009-10-13 14:23:35 +00:00
trx0undo.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
trx0undo.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
trx0xa.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
univ.i branches/zip: Revert changes that were accidentally committed in r6271. 2009-12-02 09:46:05 +00:00
usr0sess.h branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
usr0sess.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
usr0types.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ut0auxconf.h branches/zip: 2009-09-12 06:43:45 +00:00
ut0byte.h branches/zip: ut_align(): Make ptr const, like in ut_align_down(). 2009-09-03 07:28:35 +00:00
ut0byte.ic branches/zip: ut_align(): Make ptr const, like in ut_align_down(). 2009-09-03 07:28:35 +00:00
ut0dbg.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ut0list.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ut0list.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ut0lst.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ut0mem.h branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
ut0mem.ic branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
ut0rnd.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00
ut0rnd.ic branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
ut0sort.h branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ut0ut.h branches/zip: ut0ut.h: Do not #include "os0sync.h" #ifdef UNIV_HOTBACKUP. 2009-09-15 10:26:01 +00:00
ut0ut.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ut0vec.h branches/zip: Add some Doxygen comments, mainly to structs, typedefs, 2009-05-25 12:09:24 +00:00
ut0vec.ic branches/zip: Add @file comments, and convert decorative 2009-05-25 09:52:29 +00:00
ut0wqueue.h branches/zip: Add some Doxygen comments for many structs, typedefs, 2009-05-26 12:28:49 +00:00