mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
=====================================================================
This new CONNECT version 1.07 fully implements NOSQL support. It allows working on JSON or XML data retrieved as REST query results from all binary distributions of MariaDB when cpprestsdk is installed and the GetRest library is available. ===================================================================== - Make Rest available for MariaDB binary distributed versions. Change RestGet function so it can be called from a library. modified: storage/connect/CMakeLists.txt modified: storage/connect/restget.cpp modified: storage/connect/tabrest.cpp - Make column FLAG option available to discovery functions. modified: storage/connect/ha_connect.cc modified: storage/connect/plgdbsem.h - Update CONNECT version number and date. modified: storage/connect/ha_connect.cc - Move OEMColumns function from mycat.cc to reldef.cpp. modified: storage/connect/mycat.cc modified: storage/connect/reldef.cpp - Allocate tables as TABREF (was RELDEF) modified: storage/connect/mycat.cc modified: storage/connect/mycat.h - Fix MDEV-20845 by commenting out TIMEOUT setting. modified: storage/connect/myconn.cpp - Call DefineAM before calling GetColCatInfo. Column offset is now based on record format instead of table type. The RECFM_VCT format was added. This enables tables to specify the record format and is useful in particular for OEM tables. modified: storage/connect/plgdbsem.h modified: storage/connect/reldef.cpp modified: storage/connect/reldef.h modified: storage/connect/tabdos.cpp modified: storage/connect/tabdos.h modified: storage/connect/tabfix.cpp modified: storage/connect/tabfmt.cpp modified: storage/connect/tabmysql.cpp modified: storage/connect/tabutil.cpp modified: storage/connect/tabutil.h modified: storage/connect/tabvct.cpp modified: storage/connect/xindex.cpp
This commit is contained in:
@@ -59,11 +59,23 @@ int GetConvSize(void);
|
||||
/* Used by MYSQL tables to get MySQL parameters from the calling proxy */
|
||||
/* table (PROXY, TBL, XCL, or OCCUR) when used by one of these. */
|
||||
/************************************************************************/
|
||||
void Remove_tshp(PCATLG cat)
|
||||
TABLE_SHARE *Remove_tshp(PCATLG cat)
|
||||
{
|
||||
((MYCAT*)cat)->GetHandler()->tshp = NULL;
|
||||
TABLE_SHARE *s = ((MYCAT*)cat)->GetHandler()->tshp;
|
||||
|
||||
((MYCAT*)cat)->GetHandler()->tshp = NULL;
|
||||
return s;
|
||||
} // end of Remove_thsp
|
||||
|
||||
/************************************************************************/
|
||||
/* Used by MYSQL tables to get MySQL parameters from the calling proxy */
|
||||
/* table (PROXY, TBL, XCL, or OCCUR) when used by one of these. */
|
||||
/************************************************************************/
|
||||
void Restore_tshp(PCATLG cat, TABLE_SHARE *s)
|
||||
{
|
||||
((MYCAT*)cat)->GetHandler()->tshp = s;
|
||||
} // end of Restore_thsp
|
||||
|
||||
/************************************************************************/
|
||||
/* GetTableShare: allocates and open a table share. */
|
||||
/************************************************************************/
|
||||
|
Reference in New Issue
Block a user