aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.h
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/SPTableStructure.h
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/SPTableStructure.h')
-rw-r--r--Source/SPTableStructure.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPTableStructure.h b/Source/SPTableStructure.h
index f3d99ea6..781717f8 100644
--- a/Source/SPTableStructure.h
+++ b/Source/SPTableStructure.h
@@ -129,6 +129,7 @@
- (void)removeFieldSheetDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
- (IBAction)resetAutoIncrement:(id)sender;
- (void)resetAutoincrementSheetDidEnd:(NSWindow *)theSheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
+- (void)takeAutoIncrementFrom:(NSTextField *)field;
- (IBAction)showOptimizedFieldType:(id)sender;
- (IBAction)toggleColumnView:(NSMenuItem *)sender;
- (BOOL)cancelRowEditing;
@@ -142,7 +143,7 @@
- (BOOL)saveRowOnDeselect;
- (BOOL)addRowToDB;
- (void)addRowErrorSheetDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
-- (void)setAutoIncrementTo:(NSString*)valueAsString;
+- (void)setAutoIncrementTo:(NSNumber *)value;
// Accessors
- (NSString *)defaultValueForField:(NSString *)field;