#53014DatabaseConnection admin_get_fields and admin_get_keys don't check if the query result is valid
Description
In DatabaseConnection the two methods admin_get_fields and admin_get_keys throw a fatal error when the table name does not exist and tell that the method “fetch_assoc” cannot be called on a non object.
This happens because $this->link->query() returns false on failure. The fatal cannot be catched, and checking for an existing table in advance is cumbersome. The result of $this->link->query() should be checked for failure, like in the method admin_get_tables and an empty result should be returned.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.