Commit 6b308c0b authored by inaam's avatar inaam

Do not return error in ha_innobase::info if srv_force_recovery >= 4. This is to allow for

normal processing of the query by MySQL instead of generating an error.

Reviewed by: Heikki
parent 85bd910c
......@@ -5548,7 +5548,12 @@ ha_innobase::info(
if (srv_force_recovery >= SRV_FORCE_NO_IBUF_MERGE) {
DBUG_RETURN(HA_ERR_CRASHED);
/* We return success (0) instead of HA_ERR_CRASHED,
because we want MySQL to process this query and not
stop, like it would do if it received the error code
HA_ERR_CRASHED. */
DBUG_RETURN(0);
}
/* We do not know if MySQL can call this function before calling
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment