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
ac9de478
Commit
ac9de478
authored
Aug 15, 2000
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for the fatal bug in LOAD TABLE FROM MASTER
parent
b617e9ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
sql/slave.cc
sql/slave.cc
+1
-1
sql/sql_parse.cc
sql/sql_parse.cc
+0
-1
No files found.
sql/slave.cc
View file @
ac9de478
...
@@ -169,7 +169,7 @@ static int create_table_from_dump(THD* thd, NET* net, const char* db,
...
@@ -169,7 +169,7 @@ static int create_table_from_dump(THD* thd, NET* net, const char* db,
tables
.
name
=
tables
.
real_name
=
(
char
*
)
table_name
;
tables
.
name
=
tables
.
real_name
=
(
char
*
)
table_name
;
tables
.
lock_type
=
TL_WRITE
;
tables
.
lock_type
=
TL_WRITE
;
thd
->
proc_info
=
"Opening master dump table"
;
thd
->
proc_info
=
"Opening master dump table"
;
if
(
open_ltable
(
thd
,
&
tables
)
||
!
tables
.
table
)
if
(
!
open_ltable
(
thd
,
&
tables
,
TL_WRITE
)
)
{
{
// open tables will send the error
// open tables will send the error
sql_print_error
(
"create_table_from_dump: could not open created table"
);
sql_print_error
(
"create_table_from_dump: could not open created table"
);
...
...
sql/sql_parse.cc
View file @
ac9de478
...
@@ -248,7 +248,6 @@ check_connections(THD *thd)
...
@@ -248,7 +248,6 @@ check_connections(THD *thd)
int2store
(
end
+
3
,
thd
->
server_status
);
int2store
(
end
+
3
,
thd
->
server_status
);
bzero
(
end
+
5
,
13
);
bzero
(
end
+
5
,
13
);
end
+=
18
;
end
+=
18
;
net
->
timeout
=
net_read_timeout
;
if
(
net_write_command
(
net
,
protocol_version
,
buff
,
if
(
net_write_command
(
net
,
protocol_version
,
buff
,
(
uint
)
(
end
-
buff
))
||
(
uint
)
(
end
-
buff
))
||
(
pkt_len
=
my_net_read
(
net
))
==
packet_error
||
(
pkt_len
=
my_net_read
(
net
))
==
packet_error
||
...
...
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