aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorMarius Ursache <bamse16@yahoo.com>2013-11-09 20:30:14 +1100
committerMarius Ursache <bamse16@yahoo.com>2013-11-09 20:30:14 +1100
commit45aec0072910a34c20b1ff2b01989e59545d7e3d (patch)
treeb8961775e500c3b315c4e0b2666ceb97d237d0c1 /Source/SPTableContent.m
parenta503dd832c5d323919bf1abd4125dec7db1b17ea (diff)
downloadsequelpro-45aec0072910a34c20b1ff2b01989e59545d7e3d.tar.gz
sequelpro-45aec0072910a34c20b1ff2b01989e59545d7e3d.tar.bz2
sequelpro-45aec0072910a34c20b1ff2b01989e59545d7e3d.zip
Fixed NSMutableString vs NSString warnings
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 7ffb2f1c..fa7b9a2c 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -2901,7 +2901,7 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
// Use INSERT syntax when creating new rows
if (isEditingNewRow) {
- queryString = [NSString stringWithFormat:@"INSERT INTO %@ (%@) VALUES (%@)",
+ queryString = [NSMutableString stringWithFormat:@"INSERT INTO %@ (%@) VALUES (%@)",
[selectedTable backtickQuotedString], [rowFieldsToSave componentsJoinedAndBacktickQuoted], [rowValuesToSave componentsJoinedByString:@", "]];
// Otherwise use an UPDATE syntax to save only the changed cells - if this point is reached,