summaryrefslogtreecommitdiff
path: root/storage/connect/tabjson.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/tabjson.h')
-rw-r--r--storage/connect/tabjson.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/connect/tabjson.h b/storage/connect/tabjson.h
index 1062928d410..623e5b6d509 100644
--- a/storage/connect/tabjson.h
+++ b/storage/connect/tabjson.h
@@ -170,7 +170,7 @@ public:
protected:
PJSON FindRow(PGLOBAL g);
- int MakeTopTree(PGLOBAL g, PJSON jsp);
+ bool MakeTopTree(PGLOBAL g, PJSON jsp);
// Members
PGLOBAL G; // Support of parse memory
@@ -216,7 +216,8 @@ public:
JSONCOL(JSONCOL *colp, PTDB tdbp); // Constructor used in copy process
// Implementation
- virtual int GetAmType(void) {return Tjp->GetAmType();}
+ virtual int GetAmType(void) {return Tjp->GetAmType();}
+ virtual bool Stringify(void) { return Sgfy; }
// Methods
virtual bool SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check);
@@ -251,6 +252,7 @@ public:
bool Xpd; // True for expandable column
bool Parsed; // True when parsed
bool Warned; // True when warning issued
+ bool Sgfy; // True if stringified
}; // end of class JSONCOL
/* -------------------------- TDBJSON class -------------------------- */