From 9814721e8ddee4e26cc58cd47301e5d741048a22 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 19 Mar 2008 14:36:47 +0000 Subject: Enable SQL logging (set 'sql_debug' config param to true); Switch to emulated prepare mode for better performance --- program/include/rcube_db.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'program/include/rcube_db.inc') diff --git a/program/include/rcube_db.inc b/program/include/rcube_db.inc index 4c3e9fc62..63c6759b9 100644 --- a/program/include/rcube_db.inc +++ b/program/include/rcube_db.inc @@ -153,8 +153,18 @@ class rcube_db $this->db_handle = $this->dsn_connect($dsn); $this->db_connected = $this->db_handle ? TRUE : FALSE; } + + + /** + * Activate/deactivate debug mode + * (not implemented) + */ + function set_debug($dbg = true) + { - + } + + /** * Getter for error state * -- cgit v1.2.3