diff options
author | unknown <pekka@mysql.com> | 2005-02-17 17:12:36 +0100 |
---|---|---|
committer | unknown <pekka@mysql.com> | 2005-02-17 17:12:36 +0100 |
commit | ac2e5124d8d52150567c71f53102f5b03b341246 (patch) | |
tree | 408f685af70b7332f9cea922be934bbef521d278 /ndb/src/ndbapi | |
parent | 134c099c5f604148ab581388e916a698ed0c7964 (diff) | |
download | mariadb-git-ac2e5124d8d52150567c71f53102f5b03b341246.tar.gz |
ndb - TUP scan filter support for LIKE/NOT_LIKE
ndb/include/ndbapi/NdbScanFilter.hpp:
TUP scan filter support for LIKE/NOT_LIKE
ndb/include/util/NdbSqlUtil.hpp:
TUP scan filter support for LIKE/NOT_LIKE
ndb/src/common/util/NdbSqlUtil.cpp:
TUP scan filter support for LIKE/NOT_LIKE
ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
TUP scan filter support for LIKE/NOT_LIKE
ndb/src/ndbapi/NdbScanFilter.cpp:
TUP scan filter support for LIKE/NOT_LIKE
Diffstat (limited to 'ndb/src/ndbapi')
-rw-r--r-- | ndb/src/ndbapi/NdbScanFilter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ndb/src/ndbapi/NdbScanFilter.cpp b/ndb/src/ndbapi/NdbScanFilter.cpp index f3f73c75ac0..bc3505d7abd 100644 --- a/ndb/src/ndbapi/NdbScanFilter.cpp +++ b/ndb/src/ndbapi/NdbScanFilter.cpp @@ -426,6 +426,10 @@ NdbScanFilter::cmp(BinaryCondition cond, int ColId, return m_impl.cond_col_const(Interpreter::EQ, ColId, val, len); case COND_NE: return m_impl.cond_col_const(Interpreter::NE, ColId, val, len); + case COND_LIKE: + return m_impl.cond_col_const(Interpreter::LIKE, ColId, val, len); + case COND_NOT_LIKE: + return m_impl.cond_col_const(Interpreter::NOT_LIKE, ColId, val, len); } return -1; } |