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
dffefb30
Commit
dffefb30
authored
Feb 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-5.0-ndb
parents
73f6b118
2403965d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
ndb/include/util/NdbSqlUtil.hpp
ndb/include/util/NdbSqlUtil.hpp
+3
-0
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+1
-1
ndb/src/common/util/NdbSqlUtil.cpp
ndb/src/common/util/NdbSqlUtil.cpp
+24
-3
No files found.
ndb/include/util/NdbSqlUtil.hpp
View file @
dffefb30
...
@@ -178,8 +178,11 @@ private:
...
@@ -178,8 +178,11 @@ private:
static
Cmp
cmpDecimalunsigned
;
static
Cmp
cmpDecimalunsigned
;
//
//
static
Like
likeChar
;
static
Like
likeChar
;
static
Like
likeBinary
;
static
Like
likeVarchar
;
static
Like
likeVarchar
;
static
Like
likeVarbinary
;
static
Like
likeLongvarchar
;
static
Like
likeLongvarchar
;
static
Like
likeLongvarbinary
;
};
};
#endif
#endif
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
dffefb30
...
@@ -132,7 +132,7 @@ void TransporterRegistry::set_mgm_handle(NdbMgmHandle h)
...
@@ -132,7 +132,7 @@ void TransporterRegistry::set_mgm_handle(NdbMgmHandle h)
}
}
#endif
#endif
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
;
}
TransporterRegistry
::~
TransporterRegistry
()
{
TransporterRegistry
::~
TransporterRegistry
()
{
...
...
ndb/src/common/util/NdbSqlUtil.cpp
View file @
dffefb30
...
@@ -107,12 +107,12 @@ NdbSqlUtil::m_typeList[] = {
...
@@ -107,12 +107,12 @@ NdbSqlUtil::m_typeList[] = {
{
// 16
{
// 16
Type
::
Binary
,
Type
::
Binary
,
cmpBinary
,
cmpBinary
,
NULL
likeBinary
},
},
{
// 17
{
// 17
Type
::
Varbinary
,
Type
::
Varbinary
,
cmpVarbinary
,
cmpVarbinary
,
NULL
likeVarbinary
},
},
{
// 18
{
// 18
Type
::
Datetime
,
Type
::
Datetime
,
...
@@ -147,7 +147,7 @@ NdbSqlUtil::m_typeList[] = {
...
@@ -147,7 +147,7 @@ NdbSqlUtil::m_typeList[] = {
{
// 24
{
// 24
Type
::
Longvarbinary
,
Type
::
Longvarbinary
,
cmpLongvarbinary
,
cmpLongvarbinary
,
NULL
likeLongvarbinary
},
},
{
// 25
{
// 25
Type
::
Time
,
Type
::
Time
,
...
@@ -805,6 +805,13 @@ NdbSqlUtil::likeChar(const void* info, const void* p1, unsigned n1, const void*
...
@@ -805,6 +805,13 @@ NdbSqlUtil::likeChar(const void* info, const void* p1, unsigned n1, const void*
return
k
;
return
k
;
}
}
int
NdbSqlUtil
::
likeBinary
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
{
assert
(
info
==
0
);
return
likeChar
(
&
my_charset_bin
,
p1
,
n1
,
p2
,
n2
);
}
int
int
NdbSqlUtil
::
likeVarchar
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
NdbSqlUtil
::
likeVarchar
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
{
{
...
@@ -825,6 +832,13 @@ NdbSqlUtil::likeVarchar(const void* info, const void* p1, unsigned n1, const voi
...
@@ -825,6 +832,13 @@ NdbSqlUtil::likeVarchar(const void* info, const void* p1, unsigned n1, const voi
return
-
1
;
return
-
1
;
}
}
int
NdbSqlUtil
::
likeVarbinary
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
{
assert
(
info
==
0
);
return
likeVarchar
(
&
my_charset_bin
,
p1
,
n1
,
p2
,
n2
);
}
int
int
NdbSqlUtil
::
likeLongvarchar
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
NdbSqlUtil
::
likeLongvarchar
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
{
{
...
@@ -845,6 +859,13 @@ NdbSqlUtil::likeLongvarchar(const void* info, const void* p1, unsigned n1, const
...
@@ -845,6 +859,13 @@ NdbSqlUtil::likeLongvarchar(const void* info, const void* p1, unsigned n1, const
return
-
1
;
return
-
1
;
}
}
int
NdbSqlUtil
::
likeLongvarbinary
(
const
void
*
info
,
const
void
*
p1
,
unsigned
n1
,
const
void
*
p2
,
unsigned
n2
)
{
assert
(
info
==
0
);
return
likeLongvarchar
(
&
my_charset_bin
,
p1
,
n1
,
p2
,
n2
);
}
// check charset
// check charset
bool
bool
...
...
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