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
57aeec9a
Commit
57aeec9a
authored
Feb 16, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into perch.ndb.mysql.com:/home/jonas/src/51-clean
parents
ba02b2e4
3eacd484
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
19 deletions
+21
-19
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-0
mysql-test/r/binlog_row_mix_innodb_myisam.result
mysql-test/r/binlog_row_mix_innodb_myisam.result
+14
-14
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-1
mysys/thr_mutex.c
mysys/thr_mutex.c
+5
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
57aeec9a
...
@@ -1235,6 +1235,7 @@ sub kill_running_server () {
...
@@ -1235,6 +1235,7 @@ sub kill_running_server () {
$using_ndbcluster_master
=
$opt_with_ndbcluster
;
$using_ndbcluster_master
=
$opt_with_ndbcluster
;
ndbcluster_stop
();
ndbcluster_stop
();
$master
->
[
0
]
->
{'
ndbcluster
'}
=
1
;
$master
->
[
0
]
->
{'
ndbcluster
'}
=
1
;
$using_ndbcluster_slave
=
$opt_with_ndbcluster
;
ndbcluster_stop_slave
();
ndbcluster_stop_slave
();
$slave
->
[
0
]
->
{'
ndbcluster
'}
=
1
;
$slave
->
[
0
]
->
{'
ndbcluster
'}
=
1
;
}
}
...
...
mysql-test/r/binlog_row_mix_innodb_myisam.result
View file @
57aeec9a
...
@@ -210,7 +210,7 @@ master-bin.000001 282 Write_rows 1 #
...
@@ -210,7 +210,7 @@ master-bin.000001 282 Write_rows 1 #
master-bin.000001 316 Xid 1 # COMMIT /* xid= */
master-bin.000001 316 Xid 1 # COMMIT /* xid= */
delete from t1;
delete from t1;
delete from t2;
delete from t2;
alter table t2
typ
e=MyISAM;
alter table t2
engin
e=MyISAM;
insert into t1 values (1);
insert into t1 values (1);
begin;
begin;
select * from t1 for update;
select * from t1 for update;
...
@@ -266,18 +266,18 @@ master-bin.000001 343 Query 1 # use `test`; delete from t1
...
@@ -266,18 +266,18 @@ master-bin.000001 343 Query 1 # use `test`; delete from t1
master-bin.000001 420 Xid 1 # COMMIT /* xid= */
master-bin.000001 420 Xid 1 # COMMIT /* xid= */
master-bin.000001 447 Query 1 # use `test`; delete from t2
master-bin.000001 447 Query 1 # use `test`; delete from t2
master-bin.000001 524 Xid 1 # COMMIT /* xid= */
master-bin.000001 524 Xid 1 # COMMIT /* xid= */
master-bin.000001 551 Query 1 # use `test`; alter table t2
typ
e=MyISAM
master-bin.000001 551 Query 1 # use `test`; alter table t2
engin
e=MyISAM
master-bin.000001 64
0
Table_map 1 # test.t1
master-bin.000001 64
2
Table_map 1 # test.t1
master-bin.000001 6
79
Write_rows 1 #
master-bin.000001 6
81
Write_rows 1 #
master-bin.000001 71
3
Xid 1 # COMMIT /* xid= */
master-bin.000001 71
5
Xid 1 # COMMIT /* xid= */
master-bin.000001 74
0
Table_map 1 # test.t2
master-bin.000001 74
2
Table_map 1 # test.t2
master-bin.000001 7
79
Write_rows 1 #
master-bin.000001 7
81
Write_rows 1 #
master-bin.000001 81
3
Query 1 # use `test`; drop table t1,t2
master-bin.000001 81
5
Query 1 # use `test`; drop table t1,t2
master-bin.000001 89
2
Query 1 # use `test`; create table t0 (n int)
master-bin.000001 89
4
Query 1 # use `test`; create table t0 (n int)
master-bin.000001 9
78
Table_map 1 # test.t0
master-bin.000001 9
80
Table_map 1 # test.t0
master-bin.000001 101
7
Write_rows 1 #
master-bin.000001 101
9
Write_rows 1 #
master-bin.000001 105
1
Table_map 1 # test.t0
master-bin.000001 105
3
Table_map 1 # test.t0
master-bin.000001 109
0
Write_rows 1 #
master-bin.000001 109
2
Write_rows 1 #
master-bin.000001 112
4
Query 1 # use `test`; create table t2 (n int) engine=innodb
master-bin.000001 112
6
Query 1 # use `test`; create table t2 (n int) engine=innodb
do release_lock("lock1");
do release_lock("lock1");
drop table t0,t2;
drop table t0,t2;
mysql-test/t/disabled.def
View file @
57aeec9a
...
@@ -32,8 +32,8 @@ rpl_until : Unstable test case, bug#15886
...
@@ -32,8 +32,8 @@ rpl_until : Unstable test case, bug#15886
sp-goto : GOTO is currently is disabled - will be fixed in the future
sp-goto : GOTO is currently is disabled - will be fixed in the future
subselect : Bug#15706 (ps mode) [PATCH PENDING]
subselect : Bug#15706 (ps mode) [PATCH PENDING]
rpl_ndb_log : result not deterministic
rpl_ndb_log : result not deterministic
binlog_row_mix_innodb_myisam : Bug #17386
binlog_row_insert_select : Bug #17385
binlog_row_insert_select : Bug #17385
rpl_row_basic_2myisam : Bug #17385
rpl_row_basic_2myisam : Bug #17385
rpl_row_basic_3innodb : Bug #17385
rpl_row_basic_3innodb : Bug #17385
rpl_row_create_table : Bug #17385
rpl_row_create_table : Bug #17385
ndb_load : Bug#17233
mysys/thr_mutex.c
View file @
57aeec9a
...
@@ -121,6 +121,7 @@ int safe_mutex_lock(safe_mutex_t *mp,const char *file, uint line)
...
@@ -121,6 +121,7 @@ int safe_mutex_lock(safe_mutex_t *mp,const char *file, uint line)
fflush
(
stderr
);
fflush
(
stderr
);
abort
();
abort
();
}
}
mp
->
thread
=
pthread_self
();
if
(
mp
->
count
++
)
if
(
mp
->
count
++
)
{
{
fprintf
(
stderr
,
"safe_mutex: Error in thread libray: Got mutex at %s, \
fprintf
(
stderr
,
"safe_mutex: Error in thread libray: Got mutex at %s, \
...
@@ -128,7 +129,6 @@ line %d more than 1 time\n", file,line);
...
@@ -128,7 +129,6 @@ line %d more than 1 time\n", file,line);
fflush
(
stderr
);
fflush
(
stderr
);
abort
();
abort
();
}
}
mp
->
thread
=
pthread_self
();
mp
->
file
=
file
;
mp
->
file
=
file
;
mp
->
line
=
line
;
mp
->
line
=
line
;
pthread_mutex_unlock
(
&
mp
->
global
);
pthread_mutex_unlock
(
&
mp
->
global
);
...
@@ -154,6 +154,7 @@ int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line)
...
@@ -154,6 +154,7 @@ int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line)
fflush
(
stderr
);
fflush
(
stderr
);
abort
();
abort
();
}
}
mp
->
thread
=
0
;
mp
->
count
--
;
mp
->
count
--
;
#ifdef __WIN__
#ifdef __WIN__
pthread_mutex_unlock
(
&
mp
->
mutex
);
pthread_mutex_unlock
(
&
mp
->
mutex
);
...
@@ -207,6 +208,7 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file,
...
@@ -207,6 +208,7 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file,
fflush
(
stderr
);
fflush
(
stderr
);
abort
();
abort
();
}
}
mp
->
thread
=
pthread_self
();
if
(
mp
->
count
++
)
if
(
mp
->
count
++
)
{
{
fprintf
(
stderr
,
fprintf
(
stderr
,
...
@@ -215,7 +217,6 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file,
...
@@ -215,7 +217,6 @@ int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp, const char *file,
fflush
(
stderr
);
fflush
(
stderr
);
abort
();
abort
();
}
}
mp
->
thread
=
pthread_self
();
mp
->
file
=
file
;
mp
->
file
=
file
;
mp
->
line
=
line
;
mp
->
line
=
line
;
pthread_mutex_unlock
(
&
mp
->
global
);
pthread_mutex_unlock
(
&
mp
->
global
);
...
@@ -245,6 +246,7 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp,
...
@@ -245,6 +246,7 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp,
}
}
#endif
#endif
pthread_mutex_lock
(
&
mp
->
global
);
pthread_mutex_lock
(
&
mp
->
global
);
mp
->
thread
=
pthread_self
();
if
(
mp
->
count
++
)
if
(
mp
->
count
++
)
{
{
fprintf
(
stderr
,
fprintf
(
stderr
,
...
@@ -253,7 +255,6 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp,
...
@@ -253,7 +255,6 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp,
fflush
(
stderr
);
fflush
(
stderr
);
abort
();
abort
();
}
}
mp
->
thread
=
pthread_self
();
mp
->
file
=
file
;
mp
->
file
=
file
;
mp
->
line
=
line
;
mp
->
line
=
line
;
pthread_mutex_unlock
(
&
mp
->
global
);
pthread_mutex_unlock
(
&
mp
->
global
);
...
...
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