mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-25143 JSON_TABLE: Server crashes in handler::print_error / hton_name upon ERROR ON EMPTY.
should return some error code from ha_json_table::rnd_pos() not just 1.
This commit is contained in:
@ -445,7 +445,7 @@ error_return:
|
||||
|
||||
int ha_json_table::rnd_pos(uchar * buf, uchar *pos)
|
||||
{
|
||||
return fill_column_values(buf, pos);
|
||||
return fill_column_values(buf, pos) ? HA_ERR_TABLE_IN_FK_CHECK : 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user