Monotone-Parent: db9ec5b861b659354c77dd7978e1c7f78f92de3e

Monotone-Revision: 58bf9e25143b37ae58bc6d5cd8f128ea280e2e85

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-04-20T19:41:49
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-04-20 19:41:49 +00:00
parent c9cebfec36
commit a105c46150
1 changed files with 2 additions and 3 deletions

View File

@ -73,13 +73,12 @@
BOOL isCI;
qKey = [_q key];
isCI = NO;
if ((val = [_q value])) {
SEL op = [_q selector];
if ([val isNotNull]) {
isCI = NO;
if (sel_eq(op, EOQualifierOperatorEqual))
qOperator = @"=";
else if (sel_eq(op, EOQualifierOperatorNotEqual))
@ -110,12 +109,12 @@
qValue = [NSString stringWithFormat: @"'%@'", val];
}
else {
qValue = @"NULL";
[self errorWithFormat:@"%s: unsupported value class: %@",
__PRETTY_FUNCTION__, NSStringFromClass([val class])];
}
}
else {
isCI = NO;
if (sel_eq(op, EOQualifierOperatorEqual)) {
qOperator = @"IS";
qValue = @"NULL";