Fixed untested bugs in fetchAssoc() and count()...

Now easier testing of different mysql drivers with the SQL_DRIVER test
constant