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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
13b39e87
Commit
13b39e87
authored
Jun 01, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Clean up some comments.
Make the rec parameter of mlog_open_and_write_index() const.
parent
5108f3d5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
+16
-14
include/mtr0log.h
include/mtr0log.h
+1
-1
include/srv0srv.h
include/srv0srv.h
+9
-7
mtr/mtr0log.c
mtr/mtr0log.c
+1
-1
srv/srv0srv.c
srv/srv0srv.c
+5
-5
No files found.
include/mtr0log.h
View file @
13b39e87
...
...
@@ -218,7 +218,7 @@ byte*
mlog_open_and_write_index
(
/*======================*/
mtr_t
*
mtr
,
/*!< in: mtr */
byte
*
rec
,
/*!< in: index record or page */
const
byte
*
rec
,
/*!< in: index record or page */
dict_index_t
*
index
,
/*!< in: record descriptor */
byte
type
,
/*!< in: log item type */
ulint
size
);
/*!< in: requested buffer size in bytes
...
...
include/srv0srv.h
View file @
13b39e87
...
...
@@ -42,7 +42,7 @@ Created 10/10/1995 Heikki Tuuri
extern
const
char
*
srv_main_thread_op_info
;
/* Prefix used by MySQL to indicate pre-5.1 table name encoding */
/*
*
Prefix used by MySQL to indicate pre-5.1 table name encoding */
extern
const
char
srv_mysql50_table_name_prefix
[
9
];
/* When this event is set the lock timeout and InnoDB monitor
...
...
@@ -81,14 +81,16 @@ extern char* srv_data_home;
extern
char
*
srv_arch_dir
;
#endif
/* UNIV_LOG_ARCHIVE */
/* store to its own file each table created by an user; data
/*
*
store to its own file each table created by an user; data
dictionary tables are in the system tablespace 0 */
extern
my_bool
srv_file_per_table
;
/* The file format to use on new *.ibd files. */
/*
*
The file format to use on new *.ibd files. */
extern
ulint
srv_file_format
;
/* Whether to check file format during startup.*/
/** Whether to check file format during startup. A value of
DICT_TF_FORMAT_MAX + 1 means no checking ie. FALSE. The default is to
set it to the highest format we support. */
extern
ulint
srv_check_file_format_at_startup
;
/* Place locks to records only i.e. do not use next-key locking except
/*
*
Place locks to records only i.e. do not use next-key locking except
on duplicate key checking and foreign key checking */
extern
ibool
srv_locks_unsafe_for_binlog
;
#endif
/* !UNIV_HOTBACKUP */
...
...
@@ -533,10 +535,10 @@ void
srv_export_innodb_status
(
void
);
/*==========================*/
/* Thread slot in the thread table */
/*
*
Thread slot in the thread table */
typedef
struct
srv_slot_struct
srv_slot_t
;
/* Thread table is an array of slots */
/*
*
Thread table is an array of slots */
typedef
srv_slot_t
srv_table_t
;
/** Status variables to be passed to MySQL */
...
...
mtr/mtr0log.c
View file @
13b39e87
...
...
@@ -440,7 +440,7 @@ byte*
mlog_open_and_write_index
(
/*======================*/
mtr_t
*
mtr
,
/*!< in: mtr */
byte
*
rec
,
/*!< in: index record or page */
const
byte
*
rec
,
/*!< in: index record or page */
dict_index_t
*
index
,
/*!< in: record descriptor */
byte
type
,
/*!< in: log item type */
ulint
size
)
/*!< in: requested buffer size in bytes
...
...
srv/srv0srv.c
View file @
13b39e87
...
...
@@ -97,7 +97,7 @@ UNIV_INTERN ibool srv_error_monitor_active = FALSE;
UNIV_INTERN
const
char
*
srv_main_thread_op_info
=
""
;
/* Prefix used by MySQL to indicate pre-5.1 table name encoding */
/*
*
Prefix used by MySQL to indicate pre-5.1 table name encoding */
UNIV_INTERN
const
char
srv_mysql50_table_name_prefix
[
9
]
=
"#mysql50#"
;
/* Server parameters which are read from the initfile */
...
...
@@ -110,12 +110,12 @@ UNIV_INTERN char* srv_data_home = NULL;
UNIV_INTERN
char
*
srv_arch_dir
=
NULL
;
#endif
/* UNIV_LOG_ARCHIVE */
/* store to its own file each table created by an user; data
/*
*
store to its own file each table created by an user; data
dictionary tables are in the system tablespace 0 */
UNIV_INTERN
my_bool
srv_file_per_table
;
/* The file format to use on new *.ibd files. */
/*
*
The file format to use on new *.ibd files. */
UNIV_INTERN
ulint
srv_file_format
=
0
;
/*
Whether to check file format during startup a value of
/*
* Whether to check file format during startup. A value of
DICT_TF_FORMAT_MAX + 1 means no checking ie. FALSE. The default is to
set it to the highest format we support. */
UNIV_INTERN
ulint
srv_check_file_format_at_startup
=
DICT_TF_FORMAT_MAX
;
...
...
@@ -123,7 +123,7 @@ UNIV_INTERN ulint srv_check_file_format_at_startup = DICT_TF_FORMAT_MAX;
#if DICT_TF_FORMAT_51
# error "DICT_TF_FORMAT_51 must be 0!"
#endif
/* Place locks to records only i.e. do not use next-key locking except
/*
*
Place locks to records only i.e. do not use next-key locking except
on duplicate key checking and foreign key checking */
UNIV_INTERN
ibool
srv_locks_unsafe_for_binlog
=
FALSE
;
...
...
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