Skip to content
Browse files
#2705: FULLTEXT indexes should not require a column size prefix.
  • Loading branch information
stuconnolly committed Mar 17, 2017
1 parent 8b6dc62 commit a9f0edb
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 146 deletions.
@@ -35,10 +35,7 @@
@class SPMySQLConnection;
@class SPTableView;

@interface SPIndexesController : NSWindowController
#ifdef SP_CODA
<NSTableViewDelegate, NSTableViewDataSource>
@interface SPIndexesController : NSWindowController <NSTableViewDelegate, NSTableViewDataSource>
// Controllers
IBOutlet SPDatabaseDocument *dbDocument;
@@ -62,7 +59,6 @@
IBOutlet NSButton *addIndexedColumnButton;
IBOutlet NSButton *removeIndexedColumnButton;
IBOutlet NSButton *confirmAddIndexButton;
#ifndef SP_CODA
IBOutlet NSBox *anchoredButtonBar;

// Advanced options view
@@ -71,40 +67,26 @@
IBOutlet NSButton *indexAdvancedOptionsViewLabelButton;
IBOutlet NSPopUpButton *indexStorageTypePopUpButton;
IBOutlet NSTextField *indexKeyBlockSizeTextField;

BOOL _mainNibLoaded;
BOOL mainNibLoaded;
BOOL isInnoDBTable;
NSString *table;

NSMutableArray *fields, *indexes, *indexedFields;
NSArray *supportsLength, *requiresLength;

#ifndef SP_CODA /* ivars */
NSUserDefaults *prefs;

SPMySQLConnection *connection;

#ifndef SP_CODA /* ivars */

BOOL showAdvancedView;

NSInteger heightOffset;
NSUInteger windowMinWidth;
NSUInteger windowMinHeigth;

#ifdef SP_CODA
@property (assign) SPTableView* indexesTableView;
@property (assign) SPTableStructure* tableStructure;
@property (assign) NSButton* addIndexButton;
@property (assign) NSButton* removeIndexButton;

- (void)setDatabaseDocument:(SPDatabaseDocument*)db;

* @property table The table currently being viewed

0 comments on commit a9f0edb

Please sign in to comment.