diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-02-12 12:34:14 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-02-12 12:34:14 +0100 |
commit | 88c76f3b70def1a26f15c7ea23759369ba28392d (patch) | |
tree | 87b9e449177ddecf4a12f205da84ab40644e3c42 /storage/connect/plgdbsem.h | |
parent | b91386c2f6964c03de353aa5155e06098055de09 (diff) | |
download | mariadb-git-88c76f3b70def1a26f15c7ea23759369ba28392d.tar.gz |
All use of a character to represent table types or
catalog functions have been changed:
Table_types are now internally represented be enum TABTYPE.
Catalog function names are internally translated to a uint.
The function GetTypeID was modified accordingly and a new
function GetFuncID was implemented in mycat.cc.
Modified:
ha_connect.cc
odbccat.h
odbconn.cpp
tabodbc.cpp
tabfmt.cpp
tabmysql.h
tabmysql.cpp
tabwmi.cpp
mycat.h
mycat.cc
plgdbsem.h
reldef.h
tabdos.cpp
rcmsg.h
Diffstat (limited to 'storage/connect/plgdbsem.h')
-rw-r--r-- | storage/connect/plgdbsem.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/storage/connect/plgdbsem.h b/storage/connect/plgdbsem.h index 7a8e13fa4c5..ff0a5bc7497 100644 --- a/storage/connect/plgdbsem.h +++ b/storage/connect/plgdbsem.h @@ -52,6 +52,30 @@ enum BLKTYP {TYPE_TABLE = 50, /* Table Name/Correl Block */ TYPE_FB_XML = 21, /* DOM XML file block */ TYPE_FB_XML2 = 27}; /* libxml2 XML file block */ +enum TABTYPE {TAB_UNDEF = 0, /* Table of undefined type */ + TAB_DOS = 1, /* Fixed column offset, variable LRECL */ + TAB_FIX = 2, /* Fixed column offset, fixed LRECL */ + TAB_BIN = 3, /* Like FIX but can have binary fields */ + TAB_CSV = 4, /* DOS files with CSV records */ + TAB_FMT = 5, /* DOS files with formatted recordss */ + TAB_DBF = 6, /* DBF Dbase or Foxpro files */ + TAB_XML = 7, /* XML or HTML files */ + TAB_INI = 8, /* INI or CFG files */ + TAB_VEC = 9, /* Vector column arrangement */ + TAB_ODBC = 10, /* Table accessed via (unix)ODBC */ + TAB_MYSQL = 11, /* MySQL table accessed via MySQL API */ + TAB_DIR = 12, /* Returns a list of files */ + TAB_MAC = 13, /* MAC address (Windows only) */ + TAB_WMI = 14, /* WMI tables (Windows only) */ + TAB_TBL = 15, /* Collection of CONNECT tables */ + TAB_OEM = 16, /* OEM implemented table */ + TAB_CATLG = 16, /* Catalog table */ + TAB_PLG = 17, /* PLG NIY */ + TAB_PIVOT = 18, /* PIVOT NIY */ + TAB_JCT = 19, /* Junction tables NIY */ + TAB_DMY = 20, /* DMY Dummy tables NIY */ + TAB_NIY = 21}; /* Table not implemented yet */ + enum AMT {TYPE_AM_ERROR = 0, /* Type not defined */ TYPE_AM_ROWID = 1, /* ROWID type (special column) */ TYPE_AM_FILID = 2, /* FILEID type (special column) */ |