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:
@@ -46,7 +46,7 @@
|
||||
#include "osutil.h"
|
||||
#include "plgdbsem.h"
|
||||
#include "catalog.h"
|
||||
//#include "reldef.h"
|
||||
#include "mycat.h"
|
||||
#include "xindex.h"
|
||||
#include "filamap.h"
|
||||
#include "filamfix.h"
|
||||
@@ -297,7 +297,7 @@ PTDB DOSDEF::GetTable(PGLOBAL g, MODE mode)
|
||||
/* Column blocks will be allocated only when needed. */
|
||||
/*********************************************************************/
|
||||
if (Recfm == RECFM_DBF) {
|
||||
if (!Catfunc) {
|
||||
if (Catfunc == FNC_NO) {
|
||||
if (map)
|
||||
txfp = new(g) DBMFAM(this);
|
||||
else
|
||||
|
Reference in New Issue
Block a user