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
bccca8f7
Commit
bccca8f7
authored
Feb 10, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Plain Diff
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1
parents
0aa7a4b4
64f1a5e0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/r/rpl_until.result
mysql-test/r/rpl_until.result
+1
-1
mysql-test/t/rpl_until.test
mysql-test/t/rpl_until.test
+2
-2
sql/protocol.cc
sql/protocol.cc
+2
-2
No files found.
mysql-test/r/rpl_until.result
View file @
bccca8f7
...
@@ -55,7 +55,7 @@ stop slave;
...
@@ -55,7 +55,7 @@ stop slave;
start slave until master_log_file='master-bin.000001', master_log_pos=561;
start slave until master_log_file='master-bin.000001', master_log_pos=561;
show slave status;
show slave status;
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
# 127.0.0.1 root MASTER_MYPORT 1 master-bin.000001 561 slave-relay-bin.000002 # master-bin.000001 Yes
#
0 0 561 # Master master-bin.000001 561 No #
# 127.0.0.1 root MASTER_MYPORT 1 master-bin.000001 561 slave-relay-bin.000002 # master-bin.000001 Yes
No
0 0 561 # Master master-bin.000001 561 No #
start slave until master_log_file='master-bin', master_log_pos=561;
start slave until master_log_file='master-bin', master_log_pos=561;
ERROR HY000: Wrong parameter or combination of parameters for START SLAVE UNTIL
ERROR HY000: Wrong parameter or combination of parameters for START SLAVE UNTIL
start slave until master_log_file='master-bin.000001', master_log_pos=561, relay_log_pos=12;
start slave until master_log_file='master-bin.000001', master_log_pos=561, relay_log_pos=12;
...
...
mysql-test/t/rpl_until.test
View file @
bccca8f7
...
@@ -60,10 +60,10 @@ stop slave;
...
@@ -60,10 +60,10 @@ stop slave;
# this should stop immideately
# this should stop immideately
start
slave
until
master_log_file
=
'master-bin.000001'
,
master_log_pos
=
561
;
start
slave
until
master_log_file
=
'master-bin.000001'
,
master_log_pos
=
561
;
# 2 is not enough when running with valgrind
# 2 is not enough when running with valgrind
--
real
-
sleep
4
;
real_sleep
4
# here the sql slave thread should be stopped
# here the sql slave thread should be stopped
--
replace_result
$MASTER_MYPORT
MASTER_MYPORT
bin
.
000005
bin
.
000004
bin
.
000006
bin
.
000004
bin
.
000007
bin
.
000004
--
replace_result
$MASTER_MYPORT
MASTER_MYPORT
bin
.
000005
bin
.
000004
bin
.
000006
bin
.
000004
bin
.
000007
bin
.
000004
--
replace_column
1
# 9 #
12 #
23 # 33 #
--
replace_column
1
# 9 # 23 # 33 #
show
slave
status
;
show
slave
status
;
#testing various error conditions
#testing various error conditions
...
...
sql/protocol.cc
View file @
bccca8f7
...
@@ -123,7 +123,7 @@ void send_error(THD *thd, uint sql_errno, const char *err)
...
@@ -123,7 +123,7 @@ void send_error(THD *thd, uint sql_errno, const char *err)
/* Abort multi-result sets */
/* Abort multi-result sets */
thd
->
lex
->
found_colon
=
0
;
thd
->
lex
->
found_colon
=
0
;
thd
->
server_status
=
~
SERVER_MORE_RESULTS_EXISTS
;
thd
->
server_status
&
=
~
SERVER_MORE_RESULTS_EXISTS
;
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
...
@@ -356,7 +356,7 @@ send_eof(THD *thd, bool no_flush)
...
@@ -356,7 +356,7 @@ send_eof(THD *thd, bool no_flush)
other queries (see the if test in dispatch_command / COM_QUERY)
other queries (see the if test in dispatch_command / COM_QUERY)
*/
*/
if
(
thd
->
is_fatal_error
)
if
(
thd
->
is_fatal_error
)
thd
->
server_status
=
~
SERVER_MORE_RESULTS_EXISTS
;
thd
->
server_status
&
=
~
SERVER_MORE_RESULTS_EXISTS
;
int2store
(
buff
+
3
,
thd
->
server_status
);
int2store
(
buff
+
3
,
thd
->
server_status
);
VOID
(
my_net_write
(
net
,(
char
*
)
buff
,
5
));
VOID
(
my_net_write
(
net
,(
char
*
)
buff
,
5
));
VOID
(
net_flush
(
net
));
VOID
(
net_flush
(
net
));
...
...
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