diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableContent.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index ed01703f..bf45e9c5 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -2808,6 +2808,8 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper fieldValue = [NSString stringWithFormat:@"b'%@'", ((![desc length] || [desc isEqualToString:@"0"]) ? @"0" : desc)]; } else if ([fieldTypeGroup isEqualToString:@"date"] && [desc isEqualToString:@"NOW()"]) { fieldValue = @"NOW()"; + } else if ([fieldTypeGroup isEqualToString:@"string"] && [[rowObject description] isEqualToString:@"UUID()"]) { + fieldValue = @"UUID()"; } else { fieldValue = [mySQLConnection escapeAndQuoteString:desc]; } |