Add missing query to dummy driver

This is needed to run testsuite on Windows.