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
6d76317a
Commit
6d76317a
authored
Dec 28, 2004
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb: allow Datetime as pk or index key. XXX ordering is wrong before wl-1442 done
parent
b8ce3833
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ndb/src/common/util/NdbSqlUtil.cpp
ndb/src/common/util/NdbSqlUtil.cpp
+3
-4
No files found.
ndb/src/common/util/NdbSqlUtil.cpp
View file @
6d76317a
...
...
@@ -150,7 +150,7 @@ NdbSqlUtil::m_typeList[] = {
},
{
Type
::
Datetime
,
NULL
//
cmpDatetime
cmpDatetime
},
{
Type
::
Timespec
,
...
...
@@ -458,12 +458,11 @@ NdbSqlUtil::cmpVarbinary(const void* info, const void* p1, unsigned n1, const vo
return
0
;
}
//
not used by MySQL or NDB
//
allowed but ordering is wrong before wl-1442 done
int
NdbSqlUtil
::
cmpDatetime
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
,
bool
full
)
{
assert
(
false
);
return
0
;
return
cmpBinary
(
info
,
p1
,
n1
,
p2
,
n2
,
full
);
}
// not used by MySQL or NDB
...
...
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