aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-31 14:40:18 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-31 14:40:18 +0000
commit441ef7b38085eebcd5d05806f70b56ab9a2b0925 (patch)
tree9ed7022f324f591c9d402f4dfaeb8e4861946bb3 /Source/SPCustomQuery.m
parent71ff33d26cca61ee4b39924ca5a8d9a032a38e9f (diff)
downloadsequelpro-441ef7b38085eebcd5d05806f70b56ab9a2b0925.tar.gz
sequelpro-441ef7b38085eebcd5d05806f70b56ab9a2b0925.tar.bz2
sequelpro-441ef7b38085eebcd5d05806f70b56ab9a2b0925.zip
• fixed in field editing mode the editing of BINARY fields
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 20d7c803..a274705f 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -1732,7 +1732,7 @@
[fieldIDQueryStr appendFormat:@"%@='%@' AND ", [[field objectForKey:@"org_name"] backtickQuotedString], [mySQLConnection prepareString:aValue]];
}
}
- else if ([[field objectForKey:@"typegrouping"] isEqualToString:@"blobdata"]) {
+ else if ([[field objectForKey:@"typegrouping"] isEqualToString:@"blobdata"] || [[field objectForKey:@"type"] isEqualToString:@"BINARY"]) {
if(includeBlobs) {
[fieldIDQueryStr appendFormat:@"%@=X'%@' AND ", [[field objectForKey:@"org_name"] backtickQuotedString], [mySQLConnection prepareBinaryData:aValue]];
}