add debug messages for SQL of OGR provider