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
56ed8091
Commit
56ed8091
authored
Feb 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Bug#Server crash due to 'flush status' in various tests.
parent
4e30b156
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
sql/log.cc
sql/log.cc
+2
-2
sql/sql_class.h
sql/sql_class.h
+3
-3
No files found.
sql/log.cc
View file @
56ed8091
...
@@ -2457,8 +2457,8 @@ void sql_print_information(const char *format, ...)
...
@@ -2457,8 +2457,8 @@ void sql_print_information(const char *format, ...)
static
const
char
tc_log_magic
[]
=
{
254
,
0x23
,
0x05
,
0x74
};
static
const
char
tc_log_magic
[]
=
{
254
,
0x23
,
0x05
,
0x74
};
uint
opt_tc_log_size
=
TC_LOG_MIN_SIZE
;
uint
opt_tc_log_size
=
TC_LOG_MIN_SIZE
;
u
int
tc_log_max_pages_used
=
0
,
tc_log_page_size
=
0
,
u
long
tc_log_max_pages_used
=
0
,
tc_log_page_size
=
0
,
tc_log_page_waits
=
0
,
tc_log_cur_pages_used
=
0
;
tc_log_page_waits
=
0
,
tc_log_cur_pages_used
=
0
;
int
TC_LOG_MMAP
::
open
(
const
char
*
opt_name
)
int
TC_LOG_MMAP
::
open
(
const
char
*
opt_name
)
{
{
...
...
sql/sql_class.h
View file @
56ed8091
...
@@ -46,9 +46,9 @@ extern const char **errmesg;
...
@@ -46,9 +46,9 @@ extern const char **errmesg;
#define TC_LOG_PAGE_SIZE 8192
#define TC_LOG_PAGE_SIZE 8192
#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE)
#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE)
extern
uint
opt_tc_log_size
;
extern
uint
opt_tc_log_size
;
extern
u
int
tc_log_max_pages_used
;
extern
u
long
tc_log_max_pages_used
;
extern
u
int
tc_log_page_size
;
extern
u
long
tc_log_page_size
;
extern
u
int
tc_log_page_waits
;
extern
u
long
tc_log_page_waits
;
#define TC_HEURISTIC_RECOVER_COMMIT 1
#define TC_HEURISTIC_RECOVER_COMMIT 1
#define TC_HEURISTIC_RECOVER_ROLLBACK 2
#define TC_HEURISTIC_RECOVER_ROLLBACK 2
...
...
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