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
2180197c
Commit
2180197c
authored
Dec 15, 2005
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-release
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents
6dc0fbbe
04cff0d0
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
9 deletions
+17
-9
include/config-win.h
include/config-win.h
+5
-0
mysql-test/r/ndb_multi.result
mysql-test/r/ndb_multi.result
+1
-0
mysql-test/r/rpl000001.result
mysql-test/r/rpl000001.result
+1
-1
mysql-test/t/flush_read_lock_kill.test
mysql-test/t/flush_read_lock_kill.test
+1
-1
mysql-test/t/ndb_multi.test
mysql-test/t/ndb_multi.test
+1
-0
mysql-test/t/rpl000001.test
mysql-test/t/rpl000001.test
+1
-1
mysql-test/t/rpl_deadlock.test
mysql-test/t/rpl_deadlock.test
+3
-3
mysql-test/t/rpl_error_ignored_table.test
mysql-test/t/rpl_error_ignored_table.test
+1
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+0
-1
sql/sql_class.cc
sql/sql_class.cc
+3
-1
No files found.
include/config-win.h
View file @
2180197c
...
...
@@ -325,6 +325,11 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_SETFILEPOINTER
#define HAVE_VIO_READ_BUFF
#ifndef __NT__
#undef FILE_SHARE_DELETE
#define FILE_SHARE_DELETE 0
/* Not implemented on Win 98/ME */
#endif
#ifdef NOT_USED
#define HAVE_SNPRINTF
/* Gave link error */
#define _snprintf snprintf
...
...
mysql-test/r/ndb_multi.result
View file @
2180197c
...
...
@@ -35,6 +35,7 @@ Level Code Message
Error 1296 Got error 241 'Invalid schema object version' from NDB
Error 1412 Table definition has changed, please retry transaction
Error 1105 Unknown error
flush table t1;
select * from t1;
a
2
...
...
mysql-test/r/rpl000001.result
View file @
2180197c
...
...
@@ -50,7 +50,7 @@ select (@id := id) - id from t2;
0
kill @id;
drop table t2;
ERROR 08S01: Server shutdown in progres
s
Got one of the listed error
s
set global sql_slave_skip_counter=1;
start slave;
select count(*) from t1;
...
...
mysql-test/t/flush_read_lock_kill.test
View file @
2180197c
...
...
@@ -42,7 +42,7 @@ connection con1;
# debug build running without our --debug=make_global..., will be
# error 0 (no error). The only important thing to test is that on
# debug builds with our --debug=make_global... we don't hang forever.
--
error
0
,
1053
--
error
0
,
1053
,
2013
reap
;
connection
con2
;
...
...
mysql-test/t/ndb_multi.test
View file @
2180197c
...
...
@@ -41,6 +41,7 @@ connection server1;
--
error
1412
select
*
from
t1
;
show
warnings
;
flush
table
t1
;
select
*
from
t1
;
# Connect to server2 and use the tables from there
...
...
mysql-test/t/rpl000001.test
View file @
2180197c
...
...
@@ -92,7 +92,7 @@ kill @id;
# We don't drop t3 as this is a temporary table
drop
table
t2
;
connection
master
;
--
error
1053
--
error
1053
,
2013
reap
;
connection
slave
;
# The SQL slave thread should now have stopped because the query was killed on
...
...
mysql-test/t/rpl_deadlock.test
View file @
2180197c
...
...
@@ -58,7 +58,7 @@ while ($1)
enable_query_log
;
select
*
from
t1
for
update
;
start
slave
;
--
sleep
3
# hope that slave is blocked now
--
real_
sleep
3
# hope that slave is blocked now
insert
into
t2
values
(
22
);
# provoke deadlock, slave should be victim
commit
;
sync_with_master
;
...
...
@@ -76,7 +76,7 @@ change master to master_log_pos=532; # the BEGIN log event
begin
;
select
*
from
t2
for
update
;
# hold lock
start
slave
;
--
sleep
10
# slave should have blocked, and be retrying
--
real_
sleep
10
# slave should have blocked, and be retrying
commit
;
sync_with_master
;
select
*
from
t1
;
# check that slave succeeded finally
...
...
@@ -97,7 +97,7 @@ change master to master_log_pos=532;
begin
;
select
*
from
t2
for
update
;
start
slave
;
--
sleep
10
--
real_
sleep
10
commit
;
sync_with_master
;
select
*
from
t1
;
...
...
mysql-test/t/rpl_error_ignored_table.test
View file @
2180197c
...
...
@@ -45,7 +45,7 @@ select (@id := id) - id from t3;
kill
@
id
;
drop
table
t2
,
t3
;
connection
master
;
--
error
0
,
1053
--
error
0
,
1053
,
2013
reap
;
connection
master1
;
--
replace_column
2
# 5 #
...
...
sql/ha_ndbcluster.cc
View file @
2180197c
...
...
@@ -3014,7 +3014,6 @@ void ha_ndbcluster::position(const byte *record)
}
*
buff
++=
0
;
}
size_t
len
=
key_part
->
length
;
const
byte
*
ptr
=
record
+
key_part
->
offset
;
Field
*
field
=
key_part
->
field
;
...
...
sql/sql_class.cc
View file @
2180197c
...
...
@@ -473,10 +473,12 @@ void THD::awake(THD::killed_state state_to_set)
killed
=
state_to_set
;
if
(
state_to_set
!=
THD
::
KILL_QUERY
)
{
thr_alarm_kill
(
real_id
);
#ifdef SIGNAL_WITH_VIO_CLOSE
close_active_vio
();
close_active_vio
();
#endif
}
if
(
mysys_var
)
{
pthread_mutex_lock
(
&
mysys_var
->
mutex
);
...
...
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