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
20433597
Commit
20433597
authored
Oct 07, 2002
by
nick@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/nick/mysql/repository/mysql-3.23
into mysql.com:/home/nick/mysql/mysql-3.23
parents
690cba1a
ec04d284
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/log.cc
sql/log.cc
+5
-5
sql/sql_parse.cc
sql/sql_parse.cc
+4
-4
No files found.
BitKeeper/etc/logging_ok
View file @
20433597
...
...
@@ -30,3 +30,4 @@ zak@balfor.local
bar@bar.mysql.r18.ru
paul@teton.kitebird.com
serg@build.mysql2.com
nick@mysql.com
sql/log.cc
View file @
20433597
...
...
@@ -513,12 +513,12 @@ bool MYSQL_LOG::is_active(const char* log_file_name)
void
MYSQL_LOG
::
new_file
(
bool
inside_mutex
)
{
if
(
!
inside_mutex
)
VOID
(
pthread_mutex_lock
(
&
LOCK_log
));
if
(
is_open
())
{
char
new_name
[
FN_REFLEN
],
*
old_name
=
name
;
if
(
!
inside_mutex
)
VOID
(
pthread_mutex_lock
(
&
LOCK_log
));
if
(
!
no_rotate
)
{
/*
...
...
@@ -550,9 +550,9 @@ void MYSQL_LOG::new_file(bool inside_mutex)
my_free
(
old_name
,
MYF
(
0
));
last_time
=
query_start
=
0
;
write_error
=
0
;
if
(
!
inside_mutex
)
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
}
if
(
!
inside_mutex
)
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
}
...
...
sql/sql_parse.cc
View file @
20433597
...
...
@@ -2839,10 +2839,10 @@ bool reload_acl_and_cache(THD *thd, uint options, TABLE_LIST *tables)
}
if
(
options
&
REFRESH_LOG
)
{
mysql_log
.
new_file
();
mysql_update_log
.
new_file
();
mysql_bin_log
.
new_file
();
mysql_slow_log
.
new_file
();
mysql_log
.
new_file
(
0
);
mysql_update_log
.
new_file
(
0
);
mysql_bin_log
.
new_file
(
0
);
mysql_slow_log
.
new_file
(
0
);
if
(
ha_flush_logs
())
result
=
1
;
}
...
...
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