Skip to content

Commit

Permalink
log where the query was called from
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@172 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Oct 20, 2011
1 parent 24e151e commit 6defc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website_code/php/database_library.php
Expand Up @@ -107,7 +107,7 @@ function db_query($sql, $params = array()) {
}
$curph--;
}
_debug("Running : $sql");
_debug("Running : $sql",1);
$result = mysql_query($sql, $connection);
if(!$result) {
_debug("Failed to execute query : $sql : " . mysql_error());
Expand Down

0 comments on commit 6defc2a

Please sign in to comment.