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
1be69827
Commit
1be69827
authored
15 years ago
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
f0b91ab9
Branches unavailable
Tags unavailable
No related merge requests found
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 @
1be69827
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
include/srv0srv.h
View file @
1be69827
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
mtr/mtr0log.c
View file @
1be69827
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
srv/srv0srv.c
View file @
1be69827
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
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