mysqli->store_result is supposed to return false on non selects

Fixes #2781

How do I test this? It is a mysql dependency, so unit tests aren't going to work, right?