aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.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/SPTableData.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/SPTableData.m')
-rw-r--r--Source/SPTableData.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index bdd1f1db..d477b444 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -575,6 +575,7 @@
returningInclusively: NO
ignoringQuotedStrings: NO];
if(fieldName == nil || [fieldName length] == 0) {
+#warning NSAlert from background thread! (This whole function needs improvement)
NSBeep();
NSAlert *alert = [[NSAlert alloc] init];
[alert addButtonWithTitle:NSLocalizedString(@"OK", @"OK button")];