Skip to content
Snippets Groups Projects
Commit 31f197d7 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Support for even more debugging in mysql backend

Ignore-this: 47b7640fefc8a7f15f39d4deb2e7fb10

darcs-hash:20091015202718-7ad00-44d90ae0cc61d2433f15865715bee68273f04232.gz
parent de12e551
No related branches found
No related tags found
No related merge requests found
......@@ -772,6 +772,10 @@ class auth_mysql extends auth_basic {
* @author Matthias Grimm <matthiasgrimm@users.sourceforge.net>
*/
function _queryDB($query) {
if($this->cnf['debug'] >= 2){
msg('MySQL query: '.hsc($query),0,__LINE__,__FILE__);
}
$resultarray = array();
if ($this->dbcon) {
$result = @mysql_query($query,$this->dbcon);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment