Commit 18a44b4b authored by Monty's avatar Monty

Don't crash in S3 if Aria is not initialzed

parent 017150b7
...@@ -678,7 +678,10 @@ static int ha_s3_init(void *p) ...@@ -678,7 +678,10 @@ static int ha_s3_init(void *p)
{ {
bool res; bool res;
static const char *no_exts[]= { 0 }; static const char *no_exts[]= { 0 };
DBUG_ASSERT(maria_hton);
/* This can happen if Aria fails to start */
if (!maria_hton)
return HA_ERR_INITIALIZATION;
s3_hton= (handlerton *)p; s3_hton= (handlerton *)p;
......
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