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
bbdb0f41
Commit
bbdb0f41
authored
Feb 20, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix all function declarations to have the correct number of '=' characters.
parent
3c7bed8c
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
59 additions
and
59 deletions
+59
-59
btr/btr0btr.c
btr/btr0btr.c
+1
-1
buf/buf0buf.c
buf/buf0buf.c
+1
-1
fil/fil0fil.c
fil/fil0fil.c
+1
-1
fsp/fsp0fsp.c
fsp/fsp0fsp.c
+1
-1
handler/ha_innodb.cc
handler/ha_innodb.cc
+1
-1
ibuf/ibuf0ibuf.c
ibuf/ibuf0ibuf.c
+2
-2
include/btr0btr.h
include/btr0btr.h
+1
-1
include/buf0buf.h
include/buf0buf.h
+1
-1
include/dict0dict.h
include/dict0dict.h
+1
-1
include/dict0dict.ic
include/dict0dict.ic
+1
-1
include/eval0eval.h
include/eval0eval.h
+1
-1
include/eval0eval.ic
include/eval0eval.ic
+2
-2
include/fil0fil.h
include/fil0fil.h
+1
-1
include/lock0lock.h
include/lock0lock.h
+1
-1
include/mach0data.h
include/mach0data.h
+2
-2
include/mach0data.ic
include/mach0data.ic
+2
-2
include/mtr0mtr.h
include/mtr0mtr.h
+1
-1
include/os0proc.h
include/os0proc.h
+2
-2
include/os0thread.h
include/os0thread.h
+1
-1
include/page0page.h
include/page0page.h
+2
-2
include/page0page.ic
include/page0page.ic
+1
-1
include/rem0rec.h
include/rem0rec.h
+4
-4
include/rem0rec.ic
include/rem0rec.ic
+4
-4
include/trx0roll.h
include/trx0roll.h
+1
-1
include/trx0trx.h
include/trx0trx.h
+1
-1
include/trx0undo.h
include/trx0undo.h
+3
-3
include/trx0undo.ic
include/trx0undo.ic
+2
-2
include/ut0byte.h
include/ut0byte.h
+1
-1
include/ut0rnd.h
include/ut0rnd.h
+1
-1
include/ut0rnd.ic
include/ut0rnd.ic
+1
-1
include/ut0ut.h
include/ut0ut.h
+1
-1
lock/lock0lock.c
lock/lock0lock.c
+1
-1
mtr/mtr0mtr.c
mtr/mtr0mtr.c
+1
-1
os/os0file.c
os/os0file.c
+1
-1
os/os0proc.c
os/os0proc.c
+2
-2
os/os0thread.c
os/os0thread.c
+1
-1
page/page0page.c
page/page0page.c
+1
-1
row/row0ins.c
row/row0ins.c
+1
-1
trx/trx0undo.c
trx/trx0undo.c
+4
-4
ut/ut0ut.c
ut/ut0ut.c
+1
-1
No files found.
btr/btr0btr.c
View file @
bbdb0f41
...
@@ -2481,7 +2481,7 @@ the index. */
...
@@ -2481,7 +2481,7 @@ the index. */
ibool
ibool
btr_index_rec_validate
(
btr_index_rec_validate
(
/*===================
=
*/
/*===================*/
/* out: TRUE if ok */
/* out: TRUE if ok */
rec_t
*
rec
,
/* in: index record */
rec_t
*
rec
,
/* in: index record */
dict_index_t
*
index
,
/* in: index */
dict_index_t
*
index
,
/* in: index */
...
...
buf/buf0buf.c
View file @
bbdb0f41
...
@@ -844,7 +844,7 @@ the buffer pool. */
...
@@ -844,7 +844,7 @@ the buffer pool. */
void
void
buf_page_make_young
(
buf_page_make_young
(
/*================
=
*/
/*================*/
buf_frame_t
*
frame
)
/* in: buffer frame of a file page */
buf_frame_t
*
frame
)
/* in: buffer frame of a file page */
{
{
buf_block_t
*
block
;
buf_block_t
*
block
;
...
...
fil/fil0fil.c
View file @
bbdb0f41
...
@@ -1642,7 +1642,7 @@ Decrements the count of pending insert buffer page merges. */
...
@@ -1642,7 +1642,7 @@ Decrements the count of pending insert buffer page merges. */
void
void
fil_decr_pending_ibuf_merges
(
fil_decr_pending_ibuf_merges
(
/*========================*/
/*========================
=
*/
ulint
id
)
/* in: space id */
ulint
id
)
/* in: space id */
{
{
fil_system_t
*
system
=
fil_system
;
fil_system_t
*
system
=
fil_system
;
...
...
fsp/fsp0fsp.c
View file @
bbdb0f41
...
@@ -791,7 +791,7 @@ Inits a file page whose prior contents should be ignored. */
...
@@ -791,7 +791,7 @@ Inits a file page whose prior contents should be ignored. */
static
static
void
void
fsp_init_file_page_low
(
fsp_init_file_page_low
(
/*===================
==
*/
/*===================*/
byte
*
ptr
)
/* in: pointer to a page */
byte
*
ptr
)
/* in: pointer to a page */
{
{
page_t
*
page
;
page_t
*
page
;
...
...
handler/ha_innodb.cc
View file @
bbdb0f41
...
@@ -6671,7 +6671,7 @@ Implements the SHOW MUTEX STATUS command. . */
...
@@ -6671,7 +6671,7 @@ Implements the SHOW MUTEX STATUS command. . */
bool
bool
innodb_mutex_show_status
(
innodb_mutex_show_status
(
/*===============*/
/*===============
======
*/
THD
*
thd
,
/* in: the MySQL query thread of the caller */
THD
*
thd
,
/* in: the MySQL query thread of the caller */
stat_print_fn
*
stat_print
)
stat_print_fn
*
stat_print
)
{
{
...
...
ibuf/ibuf0ibuf.c
View file @
bbdb0f41
...
@@ -1140,7 +1140,7 @@ Add a column to the dummy index */
...
@@ -1140,7 +1140,7 @@ Add a column to the dummy index */
static
static
void
void
ibuf_dummy_index_add_col
(
ibuf_dummy_index_add_col
(
/*====================*/
/*====================
=
*/
dict_index_t
*
index
,
/* in: dummy index */
dict_index_t
*
index
,
/* in: dummy index */
dtype_t
*
type
,
/* in: the data type of the column */
dtype_t
*
type
,
/* in: the data type of the column */
ulint
len
)
/* in: length of the column */
ulint
len
)
/* in: length of the column */
...
@@ -1160,7 +1160,7 @@ Deallocates a dummy index for inserting a record to a non-clustered index.
...
@@ -1160,7 +1160,7 @@ Deallocates a dummy index for inserting a record to a non-clustered index.
static
static
void
void
ibuf_dummy_index_free
(
ibuf_dummy_index_free
(
/*==================
==
*/
/*==================*/
dict_index_t
*
index
)
/* in: dummy index */
dict_index_t
*
index
)
/* in: dummy index */
{
{
dict_table_t
*
table
=
index
->
table
;
dict_table_t
*
table
=
index
->
table
;
...
...
include/btr0btr.h
View file @
bbdb0f41
...
@@ -412,7 +412,7 @@ the index. */
...
@@ -412,7 +412,7 @@ the index. */
ibool
ibool
btr_index_rec_validate
(
btr_index_rec_validate
(
/*===================
=
*/
/*===================*/
/* out: TRUE if ok */
/* out: TRUE if ok */
rec_t
*
rec
,
/* in: index record */
rec_t
*
rec
,
/* in: index record */
dict_index_t
*
index
,
/* in: index */
dict_index_t
*
index
,
/* in: index */
...
...
include/buf0buf.h
View file @
bbdb0f41
...
@@ -266,7 +266,7 @@ the buffer pool. */
...
@@ -266,7 +266,7 @@ the buffer pool. */
void
void
buf_page_make_young
(
buf_page_make_young
(
/*================
=
*/
/*================*/
buf_frame_t
*
frame
);
/* in: buffer frame of a file page */
buf_frame_t
*
frame
);
/* in: buffer frame of a file page */
/************************************************************************
/************************************************************************
Returns TRUE if the page can be found in the buffer pool hash table. NOTE
Returns TRUE if the page can be found in the buffer pool hash table. NOTE
...
...
include/dict0dict.h
View file @
bbdb0f41
...
@@ -306,7 +306,7 @@ Checks if a table is in the dictionary cache. */
...
@@ -306,7 +306,7 @@ Checks if a table is in the dictionary cache. */
UNIV_INLINE
UNIV_INLINE
dict_table_t
*
dict_table_t
*
dict_table_check_if_in_cache_low
(
dict_table_check_if_in_cache_low
(
/*=============================
=
*/
/*=============================*/
/* out: table, NULL if not found */
/* out: table, NULL if not found */
const
char
*
table_name
);
/* in: table name */
const
char
*
table_name
);
/* in: table name */
/**************************************************************************
/**************************************************************************
...
...
include/dict0dict.ic
View file @
bbdb0f41
...
@@ -494,7 +494,7 @@ Checks if a table is in the dictionary cache. */
...
@@ -494,7 +494,7 @@ Checks if a table is in the dictionary cache. */
UNIV_INLINE
UNIV_INLINE
dict_table_t*
dict_table_t*
dict_table_check_if_in_cache_low(
dict_table_check_if_in_cache_low(
/*=============================
=
*/
/*=============================*/
/* out: table, NULL if not found */
/* out: table, NULL if not found */
const char* table_name) /* in: table name */
const char* table_name) /* in: table name */
{
{
...
...
include/eval0eval.h
View file @
bbdb0f41
...
@@ -77,7 +77,7 @@ Gets a iboolean value from a query node. */
...
@@ -77,7 +77,7 @@ Gets a iboolean value from a query node. */
UNIV_INLINE
UNIV_INLINE
ibool
ibool
eval_node_get_ibool_val
(
eval_node_get_ibool_val
(
/*===================*/
/*===================
=
*/
/* out: iboolean value */
/* out: iboolean value */
que_node_t
*
node
);
/* in: query graph node */
que_node_t
*
node
);
/* in: query graph node */
/*********************************************************************
/*********************************************************************
...
...
include/eval0eval.ic
View file @
bbdb0f41
...
@@ -149,7 +149,7 @@ Gets a iboolean value from a query node. */
...
@@ -149,7 +149,7 @@ Gets a iboolean value from a query node. */
UNIV_INLINE
UNIV_INLINE
ibool
ibool
eval_node_get_ibool_val(
eval_node_get_ibool_val(
/*===================*/
/*===================
=
*/
/* out: iboolean value */
/* out: iboolean value */
que_node_t* node) /* in: query graph node */
que_node_t* node) /* in: query graph node */
{
{
...
@@ -170,7 +170,7 @@ Sets a iboolean value as the value of a function node. */
...
@@ -170,7 +170,7 @@ Sets a iboolean value as the value of a function node. */
UNIV_INLINE
UNIV_INLINE
void
void
eval_node_set_ibool_val(
eval_node_set_ibool_val(
/*===================*/
/*===================
=
*/
func_node_t* func_node, /* in: function node */
func_node_t* func_node, /* in: function node */
ibool val) /* in: value to set */
ibool val) /* in: value to set */
{
{
...
...
include/fil0fil.h
View file @
bbdb0f41
...
@@ -271,7 +271,7 @@ Decrements the count of pending insert buffer page merges. */
...
@@ -271,7 +271,7 @@ Decrements the count of pending insert buffer page merges. */
void
void
fil_decr_pending_ibuf_merges
(
fil_decr_pending_ibuf_merges
(
/*========================*/
/*========================
=
*/
ulint
id
);
/* in: space id */
ulint
id
);
/* in: space id */
/***********************************************************************
/***********************************************************************
Parses the body of a log record written about an .ibd file operation. That is,
Parses the body of a log record written about an .ibd file operation. That is,
...
...
include/lock0lock.h
View file @
bbdb0f41
...
@@ -477,7 +477,7 @@ searching for a lock in the hash table. */
...
@@ -477,7 +477,7 @@ searching for a lock in the hash table. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
lock_rec_fold
(
lock_rec_fold
(
/*==========
=
*/
/*==========*/
/* out: folded value */
/* out: folded value */
ulint
space
,
/* in: space */
ulint
space
,
/* in: space */
ulint
page_no
);
/* in: page number */
ulint
page_no
);
/* in: page number */
...
...
include/mach0data.h
View file @
bbdb0f41
...
@@ -281,7 +281,7 @@ Reads a float. It is stored in a little-endian format. */
...
@@ -281,7 +281,7 @@ Reads a float. It is stored in a little-endian format. */
UNIV_INLINE
UNIV_INLINE
float
float
mach_float_read
(
mach_float_read
(
/*============
=
*/
/*============*/
/* out: float read */
/* out: float read */
byte
*
b
);
/* in: pointer to memory from where to read */
byte
*
b
);
/* in: pointer to memory from where to read */
/*************************************************************
/*************************************************************
...
@@ -289,7 +289,7 @@ Writes a float. It is stored in a little-endian format. */
...
@@ -289,7 +289,7 @@ Writes a float. It is stored in a little-endian format. */
UNIV_INLINE
UNIV_INLINE
void
void
mach_float_write
(
mach_float_write
(
/*=============
=
*/
/*=============*/
byte
*
b
,
/* in: pointer to memory where to write */
byte
*
b
,
/* in: pointer to memory where to write */
float
d
);
/* in: float */
float
d
);
/* in: float */
/*************************************************************
/*************************************************************
...
...
include/mach0data.ic
View file @
bbdb0f41
...
@@ -578,7 +578,7 @@ Reads a float. It is stored in a little-endian format. */
...
@@ -578,7 +578,7 @@ Reads a float. It is stored in a little-endian format. */
UNIV_INLINE
UNIV_INLINE
float
float
mach_float_read(
mach_float_read(
/*============
=
*/
/*============*/
/* out: float read */
/* out: float read */
byte* b) /* in: pointer to memory from where to read */
byte* b) /* in: pointer to memory from where to read */
{
{
...
@@ -604,7 +604,7 @@ Writes a float. It is stored in a little-endian format. */
...
@@ -604,7 +604,7 @@ Writes a float. It is stored in a little-endian format. */
UNIV_INLINE
UNIV_INLINE
void
void
mach_float_write(
mach_float_write(
/*=============
=
*/
/*=============*/
byte* b, /* in: pointer to memory where to write */
byte* b, /* in: pointer to memory where to write */
float d) /* in: float */
float d) /* in: float */
{
{
...
...
include/mtr0mtr.h
View file @
bbdb0f41
...
@@ -220,7 +220,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */
...
@@ -220,7 +220,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */
dulint
dulint
mtr_read_dulint
(
mtr_read_dulint
(
/*===========*/
/*===========
=
*/
/* out: value read */
/* out: value read */
byte
*
ptr
,
/* in: pointer from where to read */
byte
*
ptr
,
/* in: pointer from where to read */
mtr_t
*
mtr
);
/* in: mini-transaction handle */
mtr_t
*
mtr
);
/* in: mini-transaction handle */
...
...
include/os0proc.h
View file @
bbdb0f41
...
@@ -116,7 +116,7 @@ Allocates large pages memory. */
...
@@ -116,7 +116,7 @@ Allocates large pages memory. */
void
*
void
*
os_mem_alloc_large
(
os_mem_alloc_large
(
/*===============
==
*/
/*===============*/
/* out: allocated memory */
/* out: allocated memory */
ulint
n
,
/* in: number of bytes */
ulint
n
,
/* in: number of bytes */
ibool
set_to_zero
,
/* in: TRUE if allocated memory should be set
ibool
set_to_zero
,
/* in: TRUE if allocated memory should be set
...
@@ -128,7 +128,7 @@ Frees large pages memory. */
...
@@ -128,7 +128,7 @@ Frees large pages memory. */
void
void
os_mem_free_large
(
os_mem_free_large
(
/*==============
===
*/
/*==============*/
void
*
ptr
);
/* in: number of bytes */
void
*
ptr
);
/* in: number of bytes */
/********************************************************************
/********************************************************************
Sets the priority boost for threads released from waiting within the current
Sets the priority boost for threads released from waiting within the current
...
...
include/os0thread.h
View file @
bbdb0f41
...
@@ -80,7 +80,7 @@ os_thread_create(
...
@@ -80,7 +80,7 @@ os_thread_create(
thread */
thread */
int
int
os_thread_join
(
os_thread_join
(
/*===========
==
*/
/*===========*/
os_thread_id_t
thread_id
);
/* in: id of the thread to join */
os_thread_id_t
thread_id
);
/* in: id of the thread to join */
/*********************************************************************
/*********************************************************************
Exits the current thread. */
Exits the current thread. */
...
...
include/page0page.h
View file @
bbdb0f41
...
@@ -436,7 +436,7 @@ TRUE if the record is the infimum record on a page. */
...
@@ -436,7 +436,7 @@ TRUE if the record is the infimum record on a page. */
UNIV_INLINE
UNIV_INLINE
ibool
ibool
page_rec_is_infimum_low
(
page_rec_is_infimum_low
(
/*====================
=
*/
/*====================*/
/* out: TRUE if the infimum record */
/* out: TRUE if the infimum record */
ulint
offset
);
/* in: record offset on page */
ulint
offset
);
/* in: record offset on page */
...
@@ -733,7 +733,7 @@ debugging purposes. */
...
@@ -733,7 +733,7 @@ debugging purposes. */
void
void
page_print
(
page_print
(
/*======*/
/*======
=
*/
page_t
*
page
,
/* in: index page */
page_t
*
page
,
/* in: index page */
dict_index_t
*
index
,
/* in: dictionary index of the page */
dict_index_t
*
index
,
/* in: dictionary index of the page */
ulint
dn
,
/* in: print dn first and last entries
ulint
dn
,
/* in: print dn first and last entries
...
...
include/page0page.ic
View file @
bbdb0f41
...
@@ -284,7 +284,7 @@ TRUE if the record is the infimum record on a page. */
...
@@ -284,7 +284,7 @@ TRUE if the record is the infimum record on a page. */
UNIV_INLINE
UNIV_INLINE
ibool
ibool
page_rec_is_infimum_low(
page_rec_is_infimum_low(
/*====================
=
*/
/*====================*/
/* out: TRUE if the infimum record */
/* out: TRUE if the infimum record */
ulint offset) /* in: record offset on page */
ulint offset) /* in: record offset on page */
{
{
...
...
include/rem0rec.h
View file @
bbdb0f41
...
@@ -182,7 +182,7 @@ The following function tells if a new-style record is a node pointer. */
...
@@ -182,7 +182,7 @@ The following function tells if a new-style record is a node pointer. */
UNIV_INLINE
UNIV_INLINE
ibool
ibool
rec_get_node_ptr_flag
(
rec_get_node_ptr_flag
(
/*=================*/
/*=================
=
*/
/* out: TRUE if node pointer */
/* out: TRUE if node pointer */
rec_t
*
rec
);
/* in: physical record */
rec_t
*
rec
);
/* in: physical record */
/**********************************************************
/**********************************************************
...
@@ -191,7 +191,7 @@ of the record in the heap of the index page. */
...
@@ -191,7 +191,7 @@ of the record in the heap of the index page. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
rec_get_heap_no
(
rec_get_heap_no
(
/*============
=
*/
/*============*/
/* out: heap order number */
/* out: heap order number */
rec_t
*
rec
,
/* in: physical record */
rec_t
*
rec
,
/* in: physical record */
ulint
comp
);
/* in: nonzero=compact page format */
ulint
comp
);
/* in: nonzero=compact page format */
...
@@ -201,7 +201,7 @@ field in the record. */
...
@@ -201,7 +201,7 @@ field in the record. */
UNIV_INLINE
UNIV_INLINE
void
void
rec_set_heap_no
(
rec_set_heap_no
(
/*============
=
*/
/*============*/
rec_t
*
rec
,
/* in: physical record */
rec_t
*
rec
,
/* in: physical record */
ulint
comp
,
/* in: nonzero=compact page format */
ulint
comp
,
/* in: nonzero=compact page format */
ulint
heap_no
);
/* in: the heap number */
ulint
heap_no
);
/* in: the heap number */
...
@@ -399,7 +399,7 @@ The following function returns the number of fields in a record. */
...
@@ -399,7 +399,7 @@ The following function returns the number of fields in a record. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
rec_offs_n_fields
(
rec_offs_n_fields
(
/*==============
=
*/
/*==============*/
/* out: number of fields */
/* out: number of fields */
const
ulint
*
offsets
);
/* in: array returned by rec_get_offsets() */
const
ulint
*
offsets
);
/* in: array returned by rec_get_offsets() */
/**************************************************************
/**************************************************************
...
...
include/rem0rec.ic
View file @
bbdb0f41
...
@@ -631,7 +631,7 @@ The following function tells if a new-style record is a node pointer. */
...
@@ -631,7 +631,7 @@ The following function tells if a new-style record is a node pointer. */
UNIV_INLINE
UNIV_INLINE
ibool
ibool
rec_get_node_ptr_flag(
rec_get_node_ptr_flag(
/*=================*/
/*=================
=
*/
/* out: TRUE if node pointer */
/* out: TRUE if node pointer */
rec_t* rec) /* in: physical record */
rec_t* rec) /* in: physical record */
{
{
...
@@ -644,7 +644,7 @@ heap of the index page. */
...
@@ -644,7 +644,7 @@ heap of the index page. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
rec_get_heap_no(
rec_get_heap_no(
/*============
=
*/
/*============*/
/* out: heap order number */
/* out: heap order number */
rec_t* rec, /* in: physical record */
rec_t* rec, /* in: physical record */
ulint comp) /* in: nonzero=compact page format */
ulint comp) /* in: nonzero=compact page format */
...
@@ -666,7 +666,7 @@ The following function is used to set the heap number field in the record. */
...
@@ -666,7 +666,7 @@ The following function is used to set the heap number field in the record. */
UNIV_INLINE
UNIV_INLINE
void
void
rec_set_heap_no(
rec_set_heap_no(
/*============
=
*/
/*============*/
rec_t* rec, /* in: physical record */
rec_t* rec, /* in: physical record */
ulint comp, /* in: nonzero=compact page format */
ulint comp, /* in: nonzero=compact page format */
ulint heap_no)/* in: the heap number */
ulint heap_no)/* in: the heap number */
...
@@ -802,7 +802,7 @@ The following function returns the number of fields in a record. */
...
@@ -802,7 +802,7 @@ The following function returns the number of fields in a record. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
rec_offs_n_fields(
rec_offs_n_fields(
/*==============
=
*/
/*==============*/
/* out: number of fields */
/* out: number of fields */
const ulint* offsets)/* in: array returned by rec_get_offsets() */
const ulint* offsets)/* in: array returned by rec_get_offsets() */
{
{
...
...
include/trx0roll.h
View file @
bbdb0f41
...
@@ -232,7 +232,7 @@ were set after this savepoint are deleted. */
...
@@ -232,7 +232,7 @@ were set after this savepoint are deleted. */
ulint
ulint
trx_release_savepoint_for_mysql
(
trx_release_savepoint_for_mysql
(
/*============================
====
*/
/*============================*/
/* out: if no savepoint
/* out: if no savepoint
of the name found then
of the name found then
DB_NO_SAVEPOINT,
DB_NO_SAVEPOINT,
...
...
include/trx0trx.h
View file @
bbdb0f41
...
@@ -207,7 +207,7 @@ Does the transaction prepare for MySQL. */
...
@@ -207,7 +207,7 @@ Does the transaction prepare for MySQL. */
ulint
ulint
trx_prepare_for_mysql
(
trx_prepare_for_mysql
(
/*=================*/
/*=================
=
*/
/* out: 0 or error number */
/* out: 0 or error number */
trx_t
*
trx
);
/* in: trx handle */
trx_t
*
trx
);
/* in: trx handle */
/**************************************************************************
/**************************************************************************
...
...
include/trx0undo.h
View file @
bbdb0f41
...
@@ -71,7 +71,7 @@ Gets an undo log page and x-latches it. */
...
@@ -71,7 +71,7 @@ Gets an undo log page and x-latches it. */
UNIV_INLINE
UNIV_INLINE
page_t
*
page_t
*
trx_undo_page_get
(
trx_undo_page_get
(
/*==============
=
*/
/*==============*/
/* out: pointer to page x-latched */
/* out: pointer to page x-latched */
ulint
space
,
/* in: space where placed */
ulint
space
,
/* in: space where placed */
ulint
page_no
,
/* in: page number */
ulint
page_no
,
/* in: page number */
...
@@ -81,7 +81,7 @@ Gets an undo log page and s-latches it. */
...
@@ -81,7 +81,7 @@ Gets an undo log page and s-latches it. */
UNIV_INLINE
UNIV_INLINE
page_t
*
page_t
*
trx_undo_page_get_s_latched
(
trx_undo_page_get_s_latched
(
/*========================
=
*/
/*========================*/
/* out: pointer to page s-latched */
/* out: pointer to page s-latched */
ulint
space
,
/* in: space where placed */
ulint
space
,
/* in: space where placed */
ulint
page_no
,
/* in: page number */
ulint
page_no
,
/* in: page number */
...
@@ -278,7 +278,7 @@ Parses the redo log entry of an undo log page initialization. */
...
@@ -278,7 +278,7 @@ Parses the redo log entry of an undo log page initialization. */
byte
*
byte
*
trx_undo_parse_page_init
(
trx_undo_parse_page_init
(
/*=====================
=
*/
/*=====================*/
/* out: end of log record or NULL */
/* out: end of log record or NULL */
byte
*
ptr
,
/* in: buffer */
byte
*
ptr
,
/* in: buffer */
byte
*
end_ptr
,
/* in: buffer end */
byte
*
end_ptr
,
/* in: buffer end */
...
...
include/trx0undo.ic
View file @
bbdb0f41
...
@@ -123,7 +123,7 @@ Gets an undo log page and x-latches it. */
...
@@ -123,7 +123,7 @@ Gets an undo log page and x-latches it. */
UNIV_INLINE
UNIV_INLINE
page_t*
page_t*
trx_undo_page_get(
trx_undo_page_get(
/*==============
=
*/
/*==============*/
/* out: pointer to page x-latched */
/* out: pointer to page x-latched */
ulint space, /* in: space where placed */
ulint space, /* in: space where placed */
ulint page_no, /* in: page number */
ulint page_no, /* in: page number */
...
@@ -145,7 +145,7 @@ Gets an undo log page and s-latches it. */
...
@@ -145,7 +145,7 @@ Gets an undo log page and s-latches it. */
UNIV_INLINE
UNIV_INLINE
page_t*
page_t*
trx_undo_page_get_s_latched(
trx_undo_page_get_s_latched(
/*========================
=
*/
/*========================*/
/* out: pointer to page s-latched */
/* out: pointer to page s-latched */
ulint space, /* in: space where placed */
ulint space, /* in: space where placed */
ulint page_no, /* in: page number */
ulint page_no, /* in: page number */
...
...
include/ut0byte.h
View file @
bbdb0f41
...
@@ -216,7 +216,7 @@ aligned address. */
...
@@ -216,7 +216,7 @@ aligned address. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
ut_align_offset
(
ut_align_offset
(
/*==========*/
/*==========
==
*/
/* out: distance from aligned
/* out: distance from aligned
pointer */
pointer */
const
void
*
ptr
,
/* in: pointer */
const
void
*
ptr
,
/* in: pointer */
...
...
include/ut0rnd.h
View file @
bbdb0f41
...
@@ -65,7 +65,7 @@ random number to work reliably. */
...
@@ -65,7 +65,7 @@ random number to work reliably. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
ut_hash_ulint
(
ut_hash_ulint
(
/*=========*/
/*=========
=
*/
/* out: hash value */
/* out: hash value */
ulint
key
,
/* in: value to be hashed */
ulint
key
,
/* in: value to be hashed */
ulint
table_size
);
/* in: hash table size */
ulint
table_size
);
/* in: hash table size */
...
...
include/ut0rnd.ic
View file @
bbdb0f41
...
@@ -130,7 +130,7 @@ or some random number for the hash table to work reliably. */
...
@@ -130,7 +130,7 @@ or some random number for the hash table to work reliably. */
UNIV_INLINE
UNIV_INLINE
ulint
ulint
ut_hash_ulint(
ut_hash_ulint(
/*=========*/
/*=========
=
*/
/* out: hash value */
/* out: hash value */
ulint key, /* in: value to be hashed */
ulint key, /* in: value to be hashed */
ulint table_size) /* in: hash table size */
ulint table_size) /* in: hash table size */
...
...
include/ut0ut.h
View file @
bbdb0f41
...
@@ -231,7 +231,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */
...
@@ -231,7 +231,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */
void
void
ut_print_namel
(
ut_print_namel
(
/*==========*/
/*==========
=
*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
struct
trx_struct
*
trx
,
/* in: transaction (NULL=no quotes) */
struct
trx_struct
*
trx
,
/* in: transaction (NULL=no quotes) */
const
char
*
name
,
/* in: name to print */
const
char
*
name
,
/* in: name to print */
...
...
lock/lock0lock.c
View file @
bbdb0f41
...
@@ -1067,7 +1067,7 @@ Sets the nth bit of a record lock to TRUE. */
...
@@ -1067,7 +1067,7 @@ Sets the nth bit of a record lock to TRUE. */
UNIV_INLINE
UNIV_INLINE
void
void
lock_rec_set_nth_bit
(
lock_rec_set_nth_bit
(
/*=================
=
*/
/*=================*/
lock_t
*
lock
,
/* in: record lock */
lock_t
*
lock
,
/* in: record lock */
ulint
i
)
/* in: index of the bit */
ulint
i
)
/* in: index of the bit */
{
{
...
...
mtr/mtr0mtr.c
View file @
bbdb0f41
...
@@ -302,7 +302,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */
...
@@ -302,7 +302,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */
dulint
dulint
mtr_read_dulint
(
mtr_read_dulint
(
/*===========*/
/*===========
=
*/
/* out: value read */
/* out: value read */
byte
*
ptr
,
/* in: pointer from where to read */
byte
*
ptr
,
/* in: pointer from where to read */
mtr_t
*
mtr
__attribute__
((
unused
)))
mtr_t
*
mtr
__attribute__
((
unused
)))
...
...
os/os0file.c
View file @
bbdb0f41
...
@@ -2551,7 +2551,7 @@ This function returns information about the specified file */
...
@@ -2551,7 +2551,7 @@ This function returns information about the specified file */
ibool
ibool
os_file_get_status
(
os_file_get_status
(
/*===========*/
/*===========
====
*/
/* out: TRUE if stat information found */
/* out: TRUE if stat information found */
const
char
*
path
,
/* in: pathname of the file */
const
char
*
path
,
/* in: pathname of the file */
os_file_stat_t
*
stat_info
)
/* information of a file in a directory */
os_file_stat_t
*
stat_info
)
/* information of a file in a directory */
...
...
os/os0proc.c
View file @
bbdb0f41
...
@@ -533,7 +533,7 @@ Allocates large pages memory. */
...
@@ -533,7 +533,7 @@ Allocates large pages memory. */
void
*
void
*
os_mem_alloc_large
(
os_mem_alloc_large
(
/*===============
==
*/
/*===============*/
/* out: allocated memory */
/* out: allocated memory */
ulint
n
,
/* in: number of bytes */
ulint
n
,
/* in: number of bytes */
ibool
set_to_zero
,
/* in: TRUE if allocated memory should be set
ibool
set_to_zero
,
/* in: TRUE if allocated memory should be set
...
@@ -595,7 +595,7 @@ Frees large pages memory. */
...
@@ -595,7 +595,7 @@ Frees large pages memory. */
void
void
os_mem_free_large
(
os_mem_free_large
(
/*==============
===
*/
/*==============*/
void
*
ptr
)
/* in: number of bytes */
void
*
ptr
)
/* in: number of bytes */
{
{
#ifdef HAVE_LARGE_PAGES
#ifdef HAVE_LARGE_PAGES
...
...
os/os0thread.c
View file @
bbdb0f41
...
@@ -213,7 +213,7 @@ os_thread_exit(
...
@@ -213,7 +213,7 @@ os_thread_exit(
#ifdef HAVE_PTHREAD_JOIN
#ifdef HAVE_PTHREAD_JOIN
int
int
os_thread_join
(
os_thread_join
(
/*===========
==
*/
/*===========*/
os_thread_id_t
thread_id
)
/* in: id of the thread to join */
os_thread_id_t
thread_id
)
/* in: id of the thread to join */
{
{
return
pthread_join
(
thread_id
,
NULL
);
return
pthread_join
(
thread_id
,
NULL
);
...
...
page/page0page.c
View file @
bbdb0f41
...
@@ -1433,7 +1433,7 @@ debugging purposes. */
...
@@ -1433,7 +1433,7 @@ debugging purposes. */
void
void
page_print
(
page_print
(
/*======*/
/*======
=
*/
page_t
*
page
,
/* in: index page */
page_t
*
page
,
/* in: index page */
dict_index_t
*
index
,
/* in: dictionary index of the page */
dict_index_t
*
index
,
/* in: dictionary index of the page */
ulint
dn
,
/* in: print dn first and last entries
ulint
dn
,
/* in: print dn first and last entries
...
...
row/row0ins.c
View file @
bbdb0f41
...
@@ -1143,7 +1143,7 @@ records */
...
@@ -1143,7 +1143,7 @@ records */
static
static
ulint
ulint
row_ins_set_exclusive_rec_lock
(
row_ins_set_exclusive_rec_lock
(
/*===========================
=
*/
/*===========================*/
/* out: DB_SUCCESS or error code */
/* out: DB_SUCCESS or error code */
ulint
type
,
/* in: LOCK_ORDINARY, LOCK_GAP, or
ulint
type
,
/* in: LOCK_ORDINARY, LOCK_GAP, or
LOCK_REC_NOT_GAP type lock */
LOCK_REC_NOT_GAP type lock */
...
...
trx/trx0undo.c
View file @
bbdb0f41
...
@@ -81,7 +81,7 @@ Initializes the fields in an undo log segment page. */
...
@@ -81,7 +81,7 @@ Initializes the fields in an undo log segment page. */
static
static
void
void
trx_undo_page_init
(
trx_undo_page_init
(
/*===============
=
*/
/*===============*/
page_t
*
undo_page
,
/* in: undo log segment page */
page_t
*
undo_page
,
/* in: undo log segment page */
ulint
type
,
/* in: undo log segment type */
ulint
type
,
/* in: undo log segment type */
mtr_t
*
mtr
);
/* in: mtr */
mtr_t
*
mtr
);
/* in: mtr */
...
@@ -307,7 +307,7 @@ Writes the mtr log entry of an undo log page initialization. */
...
@@ -307,7 +307,7 @@ Writes the mtr log entry of an undo log page initialization. */
UNIV_INLINE
UNIV_INLINE
void
void
trx_undo_page_init_log
(
trx_undo_page_init_log
(
/*===================
=
*/
/*===================*/
page_t
*
undo_page
,
/* in: undo log page */
page_t
*
undo_page
,
/* in: undo log page */
ulint
type
,
/* in: undo log type */
ulint
type
,
/* in: undo log type */
mtr_t
*
mtr
)
/* in: mtr */
mtr_t
*
mtr
)
/* in: mtr */
...
@@ -322,7 +322,7 @@ Parses the redo log entry of an undo log page initialization. */
...
@@ -322,7 +322,7 @@ Parses the redo log entry of an undo log page initialization. */
byte
*
byte
*
trx_undo_parse_page_init
(
trx_undo_parse_page_init
(
/*=====================
=
*/
/*=====================*/
/* out: end of log record or NULL */
/* out: end of log record or NULL */
byte
*
ptr
,
/* in: buffer */
byte
*
ptr
,
/* in: buffer */
byte
*
end_ptr
,
/* in: buffer end */
byte
*
end_ptr
,
/* in: buffer end */
...
@@ -350,7 +350,7 @@ Initializes the fields in an undo log segment page. */
...
@@ -350,7 +350,7 @@ Initializes the fields in an undo log segment page. */
static
static
void
void
trx_undo_page_init
(
trx_undo_page_init
(
/*===============
=
*/
/*===============*/
page_t
*
undo_page
,
/* in: undo log segment page */
page_t
*
undo_page
,
/* in: undo log segment page */
ulint
type
,
/* in: undo log segment type */
ulint
type
,
/* in: undo log segment type */
mtr_t
*
mtr
)
/* in: mtr */
mtr_t
*
mtr
)
/* in: mtr */
...
...
ut/ut0ut.c
View file @
bbdb0f41
...
@@ -408,7 +408,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */
...
@@ -408,7 +408,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */
void
void
ut_print_namel
(
ut_print_namel
(
/*==========*/
/*==========
=
*/
FILE
*
f
,
/* in: output stream */
FILE
*
f
,
/* in: output stream */
trx_t
*
trx
,
/* in: transaction (NULL=no quotes) */
trx_t
*
trx
,
/* in: transaction (NULL=no quotes) */
const
char
*
name
,
/* in: name to print */
const
char
*
name
,
/* in: name to print */
...
...
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