Support sql_connection_debug to get SQL diagnostic information
Support sql_connection_debug to get SQL diagnostic information

We've had a few reports of SQL issues; it'll be very helpful to be able to get SQL information
into our log.

Bug #964844

Change-Id: I9d08991a3677bc6cbed45a930ede9271d685cac1

n0ano/ganttclient