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
51553a5a
Commit
51553a5a
authored
Feb 16, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - post-merge fixes
parent
c177f9fc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
ndb/include/ndb_constants.h
ndb/include/ndb_constants.h
+3
-2
ndb/include/ndbapi/NdbDictionary.hpp
ndb/include/ndbapi/NdbDictionary.hpp
+1
-2
ndb/src/common/util/NdbSqlUtil.cpp
ndb/src/common/util/NdbSqlUtil.cpp
+1
-0
ndb/test/src/HugoCalculator.cpp
ndb/test/src/HugoCalculator.cpp
+2
-1
No files found.
ndb/include/ndb_constants.h
View file @
51553a5a
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
#define NDB_TYPE_BIGUNSIGNED 10
#define NDB_TYPE_BIGUNSIGNED 10
#define NDB_TYPE_FLOAT 11
#define NDB_TYPE_FLOAT 11
#define NDB_TYPE_DOUBLE 12
#define NDB_TYPE_DOUBLE 12
#define NDB_TYPE_
DECIMAL 13
/* not used */
#define NDB_TYPE_
OLDDECIMAL 13
#define NDB_TYPE_CHAR 14
#define NDB_TYPE_CHAR 14
#define NDB_TYPE_VARCHAR 15
#define NDB_TYPE_VARCHAR 15
#define NDB_TYPE_BINARY 16
#define NDB_TYPE_BINARY 16
...
@@ -63,7 +63,8 @@
...
@@ -63,7 +63,8 @@
#define NDB_TYPE_TIME 25
#define NDB_TYPE_TIME 25
#define NDB_TYPE_YEAR 26
#define NDB_TYPE_YEAR 26
#define NDB_TYPE_TIMESTAMP 27
#define NDB_TYPE_TIMESTAMP 27
#define NDB_TYPE_OLDDECIMALUNSIGNED 28
#define NDB_TYPE_MAX 2
8
#define NDB_TYPE_MAX 2
9
#endif
#endif
ndb/include/ndbapi/NdbDictionary.hpp
View file @
51553a5a
...
@@ -184,9 +184,8 @@ public:
...
@@ -184,9 +184,8 @@ public:
Bigunsigned
=
NDB_TYPE_BIGUNSIGNED
,
///< 64 Bit. 8 byte signed integer, can be used in array
Bigunsigned
=
NDB_TYPE_BIGUNSIGNED
,
///< 64 Bit. 8 byte signed integer, can be used in array
Float
=
NDB_TYPE_FLOAT
,
///< 32-bit float. 4 bytes float, can be used in array
Float
=
NDB_TYPE_FLOAT
,
///< 32-bit float. 4 bytes float, can be used in array
Double
=
NDB_TYPE_DOUBLE
,
///< 64-bit float. 8 byte float, can be used in array
Double
=
NDB_TYPE_DOUBLE
,
///< 64-bit float. 8 byte float, can be used in array
Decimal
=
NDB_TYPE_DECIMAL
,
///< Precision, Scale are applicable
Olddecimal
=
NDB_TYPE_OLDDECIMAL
,
///< MySQL < 5.0 signed decimal, Precision, Scale
Olddecimal
=
NDB_TYPE_OLDDECIMAL
,
///< MySQL < 5.0 signed decimal, Precision, Scale
Olddecimalunsigned
=
NDB_TYPE_OLDDECIMAL
_
UNSIGNED
,
Olddecimalunsigned
=
NDB_TYPE_OLDDECIMALUNSIGNED
,
Char
=
NDB_TYPE_CHAR
,
///< Len. A fixed array of 1-byte chars
Char
=
NDB_TYPE_CHAR
,
///< Len. A fixed array of 1-byte chars
Varchar
=
NDB_TYPE_VARCHAR
,
///< Length bytes: 1, Max: 255
Varchar
=
NDB_TYPE_VARCHAR
,
///< Length bytes: 1, Max: 255
Binary
=
NDB_TYPE_BINARY
,
///< Len
Binary
=
NDB_TYPE_BINARY
,
///< Len
...
...
ndb/src/common/util/NdbSqlUtil.cpp
View file @
51553a5a
...
@@ -434,6 +434,7 @@ NdbSqlUtil::cmpDouble(const void* info, const void* p1, unsigned n1, const void*
...
@@ -434,6 +434,7 @@ NdbSqlUtil::cmpDouble(const void* info, const void* p1, unsigned n1, const void*
return
CmpUnknown
;
return
CmpUnknown
;
}
}
int
NdbSqlUtil
::
cmp_olddecimal
(
const
uchar
*
s1
,
const
uchar
*
s2
,
unsigned
n
)
NdbSqlUtil
::
cmp_olddecimal
(
const
uchar
*
s1
,
const
uchar
*
s2
,
unsigned
n
)
{
{
int
sgn
=
+
1
;
int
sgn
=
+
1
;
...
...
ndb/test/src/HugoCalculator.cpp
View file @
51553a5a
...
@@ -145,7 +145,8 @@ HugoCalculator::calcValue(int record,
...
@@ -145,7 +145,8 @@ HugoCalculator::calcValue(int record,
case
NdbDictionary
:
:
Column
::
Bigunsigned
:
case
NdbDictionary
:
:
Column
::
Bigunsigned
:
case
NdbDictionary
:
:
Column
::
Float
:
case
NdbDictionary
:
:
Column
::
Float
:
case
NdbDictionary
:
:
Column
::
Double
:
case
NdbDictionary
:
:
Column
::
Double
:
case
NdbDictionary
:
:
Column
::
Decimal
:
case
NdbDictionary
:
:
Column
::
Olddecimal
:
case
NdbDictionary
:
:
Column
::
Olddecimalunsigned
:
case
NdbDictionary
:
:
Column
::
Binary
:
case
NdbDictionary
:
:
Column
::
Binary
:
case
NdbDictionary
:
:
Column
::
Datetime
:
case
NdbDictionary
:
:
Column
::
Datetime
:
case
NdbDictionary
:
:
Column
::
Time
:
case
NdbDictionary
:
:
Column
::
Time
:
...
...
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