Commit cea9a03a authored by marko's avatar marko

branches/zip: Fix some function comments.

parent 5a20c7a8
...@@ -150,8 +150,8 @@ row_merge_create_index( ...@@ -150,8 +150,8 @@ row_merge_create_index(
/* out: index, or NULL on error */ /* out: index, or NULL on error */
trx_t* trx, /* in/out: trx (sets error_state) */ trx_t* trx, /* in/out: trx (sets error_state) */
dict_table_t* table, /* in: the index is on this table */ dict_table_t* table, /* in: the index is on this table */
const merge_index_def_t* /* in: the index definition */ const merge_index_def_t*index_def);
index_def); /* in: the index definition */
/************************************************************************* /*************************************************************************
Check if a transaction can use an index. */ Check if a transaction can use an index. */
UNIV_INTERN UNIV_INTERN
......
...@@ -50,14 +50,14 @@ a = 1103515245 (3^5 * 5 * 7 * 129749) ...@@ -50,14 +50,14 @@ a = 1103515245 (3^5 * 5 * 7 * 129749)
c = 12345 (3 * 5 * 823) c = 12345 (3 * 5 * 823)
m = 18446744073709551616 (2^64) m = 18446744073709551616 (2^64)
*/ */
#define LCG_a 1103515245
#define LCG_c 12345
static static
ib_uint64_t ib_uint64_t
page_cur_lcg_prng() page_cur_lcg_prng()
/*===============*/ /*===============*/
/* out: number between 0 and 2^64-1 */ /* out: number between 0 and 2^64-1 */
{ {
#define LCG_a 1103515245
#define LCG_c 12345
static ib_uint64_t lcg_current = 0; static ib_uint64_t lcg_current = 0;
static ibool initialized = FALSE; static ibool initialized = FALSE;
......
...@@ -3174,6 +3174,8 @@ page_zip_validate( ...@@ -3174,6 +3174,8 @@ page_zip_validate(
#endif /* UNIV_ZIP_DEBUG */ #endif /* UNIV_ZIP_DEBUG */
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
/**************************************************************************
Assert that the compressed and decompressed page headers match. */
static static
ibool ibool
page_zip_header_cmp( page_zip_header_cmp(
......
...@@ -2174,8 +2174,8 @@ row_merge_create_index( ...@@ -2174,8 +2174,8 @@ row_merge_create_index(
/* out: index, or NULL on error */ /* out: index, or NULL on error */
trx_t* trx, /* in/out: trx (sets error_state) */ trx_t* trx, /* in/out: trx (sets error_state) */
dict_table_t* table, /* in: the index is on this table */ dict_table_t* table, /* in: the index is on this table */
const merge_index_def_t* /* in: the index definition */ const merge_index_def_t*index_def)
index_def) /* in: the index definition */
{ {
dict_index_t* index; dict_index_t* index;
ulint err; ulint err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment