mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
handler::rebind()
- rename PFS specific rebind_psi() to generic rebind() - call rebind independently of PFS compilation status - allow rebind() return an error
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
|
||||
#ifdef HAVE_PSI_TABLE_INTERFACE
|
||||
#define MYSQL_UNBIND_TABLE(handler) (handler)->unbind_psi()
|
||||
#define MYSQL_REBIND_TABLE(handler) (handler)->rebind_psi()
|
||||
|
||||
#define PSI_CALL_unbind_table PSI_TABLE_CALL(unbind_table)
|
||||
#define PSI_CALL_rebind_table PSI_TABLE_CALL(rebind_table)
|
||||
@@ -54,7 +53,6 @@
|
||||
#define PSI_CALL_drop_table_share PSI_TABLE_CALL(drop_table_share)
|
||||
#else
|
||||
#define MYSQL_UNBIND_TABLE(handler) do { } while(0)
|
||||
#define MYSQL_REBIND_TABLE(handler) do { } while(0)
|
||||
|
||||
#define PSI_CALL_unbind_table(A1) do { } while(0)
|
||||
#define PSI_CALL_rebind_table(A1,A2,A3) NULL
|
||||
|
Reference in New Issue
Block a user