Skip to content

Commit 71b3906

Browse files
committed
after merge fixes
fix compiler warnings
1 parent 44dea7f commit 71b3906

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

storage/connect/catalog.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class DllExport CATALOG {
7777
virtual bool ClearName(PGLOBAL, PSZ) {return true;}
7878
virtual PRELDEF MakeOneTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}
7979
virtual PRELDEF GetTableDescEx(PGLOBAL, PTABLE) {return NULL;}
80-
virtual PRELDEF GetTableDesc(PGLOBAL, LPCSTR, LPCSTR,
81-
PRELDEF* = NULL) {return NULL;}
80+
//virtual PRELDEF GetTableDesc(PGLOBAL, LPCSTR, LPCSTR,
81+
// PRELDEF* = NULL) {return NULL;}
8282
virtual PRELDEF GetFirstTable(PGLOBAL) {return NULL;}
8383
virtual PRELDEF GetNextTable(PGLOBAL) {return NULL;}
8484
virtual bool TestCond(PGLOBAL, const char*, const char*) {return true;}
@@ -95,7 +95,7 @@ class DllExport CATALOG {
9595

9696
protected:
9797
virtual bool ClearSection(PGLOBAL, const char*, const char*) {return true;}
98-
virtual PRELDEF MakeTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}
98+
//virtual PRELDEF MakeTableDesc(PGLOBAL, LPCSTR, LPCSTR) {return NULL;}
9999

100100
// Members
101101
char *Cbuf; /* Buffer used for col section */

storage/connect/tabmysql.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCSTR am, int)
334334
Delayed = !!GetIntCatInfo("Delayed", 0);
335335
} else {
336336
// MYSQL access from a PROXY table
337-
Database = GetStringCatInfo(g, "Database", Schema ? Schema : "*");
337+
Database = GetStringCatInfo(g, "Database", Schema ? Schema : (char*)"*");
338338
Isview = GetBoolCatInfo("View", false);
339339

340340
// We must get other connection parms from the calling table

0 commit comments

Comments
 (0)