mariadb/include
marko 8f18616ef0 Reindent the code base (except for ha_innodb.{cc,h} and generated parser
and lexer files).  From now on, the following Emacs cc-mode settings apply
when indenting C function bodies in InnoDB:

(setq c-basic-offset 8)
(setq c-label-minimum-indentation 0)
(add-to-list 'c-offsets-alist '(c . 0))
(add-to-list 'c-offsets-alist '(label . [0]))

The indentation rules for function declarations still have not been
formalized, and they must be formatted manually.

Try to limit all lines to at most 79 characters (assuming TAB stops every
8 characters) by splitting lines before opening parenthesis, or at
string constants.

Fix some grammar mistakes in diagnostic output:
 match to, match with -> match
 found from -> found in
 trying rename -> trying to rename

Fix an error in page_check_dir(): it said "supremum not pointed to"
when the infimum was not pointed to.

Enclose commented-out code snippets in #if 0 ... #endif instead of /* ... */.
Add (void*) casts to some %p parameters in fprintf() calls.  Try to
split lines before a binary operator, not after one.  (These three fixes
were not made everywhere.)
2006-08-28 17:42:45 +00:00
..
btr0btr.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
btr0btr.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
btr0cur.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
btr0cur.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
btr0pcur.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
btr0pcur.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
btr0sea.h Disable the statistics variables btr_search_n_hash_fail and 2006-04-03 11:28:43 +00:00
btr0sea.ic Port r152 from branches/5.0: Account for a race condition when dropping the 2006-01-24 12:13:44 +00:00
btr0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
buf0buf.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
buf0buf.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
buf0flu.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
buf0flu.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
buf0lru.h Merge r328:340 from branches/5.0: 2006-03-17 08:20:14 +00:00
buf0lru.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
buf0rea.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
buf0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
data0data.h dfield_print_raw(): Make static. Print at most 1000 bytes to avoid 2006-08-17 12:46:19 +00:00
data0data.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
data0type.h dtype_get_max_size(): Remove UNIV_INLINE qualifier, as the function is 2006-06-09 19:57:03 +00:00
data0type.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
data0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
db0err.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
dict0boot.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
dict0boot.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
dict0crea.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
dict0crea.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
dict0dict.h Make dict_remove_db_name non-static. 2006-06-01 09:25:31 +00:00
dict0dict.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
dict0load.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
dict0load.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
dict0mem.h Add max_row_size to dict_table_t. 2006-05-26 05:52:59 +00:00
dict0mem.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
dict0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
dyn0dyn.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
dyn0dyn.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
eval0eval.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
eval0eval.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
eval0proc.h Port r371 and r372 from branches/fts: 2006-03-28 06:41:31 +00:00
eval0proc.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
fil0fil.h Improve the documentation of FIL_PAGE_PREV, FIL_PAGE_NEXT, 2006-05-11 12:44:01 +00:00
fsp0fsp.h Improve the comments of the space low address map. 2006-05-05 11:28:25 +00:00
fsp0fsp.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
fut0fut.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
fut0fut.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
fut0lst.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
fut0lst.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
ha0ha.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ha0ha.ic Fix comments for memory allocation functions and add some extra checks. 2005-11-04 14:20:11 +00:00
ha_prototypes.h Add innobase_convert_string wrapper function to ha_innodb.cc, and a new file 2006-05-11 04:51:52 +00:00
hash0hash.h Port parts of r262 from branches/fts: 2006-03-10 11:01:41 +00:00
hash0hash.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ibuf0ibuf.h ibuf_count_get(), ibuf_counts[], ibuf_counts_inited: Define these only 2006-05-05 11:39:44 +00:00
ibuf0ibuf.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
ibuf0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
lock0lock.h Print approximate number or record locks (bits set in the bitmap) for 2006-03-29 07:18:44 +00:00
lock0lock.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
lock0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
log0log.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
log0log.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
log0recv.h Remove all traces of the obsolete concept of replicate spaces. 2006-08-16 08:01:37 +00:00
log0recv.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
mach0data.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
mach0data.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
Makefile.i Add 5.0 -> 5.1 changes. 2005-10-27 07:51:34 +00:00
mem0dbg.h Change ut_print_buf() and mem_analyze_corruption() to take a void*, not a 2006-03-06 09:45:04 +00:00
mem0dbg.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
mem0mem.h Add mem_heap_printf() and mem_heap_cat(). 2006-05-11 04:55:18 +00:00
mem0mem.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
mem0pool.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
mem0pool.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
mtr0log.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
mtr0log.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
mtr0mtr.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
mtr0mtr.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
mtr0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
os0file.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
os0proc.h Fix invalid brace positioning and spaces before tabs. 2006-02-24 09:53:01 +00:00
os0proc.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
os0sync.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
os0sync.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
os0thread.h Make 'thread_id' parameter in os_thread_create() optional. 2006-04-21 12:06:23 +00:00
os0thread.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
page0cur.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
page0cur.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
page0page.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
page0page.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
page0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
pars0grm.h Changes to InnoDB's SQL parser: 2006-05-31 05:34:18 +00:00
pars0opt.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
pars0opt.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
pars0pars.h Changes to InnoDB's SQL parser: 2006-05-31 05:34:18 +00:00
pars0pars.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
pars0sym.h Add support for bound ids in InnoDB's SQL parser. 2006-05-08 05:13:09 +00:00
pars0sym.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
pars0types.h Add support for bound ids in InnoDB's SQL parser. 2006-05-08 05:13:09 +00:00
que0que.h Add support for lock waits in the SQL parser. 2006-06-08 06:08:23 +00:00
que0que.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
que0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
read0read.h Remove trailing whitespaces and fix style on function comments. 2006-03-02 07:57:10 +00:00
read0read.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
read0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
rem0cmp.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
rem0cmp.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
rem0rec.h Improve the documentation of FIL_PAGE_PREV, FIL_PAGE_NEXT, 2006-05-11 12:44:01 +00:00
rem0rec.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
rem0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0ins.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
row0ins.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0mysql.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0mysql.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0purge.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0purge.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0row.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
row0row.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0sel.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0sel.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
row0uins.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
row0uins.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0umod.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
row0umod.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0undo.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0undo.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
row0upd.h Port parts of r297 from branches/fts: 2006-03-10 11:06:33 +00:00
row0upd.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
row0vers.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
row0vers.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
srv0que.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
srv0srv.h Merge a change from MySQL AB (originally implemented by Marko 2006-08-11 08:05:40 +00:00
srv0srv.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
srv0start.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
sync0arr.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
sync0arr.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
sync0rw.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
sync0rw.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
sync0sync.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
sync0sync.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
sync0types.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
thr0loc.h Import 5.0 code. 2005-10-27 07:29:40 +00:00
thr0loc.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
trx0purge.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
trx0purge.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
trx0rec.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
trx0rec.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0roll.h Add platform-specific os_thread_ret_t and OS_THREAD_DUMMY_RETURN, and 2006-04-21 12:09:12 +00:00
trx0roll.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
trx0rseg.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
trx0rseg.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0sys.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
trx0sys.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0trx.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0trx.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
trx0undo.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0undo.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx0xa.h Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
univ.i Revert r622 (innodb_sql table) as it was decided it's not appropriate for 2006-06-09 06:37:41 +00:00
usr0sess.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
usr0sess.ic Import 5.0 code. 2005-10-27 07:29:40 +00:00
usr0types.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0byte.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0byte.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
ut0dbg.h Implement InnoDB assertions (ut_a and ut_error) with abort() when 2006-05-22 08:11:38 +00:00
ut0list.h Add ib_list_create_heap(). 2006-05-18 10:02:01 +00:00
ut0list.ic Add a normal linked-list implementation. 2006-04-26 11:58:07 +00:00
ut0lst.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0mem.h Port parts of r211 from branches/fts: 2006-03-10 11:00:58 +00:00
ut0mem.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0rnd.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0rnd.ic Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
ut0sort.h Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0ut.h Document better the "bool table_id" flags introduced in r590. 2006-05-31 07:35:02 +00:00
ut0ut.ic Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
ut0vec.h Rename ib_vector typedef to ib_vector_t. 2006-04-06 10:02:44 +00:00
ut0vec.ic Rename ib_vector typedef to ib_vector_t. 2006-04-06 10:02:44 +00:00
ut0wqueue.h Add a work queue implementation. 2006-04-26 12:14:50 +00:00