mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
Merge dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.0/bug24568-5.0-ndb-bj
into dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/bug24568-5.1-new-ndb-bj
This commit is contained in:
commit
cf21cf2c73
1 changed files with 8 additions and 2 deletions
|
@ -328,12 +328,18 @@ NdbScanFilterImpl::cond_col(Interpreter::UnaryCondition op, Uint32 AttrId){
|
|||
|
||||
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue