summaryrefslogtreecommitdiff
path: root/storage/connect/tabutil.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-08-09 18:02:47 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-08-09 18:02:47 +0200
commit5d75457fc93d22493d3f9e45162963e1b54f935c (patch)
treeff1f04bd8f08a6a3e7aa5cb86ef7c2aa94ee69fb /storage/connect/tabutil.h
parent98f3fd646654f97b2bc10a7a7d63d2a5fb2aaa6f (diff)
downloadmariadb-git-5d75457fc93d22493d3f9e45162963e1b54f935c.tar.gz
- Implement the SERVID special columns. This imply modifying the way
special columns are processed. This will be documented. Also some code cleanup and some changes to prepare the indexing of nullable columns (not achieve yet) modified: storage/connect/colblk.cpp storage/connect/colblk.h storage/connect/connect.cc storage/connect/connect.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/macutil.cpp storage/connect/mycat.cc storage/connect/plgdbsem.h storage/connect/reldef.cpp storage/connect/reldef.h storage/connect/table.cpp storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/tabodbc.h storage/connect/tabtbl.cpp storage/connect/tabutil.h storage/connect/value.h storage/connect/xindex.cpp storage/connect/xindex.h storage/connect/xtable.h
Diffstat (limited to 'storage/connect/tabutil.h')
-rw-r--r--storage/connect/tabutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/tabutil.h b/storage/connect/tabutil.h
index ddf6c2eb601..56c4667b258 100644
--- a/storage/connect/tabutil.h
+++ b/storage/connect/tabutil.h
@@ -70,6 +70,7 @@ class DllExport TDBPRX : public TDBASE {
virtual int GetRecpos(void) {return Tdbp->GetRecpos();}
virtual void ResetDB(void) {Tdbp->ResetDB();}
virtual int RowNumber(PGLOBAL g, bool b = FALSE);
+ virtual PSZ GetServer(void) {return (Tdbp) ? Tdbp->GetServer() : "?";}
// Database routines
virtual PCOL MakeCol(PGLOBAL g, PCOLDEF cdp, PCOL cprec, int n);