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 00:33:17 +0200
commitfb54e89b78a8d72c433db83ed435564770d7b895 (patch)
treebc012fe91dd507b2c64678d05534ce5ddfab09e1 /Source/SPTableData.m
parentbe4532c4215b839fc73c167a778a00d33683e461 (diff)
downloadsequelpro-fb54e89b78a8d72c433db83ed435564770d7b895.tar.gz
sequelpro-fb54e89b78a8d72c433db83ed435564770d7b895.tar.bz2
sequelpro-fb54e89b78a8d72c433db83ed435564770d7b895.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")];