Drivers: support older servers that don't do query profiling

Review 1012 by @jdoliner