summaryrefslogtreecommitdiff
path: root/storage/connect/tabutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/tabutil.h')
-rw-r--r--storage/connect/tabutil.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/storage/connect/tabutil.h b/storage/connect/tabutil.h
index c87065befba..5344372a30b 100644
--- a/storage/connect/tabutil.h
+++ b/storage/connect/tabutil.h
@@ -57,13 +57,17 @@ class DllExport TDBPRX : public TDBASE {
friend class PRXDEF;
friend class PRXCOL;
public:
- // Constructor
+ // Constructors
TDBPRX(PPRXDEF tdp);
+ TDBPRX(PGLOBAL g, PTDBPRX tdbp);
// Implementation
virtual AMT GetAmType(void) {return TYPE_AM_PRX;}
+ virtual PTDB Duplicate(PGLOBAL g)
+ {return (PTDB)new(g) TDBPRX(g, this);}
// Methods
+ virtual PTDB CopyOne(PTABS t);
virtual int GetRecpos(void) {return Tdbp->GetRecpos();}
virtual void ResetDB(void) {Tdbp->ResetDB();}
virtual int RowNumber(PGLOBAL g, bool b = FALSE);
@@ -97,15 +101,19 @@ class DllExport PRXCOL : public COLBLK {
public:
// Constructors
PRXCOL(PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i, PSZ am = "PRX");
+ PRXCOL(PRXCOL *colp, PTDB tdbp); // Constructor used in copy process
// Implementation
- virtual int GetAmType(void) {return TYPE_AM_PRX;}
+ virtual int GetAmType(void) {return TYPE_AM_PRX;}
// Methods
- virtual void Reset(void);
- virtual bool IsSpecial(void) {return Pseudo;}
- virtual void ReadColumn(PGLOBAL g);
- bool Init(PGLOBAL g);
+ virtual void Reset(void);
+ virtual bool IsSpecial(void) {return Pseudo;}
+ virtual bool SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check)
+ {return false;}
+ virtual void ReadColumn(PGLOBAL g);
+ virtual void WriteColumn(PGLOBAL g);
+ bool Init(PGLOBAL g, PTDBASE tp = NULL);
protected:
// Default constructor not to be used