Fix crash in mysql_select_db if db is null
Fix crash in mysql_select_db if db is null

MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,MariaDB/mariadb-connector-c,ottok/mariadb-connector-c