mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Get rid of GCC warnings about unused parameters
modified: storage/connect/array.cpp modified: storage/connect/blkfil.cpp modified: storage/connect/block.h modified: storage/connect/catalog.h modified: storage/connect/colblk.cpp modified: storage/connect/colblk.h modified: storage/connect/connect.cc modified: storage/connect/filamap.cpp modified: storage/connect/filamdbf.cpp modified: storage/connect/filamfix.cpp modified: storage/connect/filamtxt.cpp modified: storage/connect/filamtxt.h modified: storage/connect/filamvct.cpp modified: storage/connect/filamzip.cpp modified: storage/connect/filter.h modified: storage/connect/ha_connect.c modified: storage/connect/jsonudf.cpp modified: storage/connect/mycat.h modified: storage/connect/myconn.cpp modified: storage/connect/plgdbutl.cpp modified: storage/connect/reldef.cpp modified: storage/connect/reldef.h modified: storage/connect/tabcol.cpp modified: storage/connect/tabdos.cpp modified: storage/connect/tabdos.h modified: storage/connect/tabfix.cpp modified: storage/connect/tabfmt.cpp modified: storage/connect/tabfmt.h modified: storage/connect/tabjson.cpp modified: storage/connect/tabjson.h modified: storage/connect/table.cpp modified: storage/connect/tabmul.cpp modified: storage/connect/tabmysql.cpp modified: storage/connect/tabmysql.h modified: storage/connect/taboccur.cpp modified: storage/connect/tabpivot.cpp modified: storage/connect/tabsys.cpp modified: storage/connect/tabtbl.cpp modified: storage/connect/tabtbl.h modified: storage/connect/tabutil.cpp modified: storage/connect/tabutil.h modified: storage/connect/tabvct.cpp modified: storage/connect/tabvir.cpp modified: storage/connect/tabvir.h modified: storage/connect/tabxcl.cpp modified: storage/connect/tabxcl.h modified: storage/connect/tabxml.cpp modified: storage/connect/tabxml.h modified: storage/connect/valblk.cpp modified: storage/connect/valblk.h modified: storage/connect/value.cpp modified: storage/connect/value.h modified: storage/connect/xindex.cpp modified: storage/connect/xindex.h modified: storage/connect/xobject.h modified: storage/connect/xtable.h
This commit is contained in:
@@ -78,11 +78,13 @@ PQRYRES JSONColumns(PGLOBAL g, char *dp, const char *fn, char *objn,
|
||||
PJVAL jvp;
|
||||
PJOB row;
|
||||
PJDEF tdp;
|
||||
TDBJSN *tjnp;
|
||||
PJTDB tjsp;
|
||||
TDBJSN *tjnp = NULL;
|
||||
PJTDB tjsp = NULL;
|
||||
PQRYRES qrp;
|
||||
PCOLRES crp;
|
||||
|
||||
jcol.Name = jcol.Fmt = NULL;
|
||||
|
||||
if (info) {
|
||||
length[0] = 128;
|
||||
length[7] = 256;
|
||||
@@ -362,7 +364,7 @@ JSONDEF::JSONDEF(void)
|
||||
/***********************************************************************/
|
||||
/* DefineAM: define specific AM block values. */
|
||||
/***********************************************************************/
|
||||
bool JSONDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
|
||||
bool JSONDEF::DefineAM(PGLOBAL g, LPCSTR, int poff)
|
||||
{
|
||||
Jmode = (JMODE)GetIntCatInfo("Jmode", MODE_OBJECT);
|
||||
Objname = GetStringCatInfo(g, "Object", NULL);
|
||||
@@ -506,7 +508,7 @@ PCOL TDBJSN::MakeCol(PGLOBAL g, PCOLDEF cdp, PCOL cprec, int n)
|
||||
/***********************************************************************/
|
||||
/* InsertSpecialColumn: Put a special column ahead of the column list.*/
|
||||
/***********************************************************************/
|
||||
PCOL TDBJSN::InsertSpecialColumn(PGLOBAL g, PCOL colp)
|
||||
PCOL TDBJSN::InsertSpecialColumn(PCOL colp)
|
||||
{
|
||||
if (!colp->IsSpecial())
|
||||
return NULL;
|
||||
@@ -1486,7 +1488,7 @@ int TDBJSON::MakeNewDoc(PGLOBAL g)
|
||||
/***********************************************************************/
|
||||
int TDBJSON::MakeDocument(PGLOBAL g)
|
||||
{
|
||||
char *p, *memory, *objpath, *key;
|
||||
char *p, *memory, *objpath, *key = NULL;
|
||||
int len, i = 0;
|
||||
MODE mode = Mode;
|
||||
PJSON jsp;
|
||||
@@ -1646,7 +1648,7 @@ void TDBJSON::ResetSize(void)
|
||||
/***********************************************************************/
|
||||
/* TDBJSON is not indexable. */
|
||||
/***********************************************************************/
|
||||
int TDBJSON::MakeIndex(PGLOBAL g, PIXDEF pxdf, bool add)
|
||||
int TDBJSON::MakeIndex(PGLOBAL g, PIXDEF pxdf, bool)
|
||||
{
|
||||
if (pxdf) {
|
||||
strcpy(g->Message, "JSON not indexable when pretty = 2");
|
||||
@@ -1677,7 +1679,7 @@ int TDBJSON::GetRecpos(void)
|
||||
/***********************************************************************/
|
||||
/* Set the position in the table. */
|
||||
/***********************************************************************/
|
||||
bool TDBJSON::SetRecpos(PGLOBAL g, int recpos)
|
||||
bool TDBJSON::SetRecpos(PGLOBAL, int recpos)
|
||||
{
|
||||
#if 0
|
||||
union {
|
||||
@@ -1739,7 +1741,7 @@ bool TDBJSON::OpenDB(PGLOBAL g)
|
||||
/***********************************************************************/
|
||||
/* ReadDB: Data Base read routine for JSON access method. */
|
||||
/***********************************************************************/
|
||||
int TDBJSON::ReadDB(PGLOBAL g)
|
||||
int TDBJSON::ReadDB(PGLOBAL)
|
||||
{
|
||||
int rc;
|
||||
|
||||
|
Reference in New Issue
Block a user