Menu

Commit [r8213]  Maximize  Restore  History

Introduce optional logging of SQL statements.

Turned off by default, this will nonetheless help us troubleshoot issues related to the database as we will be able to ask people to turn SQL tracing on (`[trac] debug_sql = yes`).

cboos 2009-05-21

changed /branches/0.11-stable/trac/db/api.py
changed /branches/0.11-stable/trac/db/mysql_backend.py
changed /branches/0.11-stable/trac/db/pool.py
changed /branches/0.11-stable/trac/db/postgres_backend.py
changed /branches/0.11-stable/trac/db/sqlite_backend.py
changed /branches/0.11-stable/trac/db/util.py
/branches/0.11-stable/trac/db/api.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/db/mysql_backend.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/db/pool.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/db/postgres_backend.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/db/sqlite_backend.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/db/util.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB