Skip to content

Commit

Permalink
MDEV-12651: change error code to ER_ILLEGAL_HA in rnd_pos (ha_connect…
Browse files Browse the repository at this point in the history
….cc)
  • Loading branch information
Buggynours committed May 12, 2017
1 parent 436070c commit fd03356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/connect/ha_connect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd03356

Please sign in to comment.