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
9588dc01
Commit
9588dc01
authored
Apr 22, 2003
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix error message for for load data infile
parent
46af747b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
sql/log_event.cc
sql/log_event.cc
+6
-6
No files found.
sql/log_event.cc
View file @
9588dc01
...
@@ -1922,13 +1922,13 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
...
@@ -1922,13 +1922,13 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
close_thread_tables
(
thd
);
close_thread_tables
(
thd
);
if
(
thd
->
query_error
)
if
(
thd
->
query_error
)
{
{
int
sql_error
=
thd
->
net
.
last_errno
;
int
sql_error
=
thd
->
net
.
last_errno
;
if
(
!
sql_error
)
if
(
!
sql_error
)
sql_error
=
ER_UNKNOWN_ERROR
;
sql_error
=
ER_UNKNOWN_ERROR
;
slave_print_error
(
rli
,
sql_error
,
slave_print_error
(
rli
,
sql_error
,
"Slave: Error '%s' running load data infile "
,
"Error '%s' running load data infile"
,
ER_SAFE
(
sql_error
));
sql_error
?
thd
->
net
.
last_error
:
ER_SAFE
(
ER_UNKNOWN_ERROR
));
free_root
(
&
thd
->
mem_root
,
0
);
free_root
(
&
thd
->
mem_root
,
0
);
return
1
;
return
1
;
}
}
...
@@ -1936,7 +1936,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
...
@@ -1936,7 +1936,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
if
(
thd
->
fatal_error
)
if
(
thd
->
fatal_error
)
{
{
sql_print_error
(
"
Slave:
Fatal error running LOAD DATA INFILE "
);
sql_print_error
(
"Fatal error running LOAD DATA INFILE "
);
return
1
;
return
1
;
}
}
...
...
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