aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-01-04 02:31:18 +0000
committerrowanbeentje <rowan@beent.je>2011-01-04 02:31:18 +0000
commit12c773ff7f06a240e66a264b23261f0436e56175 (patch)
tree54f39a28c656800c0c213fd371958ed4638f5dfb /Source/SPConstants.h
parente85f7dfdc240b9e5be2ff4cbe46727f49096f91f (diff)
downloadsequelpro-12c773ff7f06a240e66a264b23261f0436e56175.tar.gz
sequelpro-12c773ff7f06a240e66a264b23261f0436e56175.tar.bz2
sequelpro-12c773ff7f06a240e66a264b23261f0436e56175.zip
- Rework the Add Index indexes menu and the auto_increment index required menu to use tag-based values when generating queries, allowing localisation of menu contents without using those localised values in queries. This addresses I$
- Remove the ability to specify a FULLTEXT auto_increment index, as I believe this isn't possible. - Prevent sheet reuse from specifying invalid storage types for PRIMARY KEYs - Fix exceptions when adding indexes to a table where every field is already indexed - Fix initialField/indexedFieldNames check to improve on r3061 - Fix toggling advanced index view after closing the sheet with the view open - Update localisable strings
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index d3171802..f724535f 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -180,6 +180,16 @@ typedef enum
SPEncodingEUCKRKorean = 180
} SPEncodingTypes;
+// Table index type menu tags
+typedef enum
+{
+ SPPrimaryKeyMenuTag = 0,
+ SPIndexMenuTag = 1,
+ SPUniqueMenuTag = 2,
+ SPFullTextMenuTag = 3,
+ SPSpatialMenuTag = 4
+} SPTableIndexTypeTags;
+
// File compression formats
typedef enum
{