diff options
author | Max <post@wickenrode.com> | 2015-06-09 00:33:17 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-06-09 21:56:08 +0200 |
commit | 4a11179260951f597cf52d86581d68cd8a98b68d (patch) | |
tree | 101c44172370c66f335686d8f6f1e517a9a51f1b /Source/SPTableStructure.h | |
parent | 622bb0298ccc9b4b6c407604e977b77275c2aa3e (diff) | |
download | sequelpro-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/SPTableStructure.h')
-rw-r--r-- | Source/SPTableStructure.h | 3 |
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; |