diff --git a/storage/csv/ha_tina.cc b/storage/csv/ha_tina.cc index ec569feec9d..540523f99b7 100644 --- a/storage/csv/ha_tina.cc +++ b/storage/csv/ha_tina.cc @@ -966,6 +966,7 @@ void ha_tina::update_status() int ha_tina::open(const char *name, int mode, uint open_options) { DBUG_ENTER("ha_tina::open"); + my_errno = 0; if (!(share= get_share(name, table))) DBUG_RETURN(HA_ERR_OUT_OF_MEM);