m_mysql: handle multiple result sets returned from multiple statements or procedure calls