Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cea9a03a
Commit
cea9a03a
authored
May 20, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Fix some function comments.
parent
5a20c7a8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
include/row0merge.h
include/row0merge.h
+4
-4
page/page0cur.c
page/page0cur.c
+2
-2
page/page0zip.c
page/page0zip.c
+2
-0
row/row0merge.c
row/row0merge.c
+4
-4
No files found.
include/row0merge.h
View file @
cea9a03a
...
@@ -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
...
...
page/page0cur.c
View file @
cea9a03a
...
@@ -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
;
...
...
page/page0zip.c
View file @
cea9a03a
...
@@ -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
(
...
...
row/row0merge.c
View file @
cea9a03a
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment