Useful for automated statistics, returns the global SQL counter of queries. It does not affect any counters, and will print a warning if debug_sql is not enabled (counter would be zero, then). bzr revid: p_christ@hol.gr-20101117115232-olq747j4vmauqgy8