mariadb/include
marko bd237c4b63 branches/zip: Distinguish temporary tables in MLOG_FILE_CREATE.
This addresses Mantis Issue #23 in InnoDB Hot Backup and some
of MySQL Bug #41609.

In MLOG_FILE_CREATE, we need to distinguish temporary tables, so that
InnoDB Hot Backup can work correctly.  It turns out that we can do this
easily, by using a bit of the previously unused parameter for page number.
(The page number parameter of MLOG_FILE_CREATE has been written as 0 
ever since MySQL 4.1, which introduced MLOG_FILE_CREATE.)

MLOG_FILE_FLAG_TEMP: A flag for indicating a temporary table in
the page number parameter of MLOG_FILE_ operations.

fil_op_write_log(): Add the parameter log_flags.

fil_op_log_parse_or_replay(): Add the parameter log_flags.
Do not replay MLOG_FILE_CREATE when MLOG_FILE_FLAG_TEMP is set in log_flags.
This only affects ibbackup --apply-log.  InnoDB itself never replays file
operations.

rb://117 approved by Heikki Tuuri
2009-04-29 19:23:27 +00:00
..
btr0btr.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
btr0btr.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
btr0cur.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
btr0cur.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
btr0pcur.h
btr0pcur.ic
btr0sea.h
btr0sea.ic
btr0types.h
buf0buddy.h
buf0buddy.ic branches/zip: buf_buddy_get_slot(): Fix a gcc 4.3.2 warning 2009-02-18 15:04:03 +00:00
buf0buf.h branches/zip 2009-03-25 17:18:33 +00:00
buf0buf.ic branches/zip: Note that buf_page_t::list and buf_page_t::in_flush_list 2009-03-24 13:46:12 +00:00
buf0flu.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
buf0flu.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
buf0lru.h
buf0lru.ic
buf0rea.h
buf0types.h
data0data.h branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
data0data.ic branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
data0type.h branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
data0type.ic branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
data0types.h
db0err.h
dict0boot.h
dict0boot.ic
dict0crea.h branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
dict0crea.ic
dict0dict.h branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
dict0dict.ic branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
dict0load.h branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
dict0load.ic
dict0mem.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
dict0mem.ic
dict0types.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
dyn0dyn.h
dyn0dyn.ic
eval0eval.h
eval0eval.ic
eval0proc.h
eval0proc.ic
fil0fil.h branches/zip: Distinguish temporary tables in MLOG_FILE_CREATE. 2009-04-29 19:23:27 +00:00
fsp0fsp.h
fsp0fsp.ic
fut0fut.h
fut0fut.ic
fut0lst.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
fut0lst.ic
ha0ha.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
ha0ha.ic branches/zip: Define and use ASSERT_HASH_MUTEX_OWN. 2009-03-23 08:57:16 +00:00
ha0storage.h
ha0storage.ic
ha_prototypes.h branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
handler0alter.h
hash0hash.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
hash0hash.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
ibuf0ibuf.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
ibuf0ibuf.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
ibuf0types.h
lock0iter.h
lock0lock.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
lock0lock.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
lock0priv.h
lock0priv.ic
lock0types.h
log0log.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
log0log.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
log0recv.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
log0recv.ic branches/zip: Enclose recv_recovery_from_backup_on and 2009-03-23 12:05:18 +00:00
mach0data.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mach0data.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mem0dbg.h
mem0dbg.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mem0mem.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mem0mem.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mem0pool.h
mem0pool.ic
mtr0log.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mtr0log.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mtr0mtr.h branches/zip: Distinguish temporary tables in MLOG_FILE_CREATE. 2009-04-29 19:23:27 +00:00
mtr0mtr.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mtr0types.h
mysql_addons.h
os0file.h branches/zip: Exclude some operating system interface code 2009-03-23 10:20:50 +00:00
os0proc.h branches/zip: Remove unused function os_mem_alloc_nocache(). 2009-02-24 13:14:59 +00:00
os0proc.ic
os0sync.h branches/zip: Use the Windows Interlocked functions for atomic memory 2009-04-15 21:22:35 +00:00
os0sync.ic branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
os0thread.h
os0thread.ic
page0cur.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
page0cur.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
page0page.h branches/zip: Correct a misleading comment. PAGE_MAX_TRX_ID 2009-04-23 11:15:07 +00:00
page0page.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
page0types.h
page0zip.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
page0zip.ic branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
pars0grm.h
pars0opt.h
pars0opt.ic
pars0pars.h branches/zip: Merge revisions 4710:4746 from branches/5.1: 2009-04-17 20:50:09 +00:00
pars0pars.ic branches/zip: 2009-02-17 09:27:31 +00:00
pars0sym.h branches/zip: 2009-02-17 09:27:31 +00:00
pars0sym.ic branches/zip: 2009-02-17 09:27:31 +00:00
pars0types.h branches/zip: 2009-02-17 09:27:31 +00:00
que0que.h branches/zip: 2009-02-17 09:27:31 +00:00
que0que.ic branches/zip: 2009-02-17 09:27:31 +00:00
que0types.h branches/zip: 2009-02-17 09:27:31 +00:00
read0read.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
read0read.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
read0types.h branches/zip: 2009-02-17 09:29:55 +00:00
rem0cmp.h branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
rem0cmp.ic branches/zip: 2009-02-17 09:29:55 +00:00
rem0rec.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
rem0rec.ic branches/zip: Allow in-place updates of UTF-8 CHAR columns 2009-04-07 11:45:28 +00:00
rem0types.h branches/zip: 2009-02-17 09:29:55 +00:00
row0ext.h branches/zip: 2009-02-17 09:29:55 +00:00
row0ext.ic branches/zip: 2009-02-17 09:29:55 +00:00
row0ins.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0ins.ic branches/zip: 2009-02-17 09:29:55 +00:00
row0merge.h branches/zip: Refuse to use newly created indexes that may lack 2009-04-02 12:23:12 +00:00
row0mysql.h branches/zip: Refuse to use newly created indexes that may lack 2009-04-02 12:23:12 +00:00
row0mysql.ic branches/zip: 2009-02-17 09:33:38 +00:00
row0purge.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0purge.ic branches/zip: 2009-02-17 09:33:38 +00:00
row0row.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0row.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0sel.h branches/zip: 2009-02-17 09:33:38 +00:00
row0sel.ic branches/zip: 2009-02-17 09:33:38 +00:00
row0types.h branches/zip: 2009-02-17 09:33:38 +00:00
row0uins.h branches/zip: 2009-02-17 09:36:44 +00:00
row0uins.ic branches/zip: 2009-02-17 09:36:44 +00:00
row0umod.h branches/zip: 2009-02-17 09:36:44 +00:00
row0umod.ic branches/zip: 2009-02-17 09:36:44 +00:00
row0undo.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0undo.ic branches/zip: 2009-02-17 09:36:44 +00:00
row0upd.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0upd.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0vers.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
row0vers.ic branches/zip: 2009-02-17 09:36:44 +00:00
srv0que.h branches/zip: 2009-02-17 09:39:11 +00:00
srv0srv.h branches/zip: Mantis issue #197 - Make srv_spin_wait_delay configurable 2009-04-02 11:46:47 +00:00
srv0srv.ic branches/zip: 2009-02-17 09:39:11 +00:00
srv0start.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
sync0arr.h branches/zip: 2009-02-17 09:39:11 +00:00
sync0arr.ic branches/zip: 2009-02-17 09:39:11 +00:00
sync0rw.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
sync0rw.ic branches/zip 2009-04-07 14:45:37 +00:00
sync0sync.h branches/zip: Use the Windows Interlocked functions for atomic memory 2009-04-15 21:22:35 +00:00
sync0sync.ic branches/zip: Use the Windows Interlocked functions for atomic memory 2009-04-15 21:22:35 +00:00
sync0types.h branches/zip: 2009-02-17 09:39:11 +00:00
thr0loc.h branches/zip: 2009-02-17 09:39:11 +00:00
thr0loc.ic branches/zip: 2009-02-17 09:39:11 +00:00
trx0i_s.h branches/zip: 2009-02-17 09:39:11 +00:00
trx0purge.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0purge.ic branches/zip: 2009-02-17 09:41:24 +00:00
trx0rec.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0rec.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0roll.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0roll.ic branches/zip: 2009-02-17 09:41:24 +00:00
trx0rseg.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0rseg.ic branches/zip: 2009-02-17 09:41:24 +00:00
trx0sys.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0sys.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0trx.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0trx.ic branches/zip: Merge revisions 4359:4400 from branches/5.1: 2009-03-12 08:26:40 +00:00
trx0types.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0undo.h branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0undo.ic branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
trx0xa.h branches/zip: 2009-02-17 09:43:50 +00:00
univ.i branches/zip: univ.i: Define REFMAN as the base URL of the 2009-04-16 12:02:27 +00:00
usr0sess.h branches/zip: 2009-02-17 09:43:50 +00:00
usr0sess.ic branches/zip: 2009-02-17 09:43:50 +00:00
usr0types.h branches/zip: 2009-02-17 09:43:50 +00:00
ut0auxconf.h branches/zip: 2009-03-05 14:38:59 +00:00
ut0byte.h branches/zip: 2009-02-17 09:43:50 +00:00
ut0byte.ic branches/zip: 2009-02-17 09:43:50 +00:00
ut0dbg.h branches/zip: UT_DBG_STOP: Use do{} while(0) to silence a g++-4.3.2 warning 2009-02-18 15:01:09 +00:00
ut0list.h branches/zip: 2009-02-17 09:46:52 +00:00
ut0list.ic branches/zip: 2009-02-17 09:46:52 +00:00
ut0lst.h branches/zip: UT_LIST_VALIDATE(): Assert that the link is non-NULL 2009-03-16 10:59:25 +00:00
ut0mem.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
ut0mem.ic branches/zip: 2009-02-17 09:46:52 +00:00
ut0rnd.h branches/zip: 2009-02-17 09:46:52 +00:00
ut0rnd.ic branches/zip: 2009-02-17 09:46:52 +00:00
ut0sort.h branches/zip: 2009-02-17 09:46:52 +00:00
ut0ut.h branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
ut0ut.ic branches/zip: 2009-02-17 09:50:12 +00:00
ut0vec.h branches/zip: 2009-02-17 09:50:12 +00:00
ut0vec.ic branches/zip: 2009-02-17 09:50:12 +00:00
ut0wqueue.h branches/zip: 2009-02-17 09:50:12 +00:00