Below is the list of changes that have just been committed into a local
5.0 repository of justin.he. When justin.he does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-03-21 15:36:22+08:00, Justin.He@stripped +1 -0
Bug#24568, NdbScanFilter NAND/NOR operations sometimes do not works as expected
this patch is an absolutely necessary supplement of the previous patch,
the previous patch doesnot cover isnull() and isnotnull() methods' effect.
ndb/src/ndbapi/NdbScanFilter.cpp@stripped, 2007-03-21 15:36:20+08:00, Justin.He@stripped +8 -2
correct isnull() and isnotnull() when these two methods called in a NAND/NOR operation
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: Justin.He
# Host: dev3-240.dev.cn.tlan
# Root: /home/justin.he/mysql/mysql-5.0/bug24568-5.0-ndb-bj
--- 1.12/ndb/src/ndbapi/NdbScanFilter.cpp 2007-03-21 15:36:28 +08:00
+++ 1.13/ndb/src/ndbapi/NdbScanFilter.cpp 2007-03-21 15:36:28 +08:00
@@ -328,12 +328,18 @@
int
NdbScanFilter::isnull(int AttrId){
- return m_impl.cond_col(Interpreter::IS_NULL, AttrId);
+ if(m_impl.m_negative == 1)
+ return m_impl.cond_col(Interpreter::IS_NOT_NULL, AttrId);
+ else
+ return m_impl.cond_col(Interpreter::IS_NULL, AttrId);
}
int
NdbScanFilter::isnotnull(int AttrId){
- return m_impl.cond_col(Interpreter::IS_NOT_NULL, AttrId);
+ if(m_impl.m_negative == 1)
+ return m_impl.cond_col(Interpreter::IS_NULL, AttrId);
+ else
+ return m_impl.cond_col(Interpreter::IS_NOT_NULL, AttrId);
}
struct tab3 {
| Thread |
|---|
| • bk commit into 5.0 tree (Justin.He:1.2475) BUG#24568 | justin.he | 21 Mar |