From d67ae964271d456078588faac196ebf7111305aa Mon Sep 17 00:00:00 2001 From: thomasb 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 git-svn-id: https://svn.roundcube.net/trunk@1194 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_db.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/include/rcube_db.inc') diff --git a/roundcubemail/program/include/rcube_db.inc b/roundcubemail/program/include/rcube_db.inc index 4c3e9fc62..63c6759b9 100644 --- a/roundcubemail/program/include/rcube_db.inc +++ b/roundcubemail/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