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
d6025745
Commit
d6025745
authored
Jun 01, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'github/10.1' into 10.1
parents
fce4ab0a
52837892
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
66 deletions
+47
-66
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-0
sql/log.cc
sql/log.cc
+3
-2
storage/innobase/buf/buf0dump.cc
storage/innobase/buf/buf0dump.cc
+1
-5
storage/innobase/srv/srv0start.cc
storage/innobase/srv/srv0start.cc
+20
-27
storage/xtradb/buf/buf0dump.cc
storage/xtradb/buf/buf0dump.cc
+1
-5
storage/xtradb/srv/srv0start.cc
storage/xtradb/srv/srv0start.cc
+20
-27
No files found.
mysql-test/mysql-test-run.pl
View file @
d6025745
...
...
@@ -4372,6 +4372,8 @@ sub extract_warning_lines ($$) {
qr/InnoDB: Warning: a long semaphore wait:/
,
qr/InnoDB: Disabling redo log encryption/
,
qr/InnoDB: Redo log crypto: Can't initialize to key version -1u/
,
qr/InnoDB: Dumping buffer pool.*/
,
qr/InnoDB: Buffer pool.*/
,
qr/Slave: Unknown table 't1' .* 1051/
,
qr/Slave SQL:.*(Internal MariaDB error code: [[:digit:]]+|Query:.*)/
,
qr/slave SQL thread aborted/
,
...
...
sql/log.cc
View file @
d6025745
...
...
@@ -8282,13 +8282,14 @@ static void print_buffer_to_file(enum loglevel level, const char *buffer,
localtime_r
(
&
skr
,
&
tm_tmp
);
start
=&
tm_tmp
;
fprintf
(
stderr
,
"%
02d%02d%02d %2d:%02d:%02d
[%s] %.*s%.*s
\n
"
,
start
->
tm_year
%
1
00
,
fprintf
(
stderr
,
"%
d-%02d-%02d %2d:%02d:%02d %lu
[%s] %.*s%.*s
\n
"
,
start
->
tm_year
+
19
00
,
start
->
tm_mon
+
1
,
start
->
tm_mday
,
start
->
tm_hour
,
start
->
tm_min
,
start
->
tm_sec
,
(
unsigned
long
)
pthread_self
(),
(
level
==
ERROR_LEVEL
?
"ERROR"
:
level
==
WARNING_LEVEL
?
"Warning"
:
"Note"
),
tag_length
,
tag
,
...
...
storage/innobase/buf/buf0dump.cc
View file @
d6025745
...
...
@@ -123,11 +123,7 @@ buf_dump_status(
sizeof
(
export_vars
.
innodb_buffer_pool_dump_status
),
fmt
,
ap
);
if
(
severity
==
STATUS_NOTICE
||
severity
==
STATUS_ERR
)
{
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: %s
\n
"
,
export_vars
.
innodb_buffer_pool_dump_status
);
}
ib_logf
((
ib_log_level_t
)
severity
,
"%s"
,
export_vars
.
innodb_buffer_pool_dump_status
);
va_end
(
ap
);
}
...
...
storage/innobase/srv/srv0start.cc
View file @
d6025745
...
...
@@ -495,7 +495,8 @@ DECLARE_THREAD(io_handler_thread)(
segment
=
*
((
ulint
*
)
arg
);
#ifdef UNIV_DEBUG_THREAD_CREATION
fprintf
(
stderr
,
"Io handler thread %lu starts, id %lu
\n
"
,
segment
,
ib_logf
(
IB_LOG_LEVEL_INFO
,
"Io handler thread %lu starts, id %lu
\n
"
,
segment
,
os_thread_pf
(
os_thread_get_curr_id
()));
#endif
...
...
@@ -1619,53 +1620,45 @@ innobase_start_or_create_for_mysql(void)
}
#ifdef UNIV_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!"
);
#endif
#ifdef UNIV_IBUF_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_IBUF_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_IBUF_DEBUG switched on !!!!!!!!!"
);
# ifdef UNIV_IBUF_COUNT_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_IBUF_COUNT_DEBUG switched on "
"!!!!!!!!!
\n
"
);
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: Crash recovery will fail with UNIV_IBUF_COUNT_DEBUG
\n
"
);
"!!!!!!!!!"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: Crash recovery will fail with UNIV_IBUF_COUNT_DEBUG"
);
# endif
#endif
#ifdef UNIV_BLOB_DEBUG
fprintf
(
stderr
,
ib_logf
(
IB_LOG_LEVEL_INFO
,
"InnoDB: !!!!!!!! UNIV_BLOB_DEBUG switched on !!!!!!!!!
\n
"
"InnoDB: Server restart may fail with UNIV_BLOB_DEBUG
\n
"
);
"InnoDB: Server restart may fail with UNIV_BLOB_DEBUG"
);
#endif
/* UNIV_BLOB_DEBUG */
#ifdef UNIV_SYNC_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!"
);
#endif
#ifdef UNIV_SEARCH_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_SEARCH_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_SEARCH_DEBUG switched on !!!!!!!!!"
);
#endif
#ifdef UNIV_LOG_LSN_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_LOG_LSN_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_LOG_LSN_DEBUG switched on !!!!!!!!!"
);
#endif
/* UNIV_LOG_LSN_DEBUG */
#ifdef UNIV_MEM_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_MEM_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_MEM_DEBUG switched on !!!!!!!!!"
);
#endif
if
(
srv_use_sys_malloc
)
{
...
...
storage/xtradb/buf/buf0dump.cc
View file @
d6025745
...
...
@@ -123,11 +123,7 @@ buf_dump_status(
sizeof
(
export_vars
.
innodb_buffer_pool_dump_status
),
fmt
,
ap
);
if
(
severity
==
STATUS_NOTICE
||
severity
==
STATUS_ERR
)
{
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: %s
\n
"
,
export_vars
.
innodb_buffer_pool_dump_status
);
}
ib_logf
((
ib_log_level_t
)
severity
,
"%s"
,
export_vars
.
innodb_buffer_pool_dump_status
);
va_end
(
ap
);
}
...
...
storage/xtradb/srv/srv0start.cc
View file @
d6025745
...
...
@@ -522,7 +522,8 @@ DECLARE_THREAD(io_handler_thread)(
os_thread_set_priority
(
srv_io_tids
[
tid_i
],
srv_sched_priority_io
);
#ifdef UNIV_DEBUG_THREAD_CREATION
fprintf
(
stderr
,
"Io handler thread %lu starts, id %lu
\n
"
,
segment
,
ib_logf
(
IB_LOG_LEVEL_INFO
,
"Io handler thread %lu starts, id %lu
\n
"
,
segment
,
os_thread_pf
(
os_thread_get_curr_id
()));
#endif
...
...
@@ -1698,53 +1699,45 @@ innobase_start_or_create_for_mysql(void)
}
#ifdef UNIV_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!"
);
#endif
#ifdef UNIV_IBUF_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_IBUF_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_IBUF_DEBUG switched on !!!!!!!!!"
);
# ifdef UNIV_IBUF_COUNT_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_IBUF_COUNT_DEBUG switched on "
"!!!!!!!!!
\n
"
);
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: Crash recovery will fail with UNIV_IBUF_COUNT_DEBUG
\n
"
);
"!!!!!!!!!"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: Crash recovery will fail with UNIV_IBUF_COUNT_DEBUG"
);
# endif
#endif
#ifdef UNIV_BLOB_DEBUG
fprintf
(
stderr
,
ib_logf
(
IB_LOG_LEVEL_INFO
,
"InnoDB: !!!!!!!! UNIV_BLOB_DEBUG switched on !!!!!!!!!
\n
"
"InnoDB: Server restart may fail with UNIV_BLOB_DEBUG
\n
"
);
"InnoDB: Server restart may fail with UNIV_BLOB_DEBUG"
);
#endif
/* UNIV_BLOB_DEBUG */
#ifdef UNIV_SYNC_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!"
);
#endif
#ifdef UNIV_SEARCH_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_SEARCH_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_SEARCH_DEBUG switched on !!!!!!!!!"
);
#endif
#ifdef UNIV_LOG_LSN_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_LOG_LSN_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_LOG_LSN_DEBUG switched on !!!!!!!!!"
);
#endif
/* UNIV_LOG_LSN_DEBUG */
#ifdef UNIV_MEM_DEBUG
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: !!!!!!!! UNIV_MEM_DEBUG switched on !!!!!!!!!
\n
"
);
ib_logf
(
IB_LOG_LEVEL_INFO
,
" InnoDB: !!!!!!!! UNIV_MEM_DEBUG switched on !!!!!!!!!"
);
#endif
if
(
srv_use_sys_malloc
)
{
...
...
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