diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-07 21:23:26 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-07 21:23:26 +0000 |
commit | 8fede9d520347dbbb1318dbcbe651d5848b806c3 (patch) | |
tree | f2d720d74b2ac0b5c2a7a52401d4fef1aa1517bd | |
parent | 1c52c1074f8758977dda4a85bdc33b0f190b8aa5 (diff) | |
download | sequelpro-8fede9d520347dbbb1318dbcbe651d5848b806c3.tar.gz sequelpro-8fede9d520347dbbb1318dbcbe651d5848b806c3.tar.bz2 sequelpro-8fede9d520347dbbb1318dbcbe651d5848b806c3.zip |
• removed unnecessary space inside the WHERE clause generation for filtered table content
-rw-r--r-- | Source/SPTableContent.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 3c44b980..fc879e6c 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -950,7 +950,7 @@ NSMutableString *clause = [[NSMutableString alloc] init]; [clause setString:[filter objectForKey:@"Clause"]]; - [clause replaceOccurrencesOfRegex:@"(?<!\\\\)\\$BINARY" withString:(caseSensitive) ? @"BINARY" : @""]; + [clause replaceOccurrencesOfRegex:@"(?<!\\\\)\\$BINARY " withString:(caseSensitive) ? @"BINARY " : @""]; [clause flushCachedRegexData]; [clause replaceOccurrencesOfRegex:@"(?<!\\\\)\\$CURRENT_FIELD" withString:([fieldField titleOfSelectedItem]) ? [[fieldField titleOfSelectedItem] backtickQuotedString] : @""]; [clause flushCachedRegexData]; |