aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-03-17 18:14:59 +0000
committerstuconnolly <stuart02@gmail.com>2012-03-17 18:14:59 +0000
commit8244c7c382113ce3fedc331f7901c1afa712134b (patch)
treea19a46d80942c6441fab0b3a4255d74ec01043d1 /Source/SPConstants.m
parente26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b (diff)
downloadsequelpro-8244c7c382113ce3fedc331f7901c1afa712134b.tar.gz
sequelpro-8244c7c382113ce3fedc331f7901c1afa712134b.tar.bz2
sequelpro-8244c7c382113ce3fedc331f7901c1afa712134b.zip
Add constants for MySQL 'system' databases.
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r--Source/SPConstants.m19
1 files changed, 17 insertions, 2 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m
index 674410d2..7fa35505 100644
--- a/Source/SPConstants.m
+++ b/Source/SPConstants.m
@@ -35,6 +35,11 @@ NSString *SPKillProcessConnectionMode = @"SPKillProcessConnectionMode
// Default monospaced font name
NSString *SPDefaultMonospacedFontName = @"Monaco";
+// System database names
+NSString *SPMySQLDatabase = @"mysql";
+NSString *SPMySQLInformationSchemaDatabase = @"information_schema";
+NSString *SPMySQLPerformanceSchemaDatabase = @"performance_schema";
+
// Table view drag types
NSString *SPDefaultPasteboardDragType = @"SequelProPasteboard";
NSString *SPFavoritesPasteboardDragType = @"SPFavoritesPasteboard";
@@ -226,7 +231,17 @@ NSString *SPMainToolbarTableInfo = @"SwitchToTableInfoToolbarIte
NSString *SPMainToolbarTableRelations = @"SwitchToTableRelationsToolbarItemIdentifier";
NSString *SPMainToolbarTableTriggers = @"SwitchToTableTriggersToolbarItemIdentifier";
NSString *SPMainToolbarUserManager = @"SwitchToUserManagerToolbarItemIdentifier";
-NSString **SPViewModeToMainToolbarMap[] = {nil, &SPMainToolbarTableStructure, &SPMainToolbarTableContent, &SPMainToolbarCustomQuery, &SPMainToolbarTableInfo, &SPMainToolbarTableRelations, &SPMainToolbarTableTriggers};
+
+NSString **SPViewModeToMainToolbarMap[] =
+{
+ nil,
+ &SPMainToolbarTableStructure,
+ &SPMainToolbarTableContent,
+ &SPMainToolbarCustomQuery,
+ &SPMainToolbarTableInfo,
+ &SPMainToolbarTableRelations,
+ &SPMainToolbarTableTriggers
+};
// Preferences toolbar
NSString *SPPreferenceToolbarGeneral = @"SPPreferenceToolbarGeneral";
@@ -383,7 +398,7 @@ const NSInteger SPBundleRedirectActionShowAsTextTooltip = 207;
const NSInteger SPBundleRedirectActionShowAsHTMLTooltip = 208;
const NSInteger SPBundleRedirectActionLastCode = 208;
-// sequel URL scheme
+// URL scheme
NSString *SPURLSchemeQueryInputPathHeader = @"/tmp/SP_QUERY_";
NSString *SPURLSchemeQueryResultPathHeader = @"/tmp/SP_QUERY_RESULT_";
NSString *SPURLSchemeQueryResultStatusPathHeader = @"/tmp/SP_QUERY_RESULT_STATUS_";