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
f3b4b446
Commit
f3b4b446
authored
Nov 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/eric/fed-err-mysql-5.0
parents
e8b14c4d
41924c64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/ha_federated.cc
sql/ha_federated.cc
+2
-2
No files found.
sql/ha_federated.cc
View file @
f3b4b446
...
@@ -2615,7 +2615,7 @@ int ha_federated::stash_remote_error()
...
@@ -2615,7 +2615,7 @@ int ha_federated::stash_remote_error()
{
{
DBUG_ENTER
(
"ha_federated::stash_remote_error()"
);
DBUG_ENTER
(
"ha_federated::stash_remote_error()"
);
remote_error_number
=
mysql_errno
(
mysql
);
remote_error_number
=
mysql_errno
(
mysql
);
my_snprintf
(
remote_error_buf
,
FEDERATED_QUERY_BUFFER_SIZE
,
my_snprintf
(
remote_error_buf
,
sizeof
(
remote_error_buf
),
"%s"
,
mysql_error
(
mysql
));
mysql_error
(
mysql
));
DBUG_RETURN
(
HA_FEDERATED_ERROR_WITH_REMOTE_SYSTEM
);
DBUG_RETURN
(
HA_FEDERATED_ERROR_WITH_REMOTE_SYSTEM
);
}
}
...
@@ -2630,7 +2630,7 @@ bool ha_federated::get_error_message(int error, String* buf)
...
@@ -2630,7 +2630,7 @@ bool ha_federated::get_error_message(int error, String* buf)
buf
->
append
(
"Error on remote system: "
);
buf
->
append
(
"Error on remote system: "
);
buf
->
qs_append
(
remote_error_number
);
buf
->
qs_append
(
remote_error_number
);
buf
->
append
(
": "
);
buf
->
append
(
": "
);
buf
->
append
(
remote_error_buf
,
FEDERATED_QUERY_BUFFER_SIZE
);
buf
->
append
(
remote_error_buf
);
remote_error_number
=
0
;
remote_error_number
=
0
;
remote_error_buf
[
0
]
=
'\0'
;
remote_error_buf
[
0
]
=
'\0'
;
...
...
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