summaryrefslogtreecommitdiff
path: root/storage/connect/tabcmg.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/tabcmg.h')
-rw-r--r--storage/connect/tabcmg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/storage/connect/tabcmg.h b/storage/connect/tabcmg.h
index 260f2def8a2..9effe714fdd 100644
--- a/storage/connect/tabcmg.h
+++ b/storage/connect/tabcmg.h
@@ -1,7 +1,7 @@
/**************** tabcmg H Declares Source Code File (.H) **************/
-/* Name: tabcmg.h Version 1.2 */
+/* Name: tabcmg.h Version 1.3 */
/* */
-/* (C) Copyright to the author Olivier BERTRAND 2017 */
+/* (C) Copyright to the author Olivier BERTRAND 2017 - 2021 */
/* */
/* This file contains the MongoDB classes declares. */
/***********************************************************************/
@@ -75,6 +75,7 @@ protected:
CMgoConn *Cmgp; // Points to a C Mongo connection class
CMGOPARM Pcg; // Parms passed to Cmgp
const Item *Cnd; // The first condition
+ PCSZ Strfy; // The stringified columns
int Fpos; // The current row index
int N; // The current Rownum
int B; // Array index base
@@ -96,6 +97,7 @@ public:
// Implementation
virtual int GetAmType(void) { return Tmgp->GetAmType(); }
+ virtual bool Stringify(void) { return Sgfy; }
// Methods
virtual PSZ GetJpath(PGLOBAL g, bool proj);
@@ -109,6 +111,7 @@ protected:
// Members
TDBCMG *Tmgp; // To the MGO table block
char *Jpath; // The json path
+ bool Sgfy; // True if stringified
}; // end of class MGOCOL
/***********************************************************************/