summaryrefslogtreecommitdiff
path: root/storage/connect/tabfix.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2015-05-26 01:02:33 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2015-05-26 01:02:33 +0200
commitfb98632930cd320c55a8664f601c4082b3e14628 (patch)
treed422f3620569fd80957309359f2b026503900eb7 /storage/connect/tabfix.h
parent37840d5313213a6c704386c09090569935e97ecb (diff)
downloadmariadb-git-fb98632930cd320c55a8664f601c4082b3e14628.tar.gz
JSONColumns and XMLColumns revisited. They can retrieve their parameters directly
from the PTOS argument. For this to work, finding the table options is now split in HA_CONNECT functions and exported functions available from out of ha_connect. modified: storage/connect/ha_connect.cc modified: storage/connect/libdoc.cpp modified: storage/connect/mycat.h modified: storage/connect/plgdbsem.h modified: storage/connect/tabjson.cpp modified: storage/connect/tabjson.h modified: storage/connect/tabxml.cpp modified: storage/connect/tabxml.h The BIN table formats have been changed to handle the case of floating point values when used with Big Endian or Little Endian machines. modified: storage/connect/ha_connect.cc modified: storage/connect/mysql-test/connect/r/bin.result modified: storage/connect/mysql-test/connect/t/bin.test modified: storage/connect/reldef.cpp modified: storage/connect/tabdos.cpp modified: storage/connect/tabdos.h modified: storage/connect/tabfix.cpp modified: storage/connect/tabfix. h
Diffstat (limited to 'storage/connect/tabfix.h')
-rw-r--r--storage/connect/tabfix.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/connect/tabfix.h b/storage/connect/tabfix.h
index b6307e8f60b..49956ba0711 100644
--- a/storage/connect/tabfix.h
+++ b/storage/connect/tabfix.h
@@ -53,7 +53,8 @@ class DllExport TDBFIX : public TDBDOS {
protected:
virtual bool PrepareWriting(PGLOBAL g) {return false;}
- // Members are inherited from TDBDOS
+ // Members
+ char Teds; /* Binary table default endian setting */
}; // end of class TDBFIX
/***********************************************************************/
@@ -86,7 +87,8 @@ class DllExport BINCOL : public DOSCOL {
// Members
static char Endian; // The host endian setting (L or B)
char *Buff; // Utility buffer
- char Fmt; // The file endian setting or old format
+ char Eds; // The file endian setting
+ char Fmt; // The converted value format
int N; // The number of bytes in the file
int M; // The buffer type size
int Lim; // Min(N,M)