FEAT: add query index in error response

Author: mcanepaCreated Aug 27, 2026Updated Sep 2, 2026
Labelsenhancementaccepted :+1:

I want to run several querys, lets say something like

ALTER TABLE schema1.my_table MODIFY `name` varchar(100) not null;
ALTER TABLE schema2.my_table MODIFY `name` varchar(100) not null;
ALTER TABLE schema3.my_table MODIFY `name` varchar(100) not null;
...
ALTER TABLE schema100.my_table MODIFY `name` varchar(100) not null;

And if any of those fails, I get an error, in this particular case

Data truncated for column 'name' at row 1

But I have no way to know which one failed.

I guess they are executed in a loop, so it would be nice to have the index + 1 in the response

Data truncated for column 'name' at row 1 (@ query #X)

Source: beekeeper-studio/beekeeper-studio