mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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
This commit is contained in:
@@ -112,6 +112,7 @@ DOSDEF::DOSDEF(void)
|
||||
Maxerr = 0;
|
||||
ReadMode = 0;
|
||||
Ending = 0;
|
||||
Teds = 0;
|
||||
} // end of DOSDEF constructor
|
||||
|
||||
/***********************************************************************/
|
||||
@@ -146,6 +147,7 @@ bool DOSDEF::DefineAM(PGLOBAL g, LPCSTR am, int)
|
||||
Padded = GetBoolCatInfo("Padded", false);
|
||||
Blksize = GetIntCatInfo("Blksize", 0);
|
||||
Eof = (GetIntCatInfo("EOF", 0) != 0);
|
||||
Teds = toupper(*GetStringCatInfo(g, "Endian", ""));
|
||||
} else if (Recfm == RECFM_DBF) {
|
||||
Maxerr = GetIntCatInfo("Maxerr", 0);
|
||||
Accept = GetBoolCatInfo("Accept", false);
|
||||
|
Reference in New Issue
Block a user