diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-18 19:21:52 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-18 19:21:52 +0400 |
commit | f41aadfaedeb90f5f9f9fb8100de81642cb5a048 (patch) | |
tree | e08bf6f3a71b21f5011fed7f63b9f18a92e15c00 /storage/connect/reldef.h | |
parent | 8e1c194904e028accd0b1fb9f3c4e70cf8077c4d (diff) | |
download | mariadb-git-f41aadfaedeb90f5f9f9fb8100de81642cb5a048.tar.gz |
Adding DATA_CHARSET table option.
Diffstat (limited to 'storage/connect/reldef.h')
-rw-r--r-- | storage/connect/reldef.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/connect/reldef.h b/storage/connect/reldef.h index 4bf64d28208..ac42bb38b37 100644 --- a/storage/connect/reldef.h +++ b/storage/connect/reldef.h @@ -11,6 +11,7 @@ #include "block.h" #include "catalog.h" +#include "my_sys.h" typedef class INDEXDEF *PIXDEF; @@ -75,6 +76,10 @@ class DllExport TABDEF : public RELDEF { /* Logical table descriptor */ virtual PIXDEF GetIndx(void) {return NULL;} virtual void SetIndx(PIXDEF xp) {} virtual bool IsHuge(void) {return false;} + const CHARSET_INFO *data_charset() + { + return m_data_charset; + } // Methods bool DropTable(PGLOBAL g, PSZ name); @@ -93,6 +98,7 @@ class DllExport TABDEF : public RELDEF { /* Logical table descriptor */ int Degree; /* Number of columns in the table */ int Pseudo; /* Bit: 1 ROWID Ok, 2 FILEID Ok */ bool Read_Only; /* true for read only tables */ + const CHARSET_INFO *m_data_charset; }; // end of TABDEF /***********************************************************************/ |