summaryrefslogtreecommitdiff
path: root/ndb/include/util
diff options
context:
space:
mode:
authorunknown <pekka@mysql.com>2005-02-21 14:17:21 +0100
committerunknown <pekka@mysql.com>2005-02-21 14:17:21 +0100
commit448a4fd1f1e0e6a41319835d711a415e18770261 (patch)
tree98fa42d863c69fcdc58752351cca390a92dcd1c5 /ndb/include/util
parente7038f4339eef15a4fd953d7f65a9addc29b8284 (diff)
downloadmariadb-git-448a4fd1f1e0e6a41319835d711a415e18770261.tar.gz
ndb - fix TUP filtering of LIKE / NOT_LIKE
ndb/include/util/NdbSqlUtil.hpp: 1. fix wild_* chars 2. use correct wildcmp return value ndb/src/common/util/NdbSqlUtil.cpp: 1. fix wild_* chars 2. use correct wildcmp return value ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: 1. fix wild_* chars 2. use correct wildcmp return value
Diffstat (limited to 'ndb/include/util')
-rw-r--r--ndb/include/util/NdbSqlUtil.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/include/util/NdbSqlUtil.hpp b/ndb/include/util/NdbSqlUtil.hpp
index 0088978992e..a59b9da39cd 100644
--- a/ndb/include/util/NdbSqlUtil.hpp
+++ b/ndb/include/util/NdbSqlUtil.hpp
@@ -45,9 +45,9 @@ public:
typedef int Cmp(const void* info, const void* p1, unsigned n1, const void* p2, unsigned n2, bool full);
/**
- * Prototype for "like" comparison. Defined for the 3 char string
- * types. Second argument must have same type-specific format.
- * Returns >0 on match, 0 on no match, <0 on bad data.
+ * Prototype for "like" comparison. Defined for string types. Second
+ * argument must have same type-specific format. Returns 0 on match,
+ * +1 on no match, and -1 on bad data.
*
* Uses default special chars ( \ % _ ).
*