- 25 May, 2009 9 commits
-
-
marko authored
macros and global variables. Many more to go.
-
marko authored
to prevent bogus Doxygen errors.
-
marko authored
that is, make Doxygen ignore these test programs.
-
marko authored
/********************************* comments to Doxygen /** style like this: /*****************************//** This conversion was performed by the following command: perl -i -e 'while(<ARGV>){if (m|^/\*{30}\**$|) { s|\*{4}$|//**| if ++$com>1; $_ .= "\@file $ARGV\n" if $com==2} print; if(eof){$.=0;undef $com}}' */*[ch] include/univ.i
-
marko authored
-
marko authored
This is to avoid triggering an error in Doxygen.
-
marko authored
-
marko authored
-
marko authored
This patch was created by running the following commands: for i in */*[ch]; do doxygenify.pl $i; done perl -i -pe 's#\*{3} \*/$#****/#' */*[ch] where doxygenify.pl is https://svn.innodb.com/svn/misc/trunk/tools/doxygenify.pl r510 Verified the consistency as follows: (0) not too many /* in: */ or /* out: */ comments left in the code: grep -l '/\*\s*\(in\|out\)[,:/]' */*[ch] (1) no difference when ignoring blank lines, after stripping all C90-style /* comments */, including multi-line ones, before and after applying this patch: perl -i -e 'undef $/;while(<ARGV>){s#/\*(.*?)\*/##gs;print}' */*[ch] diff -I'^\s*$' --exclude .svn -ru TREE1 TREE2 (2) after stripping @return comments and !<, generated a diff and omitted the hunks where /* out: */ function return comments were removed: perl -i -e'undef $/;while(<ARGV>){s#!<##g;s#\n\@return\t.*?\*/# \*/#gs;print}'\ */*[ch] svn diff| perl -e 'undef $/;$_=<>;s#\n-\s*/\* out[:,]([^\n]*?)(\n-[^\n]*?)*\*/##gs;print' Some unintended changes were left. These will be removed in a subsequent patch.
-
- 21 May, 2009 1 commit
-
-
vasil authored
Whitespace fixup.
-
- 20 May, 2009 18 commits
-
-
marko authored
-
marko authored
-
marko authored
Document the function parameters.
-
marko authored
-
marko authored
-
marko authored
now that the function was declared void in r5060.
-
marko authored
-
marko authored
-
marko authored
-
marko authored
-
marko authored
-
marko authored
srv0start.c does not (any longer) call memcmp. srv_parse_megabytes(): Add a function comment.
-
marko authored
-
marko authored
-
marko authored
-
marko authored
and add a const qualifier that was missing.
-
marko authored
-
marko authored
-
- 19 May, 2009 9 commits
-
-
marko authored
-
marko authored
transactions that are started before the rollback of incomplete transactions has finished may have an inconsistent view of the secondary indexes. dict_index_is_sec_or_ibuf(): Auxiliary function for controlling updates and checks of PAGE_MAX_TRX_ID: check whether an index is a secondary index or the insert buffer tree. page_set_max_trx_id(), page_update_max_trx_id(), lock_rec_insert_check_and_lock(), lock_sec_rec_modify_check_and_lock(), btr_cur_ins_lock_and_undo(), btr_cur_upd_lock_and_undo(): Add the parameter mtr. page_set_max_trx_id(): Allow mtr to be NULL. When mtr==NULL, do not attempt to write to the redo log. This only occurs when creating a page or reorganizing a compressed page. In these cases, the PAGE_MAX_TRX_ID will be set correctly during the application of redo log records, even though there is no explicit log record about it. btr_discard_only_page_on_level(): Preserve PAGE_MAX_TRX_ID. This function should be unreachable, though. btr_cur_pessimistic_update(): Update PAGE_MAX_TRX_ID. Add some assertions for checking that PAGE_MAX_TRX_ID is set on all secondary index leaf pages. rb://115 tested by Michael, fixes Issue #211
-
marko authored
-
marko authored
-
marko authored
function declarations from <atomic.h>. Call the functions with proper arguments.
-
marko authored
-
marko authored
-
marko authored
-
marko authored
Add missing out: comments.
-
- 18 May, 2009 3 commits
-
-
marko authored
correctly estimate the free space on the compressed page by page_zip_available(..., create=TRUE). This was reported as Issue #231. btr_cur_update_alloc_zip(): Add the parameter ibool create and pass it to page_zip_available(). The parameter was previously passed as 0. btr_cur_optimistic_update(): Pass create=TRUE to btr_cur_update_alloc_zip(). rb://120 approved by Heikki Tuuri
-
marko authored
-
marko authored
-