aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-07-20 18:10:50 +0000
committerstuconnolly <stuart02@gmail.com>2009-07-20 18:10:50 +0000
commita3c74feedbdd46f3c5c0bd5c7091931e930ff6b9 (patch)
tree731f70de77013c70e68e8ddd0e1f81f1739feb54 /Source/SPDatabaseData.h
parent00423b8b7175607a05277f21cf16555bd0ee0286 (diff)
downloadsequelpro-a3c74feedbdd46f3c5c0bd5c7091931e930ff6b9.tar.gz
sequelpro-a3c74feedbdd46f3c5c0bd5c7091931e930ff6b9.tar.bz2
sequelpro-a3c74feedbdd46f3c5c0bd5c7091931e930ff6b9.zip
Include a hard coded list of encodings and collations in SPDatabaseData to remove the depdendency on the information_schema database when its not available or accessible.
Diffstat (limited to 'Source/SPDatabaseData.h')
-rw-r--r--Source/SPDatabaseData.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPDatabaseData.h b/Source/SPDatabaseData.h
index 3f84705a..13eeb4b4 100644
--- a/Source/SPDatabaseData.h
+++ b/Source/SPDatabaseData.h
@@ -27,6 +27,13 @@
@class CMMCPConnection;
+typedef struct _CHAR_SETS
+{
+ unsigned int nr;
+ const char *name;
+ const char *collation;
+} CHAR_SETS;
+
@interface SPDatabaseData : NSObject
{
NSString *characterSetEncoding;