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
5f0e117a
Commit
5f0e117a
authored
Jun 17, 2004
by
tomas@poseidon.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed warnings on Tru64
parent
1ffa7e6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
ndb/include/util/NdbSqlUtil.hpp
ndb/include/util/NdbSqlUtil.hpp
+0
-14
No files found.
ndb/include/util/NdbSqlUtil.hpp
View file @
5f0e117a
...
@@ -150,7 +150,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -150,7 +150,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Tinyunsigned
:
case
Type
:
:
Tinyunsigned
:
{
{
if
(
size
>=
1
)
{
if
(
size
>=
1
)
{
...
@@ -165,7 +164,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -165,7 +164,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Smallint
:
case
Type
:
:
Smallint
:
{
{
if
(
size
>=
1
)
{
if
(
size
>=
1
)
{
...
@@ -180,7 +178,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -180,7 +178,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Smallunsigned
:
case
Type
:
:
Smallunsigned
:
{
{
if
(
size
>=
1
)
{
if
(
size
>=
1
)
{
...
@@ -195,7 +192,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -195,7 +192,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Mediumint
:
// XXX fix these
case
Type
:
:
Mediumint
:
// XXX fix these
break
;
break
;
case
Type
:
:
Mediumunsigned
:
case
Type
:
:
Mediumunsigned
:
...
@@ -214,7 +210,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -214,7 +210,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Unsigned
:
case
Type
:
:
Unsigned
:
{
{
if
(
size
>=
1
)
{
if
(
size
>=
1
)
{
...
@@ -229,7 +224,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -229,7 +224,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Bigint
:
case
Type
:
:
Bigint
:
{
{
if
(
size
>=
2
)
{
if
(
size
>=
2
)
{
...
@@ -246,7 +240,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -246,7 +240,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Bigunsigned
:
case
Type
:
:
Bigunsigned
:
{
{
if
(
size
>=
2
)
{
if
(
size
>=
2
)
{
...
@@ -263,7 +256,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -263,7 +256,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Float
:
case
Type
:
:
Float
:
{
{
if
(
size
>=
1
)
{
if
(
size
>=
1
)
{
...
@@ -278,7 +270,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -278,7 +270,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Double
:
case
Type
:
:
Double
:
{
{
if
(
size
>=
2
)
{
if
(
size
>=
2
)
{
...
@@ -295,7 +286,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -295,7 +286,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Decimal
:
case
Type
:
:
Decimal
:
break
;
break
;
case
Type
:
:
Char
:
case
Type
:
:
Char
:
...
@@ -310,7 +300,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -310,7 +300,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
int
k
=
memcmp
(
u1
.
v
,
u2
.
v
,
size
<<
2
);
int
k
=
memcmp
(
u1
.
v
,
u2
.
v
,
size
<<
2
);
return
k
<
0
?
-
1
:
k
>
0
?
+
1
:
full
==
size
?
0
:
CmpUnknown
;
return
k
<
0
?
-
1
:
k
>
0
?
+
1
:
full
==
size
?
0
:
CmpUnknown
;
}
}
break
;
case
Type
:
:
Varchar
:
case
Type
:
:
Varchar
:
{
{
/*
/*
...
@@ -328,7 +317,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -328,7 +317,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Binary
:
// XXX fix these
case
Type
:
:
Binary
:
// XXX fix these
break
;
break
;
case
Type
:
:
Varbinary
:
case
Type
:
:
Varbinary
:
...
@@ -352,7 +340,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -352,7 +340,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
case
Type
:
:
Timespec
:
// XXX fix this
case
Type
:
:
Timespec
:
// XXX fix this
break
;
break
;
case
Type
:
:
Blob
:
// XXX fix
case
Type
:
:
Blob
:
// XXX fix
...
@@ -371,7 +358,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
...
@@ -371,7 +358,6 @@ NdbSqlUtil::cmp(Uint32 typeId, const Uint32* p1, const Uint32* p2, Uint32 full,
}
}
return
CmpUnknown
;
return
CmpUnknown
;
}
}
break
;
}
}
return
CmpError
;
return
CmpError
;
}
}
...
...
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