mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-14 15:40:59 +00:00
Copy rather than retaining when making a literal string
This commit is contained in:
parent
2c9070cfd0
commit
78a66c1a75
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ SQLClientMakeLiteral(NSString *aString)
|
|||
if (c != LitStringClass && c != TinyStringClass && c != SQLStringClass)
|
||||
{
|
||||
/* The SQLString class uses utf8 and can be very inefficient
|
||||
* if it's too long. For long strings we use a proxy instead.
|
||||
* if it's too long. For long strings we use a proxy to a
|
||||
* copy of the original string.
|
||||
*/
|
||||
if ([aString length] > 64)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue