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
fff4559e
Commit
fff4559e
authored
Oct 16, 2006
by
stewart@willster.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables
update federated for fix
parent
c1903d96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
sql/ha_federated.cc
sql/ha_federated.cc
+3
-3
sql/ha_federated.h
sql/ha_federated.h
+1
-1
No files found.
sql/ha_federated.cc
View file @
fff4559e
...
...
@@ -2385,7 +2385,7 @@ int ha_federated::rnd_pos(byte *buf, byte *pos)
*/
void
ha_federated
::
info
(
uint
flag
)
int
ha_federated
::
info
(
uint
flag
)
{
char
error_buffer
[
FEDERATED_QUERY_BUFFER_SIZE
];
char
status_buf
[
FEDERATED_QUERY_BUFFER_SIZE
];
...
...
@@ -2463,7 +2463,7 @@ void ha_federated::info(uint flag)
if
(
result
)
mysql_free_result
(
result
);
DBUG_
VOID_RETURN
;
DBUG_
RETURN
(
0
)
;
error:
if
(
result
)
...
...
@@ -2472,7 +2472,7 @@ void ha_federated::info(uint flag)
my_sprintf
(
error_buffer
,
(
error_buffer
,
": %d : %s"
,
mysql_errno
(
mysql
),
mysql_error
(
mysql
)));
my_error
(
error_code
,
MYF
(
0
),
error_buffer
);
DBUG_
VOID_RETURN
;
DBUG_
RETURN
(
error_code
)
;
}
...
...
sql/ha_federated.h
View file @
fff4559e
...
...
@@ -285,7 +285,7 @@ class ha_federated: public handler
int
rnd_next
(
byte
*
buf
);
//required
int
rnd_pos
(
byte
*
buf
,
byte
*
pos
);
//required
void
position
(
const
byte
*
record
);
//required
void
info
(
uint
);
//required
int
info
(
uint
);
//required
void
update_auto_increment
(
void
);
int
repair
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
);
...
...
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