mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix clang compile error in tabjson.cpp and tabbson.cpp
This commit is contained in:
@@ -676,7 +676,7 @@ PBVAL BTUTIL::MakeTopTree(PGLOBAL g, int type)
|
|||||||
if (!Tp->Row) {
|
if (!Tp->Row) {
|
||||||
// Parse and allocate Objpath item(s)
|
// Parse and allocate Objpath item(s)
|
||||||
char *p, *objpath = PlugDup(g, Tp->Objname);
|
char *p, *objpath = PlugDup(g, Tp->Objname);
|
||||||
char *sep = (Tp->Sep == ':') ? ":[" : ".[";
|
char *sep = (char*)(Tp->Sep == ':' ? ":[" : ".[");
|
||||||
int i;
|
int i;
|
||||||
bool bp = false, b = false;
|
bool bp = false, b = false;
|
||||||
PBVAL objp = NULL;
|
PBVAL objp = NULL;
|
||||||
|
@@ -1179,7 +1179,7 @@ int TDBJSN::MakeTopTree(PGLOBAL g, PJSON jsp)
|
|||||||
if (!Val) {
|
if (!Val) {
|
||||||
// Parse and allocate Objname item(s)
|
// Parse and allocate Objname item(s)
|
||||||
char *p, *objpath = PlugDup(g, Objname);
|
char *p, *objpath = PlugDup(g, Objname);
|
||||||
char *sep = (Sep == ':') ? ":[" : ".[";
|
char *sep = (char*)(Sep == ':' ? ":[" : ".[");
|
||||||
int i;
|
int i;
|
||||||
bool bp = false, b = false;
|
bool bp = false, b = false;
|
||||||
PJOB objp;
|
PJOB objp;
|
||||||
|
Reference in New Issue
Block a user