mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Merge changes from MySQL to get the code compiling again:
Change return type of ha_innobase::info to int. plug.in: Add MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS.
This commit is contained in:
parent
3b8ef8a822
commit
b4b9a10700
3 changed files with 5 additions and 4 deletions
|
@ -5485,7 +5485,7 @@ ha_innobase::read_time(
|
|||
Returns statistics information of the table to the MySQL interpreter,
|
||||
in various fields of the handle object. */
|
||||
|
||||
void
|
||||
int
|
||||
ha_innobase::info(
|
||||
/*==============*/
|
||||
uint flag) /* in: what information MySQL requests */
|
||||
|
@ -5508,7 +5508,7 @@ ha_innobase::info(
|
|||
|
||||
if (srv_force_recovery >= SRV_FORCE_NO_IBUF_MERGE) {
|
||||
|
||||
DBUG_VOID_RETURN;
|
||||
DBUG_RETURN(HA_ERR_CRASHED);
|
||||
}
|
||||
|
||||
/* We do not know if MySQL can call this function before calling
|
||||
|
@ -5700,7 +5700,7 @@ ha_innobase::info(
|
|||
|
||||
prebuilt->trx->op_info = (char*)"";
|
||||
|
||||
DBUG_VOID_RETURN;
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
|
|
@ -143,7 +143,7 @@ class ha_innobase: public handler
|
|||
int rnd_pos(byte * buf, byte *pos);
|
||||
|
||||
void position(const byte *record);
|
||||
void info(uint);
|
||||
int info(uint);
|
||||
int analyze(THD* thd,HA_CHECK_OPT* check_opt);
|
||||
int optimize(THD* thd,HA_CHECK_OPT* check_opt);
|
||||
int discard_or_import_tablespace(my_bool discard);
|
||||
|
|
1
plug.in
1
plug.in
|
@ -68,4 +68,5 @@ MYSQL_PLUGIN_ACTIONS(innobase, [
|
|||
storage/innobase/handler/Makefile
|
||||
storage/innobase/usr/Makefile)
|
||||
])
|
||||
MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(innobase, [handler/ha_innodb.cc])
|
||||
|
||||
|
|
Loading…
Reference in a new issue