Copying literal strings should just retain them.

This commit is contained in:
Richard Frith-Macdonald 2020-08-13 01:43:08 +01:00
parent ce149e7ee3
commit 4c2a293640

View file

@ -432,6 +432,14 @@ quoteBigInteger(int64_t i)
format: @"Illegal attempt to allocate instance of SQLLiteral"];
return nil;
}
- (id) copy
{
return RETAIN(self);
}
- (id) copyWithZone: (NSZone*)z
{
return RETAIN(self);
}
@end
@implementation SQLLiteralProxy