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
32113efe
Commit
32113efe
authored
May 31, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge nleippe@work.mysql.com:/home/bk/mysql
into nick.leippe.com:/home/nick/mysql/mysql
parents
0ceaf6d2
169a4d92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/rpl_empty_master_crash.result
mysql-test/r/rpl_empty_master_crash.result
+2
-0
mysql-test/t/rpl_empty_master_crash.test
mysql-test/t/rpl_empty_master_crash.test
+8
-0
sql/slave.cc
sql/slave.cc
+6
-0
No files found.
mysql-test/r/rpl_empty_master_crash.result
0 → 100644
View file @
32113efe
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter
0 0 0 No 0 0
mysql-test/t/rpl_empty_master_crash.test
0 → 100644
View file @
32113efe
source
include
/
master
-
slave
.
inc
;
connection
master
;
use
test
;
drop
table
if
exists
t1
;
show
slave
status
;
#--error 1218 # for mysql-4.0
--
error
1042
load
table
t1
from
master
;
sql/slave.cc
View file @
32113efe
...
...
@@ -451,6 +451,12 @@ int fetch_nx_table(THD* thd, MASTER_INFO* mi)
goto
err
;
}
if
(
!
mi
->
host
||
!*
mi
->
host
)
{
nx_errno
=
ER_BAD_HOST_ERROR
;
goto
err
;
}
safe_connect
(
thd
,
mysql
,
mi
);
if
(
slave_killed
(
thd
))
goto
err
;
...
...
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