mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.2' into 10.3
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