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
5b6708e3
Commit
5b6708e3
authored
Apr 09, 2006
by
aelkin@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/5.0
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.1
parents
95d1d4b5
f5c52797
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
mysql-test/include/get_binlog_dump_thread_id.inc
mysql-test/include/get_binlog_dump_thread_id.inc
+1
-3
mysql-test/r/rpl_temporary.result
mysql-test/r/rpl_temporary.result
+1
-0
sql/log.cc
sql/log.cc
+5
-1
No files found.
mysql-test/include/get_binlog_dump_thread_id.inc
View file @
5b6708e3
...
@@ -3,9 +3,7 @@
...
@@ -3,9 +3,7 @@
drop
table
if
exists
t999
;
drop
table
if
exists
t999
;
--
enable_warnings
--
enable_warnings
create
temporary
table
t999
(
f
int
);
create
temporary
table
t999
(
f
int
);
### --replace_result $MYSQL_TEST_DIR "." #failed on solaris etc bug#18906
--
replace_result
$MYSQLTEST_VARDIR
"."
--
disable_query_log
eval
LOAD
DATA
INFILE
"
$MYSQLTEST_VARDIR
/tmp/bl_dump_thread_id"
into
table
t999
;
eval
LOAD
DATA
INFILE
"
$MYSQLTEST_VARDIR
/tmp/bl_dump_thread_id"
into
table
t999
;
--
enable_query_log
let
$id
=
`select f from t999`
;
let
$id
=
`select f from t999`
;
drop
table
t999
;
drop
table
t999
;
mysql-test/r/rpl_temporary.result
View file @
5b6708e3
...
@@ -78,6 +78,7 @@ create temporary table t4 (f int);
...
@@ -78,6 +78,7 @@ create temporary table t4 (f int);
create table t5 (f int);
create table t5 (f int);
drop table if exists t999;
drop table if exists t999;
create temporary table t999 (f int);
create temporary table t999 (f int);
LOAD DATA INFILE "./tmp/bl_dump_thread_id" into table t999;
drop table t999;
drop table t999;
insert into t4 values (1);
insert into t4 values (1);
kill `select id from information_schema.processlist where command='Binlog Dump'`;
kill `select id from information_schema.processlist where command='Binlog Dump'`;
...
...
sql/log.cc
View file @
5b6708e3
...
@@ -3122,7 +3122,11 @@ DBUG_skip_commit:
...
@@ -3122,7 +3122,11 @@ DBUG_skip_commit:
rotate binlog, if necessary.
rotate binlog, if necessary.
*/
*/
if
(
commit_event
->
get_type_code
()
==
XID_EVENT
)
if
(
commit_event
->
get_type_code
()
==
XID_EVENT
)
thread_safe_increment
(
prepared_xids
,
&
LOCK_prep_xids
);
{
pthread_mutex_lock
(
&
LOCK_prep_xids
);
prepared_xids
++
;
pthread_mutex_unlock
(
&
LOCK_prep_xids
);
}
else
else
rotate_and_purge
(
RP_LOCK_LOG_IS_ALREADY_LOCKED
);
rotate_and_purge
(
RP_LOCK_LOG_IS_ALREADY_LOCKED
);
}
}
...
...
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