aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-07 21:23:26 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-07 21:23:26 +0000
commit8fede9d520347dbbb1318dbcbe651d5848b806c3 (patch)
treef2d720d74b2ac0b5c2a7a52401d4fef1aa1517bd /Source/SPTableContent.m
parent1c52c1074f8758977dda4a85bdc33b0f190b8aa5 (diff)
downloadsequelpro-8fede9d520347dbbb1318dbcbe651d5848b806c3.tar.gz
sequelpro-8fede9d520347dbbb1318dbcbe651d5848b806c3.tar.bz2
sequelpro-8fede9d520347dbbb1318dbcbe651d5848b806c3.zip
• removed unnecessary space inside the WHERE clause generation for filtered table content
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m2
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];