mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
#include "xtable.h"
|
||||
#include "tabcol.h"
|
||||
#include "colblk.h"
|
||||
//#include "xindex.h"
|
||||
#include "mycat.h"
|
||||
#include "reldef.h"
|
||||
#include "tabmysql.h"
|
||||
#include "valblk.h"
|
||||
@@ -105,7 +105,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
|
||||
/***********************************************************************/
|
||||
PTDB MYSQLDEF::GetTable(PGLOBAL g, MODE m)
|
||||
{
|
||||
if (Catfunc == 'C')
|
||||
if (Catfunc == FNC_COL)
|
||||
return new(g) TDBMCL(this);
|
||||
else
|
||||
return new(g) TDBMYSQL(this);
|
||||
|
Reference in New Issue
Block a user