Skip to content
Permalink
Browse files

MDEV-12651: change error code to ER_ILLEGAL_HA in rnd_pos (ha_connect…

….cc)
  • Loading branch information...
Buggynours committed May 12, 2017
1 parent 436070c commit fd0335686b050dc9ba091fe664aa5cd99bd20739
Showing with 1 addition and 1 deletion.
  1. +1 −1 storage/connect/ha_connect.cc
@@ -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

0 comments on commit fd03356

Please sign in to comment.
You can’t perform that action at this time.