Commit fd033568 authored by Olivier Bertrand's avatar Olivier Bertrand

MDEV-12651: change error code to ER_ILLEGAL_HA in rnd_pos (ha_connect.cc)

parent 436070c6
......@@ -3998,7 +3998,7 @@ int ha_connect::rnd_pos(uchar *buf, uchar *pos)
} else {
PGLOBAL g = GetPlug((table) ? table->in_use : NULL, xp);
strcpy(g->Message, "Not supported by this table type");
my_message(ER_UNKNOWN_ERROR, g->Message, MYF(0));
my_message(ER_ILLEGAL_HA, g->Message, MYF(0));
rc= HA_ERR_INTERNAL_ERROR;
} // endif SetRecpos
......
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