aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-06-09 00:33:17 +0200
committerMax <post@wickenrode.com>2015-06-09 21:56:08 +0200
commit4a11179260951f597cf52d86581d68cd8a98b68d (patch)
tree101c44172370c66f335686d8f6f1e517a9a51f1b /Source/SPTableContent.m
parent622bb0298ccc9b4b6c407604e977b77275c2aa3e (diff)
downloadsequelpro-4a11179260951f597cf52d86581d68cd8a98b68d.tar.gz
sequelpro-4a11179260951f597cf52d86581d68cd8a98b68d.tar.bz2
sequelpro-4a11179260951f597cf52d86581d68cd8a98b68d.zip
Setting large auto_increment values (> 1000) could be misinterpreted as decimal values in some cases (fixes #2130)
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 308c101b..6988b0f3 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -2038,7 +2038,7 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
// Reset auto increment if suppression button was ticked
if([[alert suppressionButton] state] == NSOnState) {
- [tableSourceInstance setAutoIncrementTo:@"1"];
+ [tableSourceInstance setAutoIncrementTo:@1];
#ifndef SP_CODA
[prefs setBool:YES forKey:SPResetAutoIncrementAfterDeletionOfAllRows];
#endif