[#2809] Add support for MySQL's MID() function, which is a synonym for SUBSTRING()