mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
connect engine compiler warnings
This commit is contained in:
@@ -77,8 +77,8 @@ class DllExport CATALOG {
|
|||||||
virtual bool ClearName(PGLOBAL, PSZ) {return true;}
|
virtual bool ClearName(PGLOBAL, PSZ) {return true;}
|
||||||
virtual PRELDEF MakeOneTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}
|
virtual PRELDEF MakeOneTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}
|
||||||
virtual PRELDEF GetTableDescEx(PGLOBAL, PTABLE) {return NULL;}
|
virtual PRELDEF GetTableDescEx(PGLOBAL, PTABLE) {return NULL;}
|
||||||
virtual PRELDEF GetTableDesc(PGLOBAL, LPCSTR, LPCSTR,
|
/*virtual PRELDEF GetTableDesc(PGLOBAL, LPCSTR, LPCSTR,
|
||||||
PRELDEF* = NULL) {return NULL;}
|
PRELDEF* = NULL) {return NULL;}*/
|
||||||
virtual PRELDEF GetFirstTable(PGLOBAL) {return NULL;}
|
virtual PRELDEF GetFirstTable(PGLOBAL) {return NULL;}
|
||||||
virtual PRELDEF GetNextTable(PGLOBAL) {return NULL;}
|
virtual PRELDEF GetNextTable(PGLOBAL) {return NULL;}
|
||||||
virtual bool TestCond(PGLOBAL, const char*, const char*) {return true;}
|
virtual bool TestCond(PGLOBAL, const char*, const char*) {return true;}
|
||||||
@@ -95,7 +95,7 @@ class DllExport CATALOG {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool ClearSection(PGLOBAL, const char*, const char*) {return true;}
|
virtual bool ClearSection(PGLOBAL, const char*, const char*) {return true;}
|
||||||
virtual PRELDEF MakeTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}
|
/*virtual PRELDEF MakeTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}*/
|
||||||
|
|
||||||
// Members
|
// Members
|
||||||
char *Cbuf; /* Buffer used for col section */
|
char *Cbuf; /* Buffer used for col section */
|
||||||
|
@@ -334,7 +334,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCSTR am, int)
|
|||||||
Delayed = !!GetIntCatInfo("Delayed", 0);
|
Delayed = !!GetIntCatInfo("Delayed", 0);
|
||||||
} else {
|
} else {
|
||||||
// MYSQL access from a PROXY table
|
// MYSQL access from a PROXY table
|
||||||
Database = GetStringCatInfo(g, "Database", Schema ? Schema : "*");
|
Database = GetStringCatInfo(g, "Database", Schema ? Schema : (char*)"*");
|
||||||
Isview = GetBoolCatInfo("View", false);
|
Isview = GetBoolCatInfo("View", false);
|
||||||
|
|
||||||
// We must get other connection parms from the calling table
|
// We must get other connection parms from the calling table
|
||||||
|
Reference in New Issue
Block a user