Fixed #20112 -- last_executed_query unicode decoding based on connection