I did some improvements to that file [0], and seems routines working properly.
I would be highly appreciated if you can just check the changes I did and let me know id there are points that may possible to break the behaviour, since you have idea on existed code as well as the behaviour.
And what do you think about the display message ? (currently it shows affected rows, but for multiple tables ?)
[0] :
https://github.com/Chanaka/phpmyadmin/commit/0659000a4e773ef8ae2f46f800bfdbce285deb6aRegards !
Chanaka