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
8b977a6c
Commit
8b977a6c
authored
Dec 27, 2021
by
Monty
Committed by
Sergei Petrunia
Jan 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-14907 FEDERATEDX doesn't respect DISTINCT
This is a minor cleanup of the original commit
parent
9d0fbcc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
storage/federated/ha_federated.h
storage/federated/ha_federated.h
+2
-8
No files found.
storage/federated/ha_federated.h
View file @
8b977a6c
...
...
@@ -240,16 +240,11 @@ class ha_federated: public handler
void
position
(
const
uchar
*
record
);
//required
/*
A ref is a pointer inside a local buffer. It is not comparable to
other ref's.
This is never called as HA_NON_COMPARABLE_ROWID is set.
other ref's.
*/
int
cmp_ref
(
const
uchar
*
ref1
,
const
uchar
*
ref2
)
{
#ifdef NOT_YET
DBUG_ASSERT
(
0
);
return
0
;
#else
return
handler
::
cmp_ref
(
ref1
,
ref2
);
/* Works if table scan is used */
#endif
return
handler
::
cmp_ref
(
ref1
,
ref2
);
/* Works if table scan is used */
}
int
info
(
uint
);
//required
int
extra
(
ha_extra_function
operation
);
...
...
@@ -285,4 +280,3 @@ class ha_federated: public handler
int
execute_simple_query
(
const
char
*
query
,
int
len
);
int
reset
(
void
);
};
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