summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-06-04 12:45:23 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-06-04 12:45:23 +0000
commit546e672bbc33aae643ff0ed08275db89da9bde31 (patch)
tree642923d9ac4467debb0dd2b3c2ad5bb3043bddb8 /frontends/php/include/db.inc.php
parent4aa6a1f2f879f2564386c713e3e601e3012db512 (diff)
downloadzabbix-546e672bbc33aae643ff0ed08275db89da9bde31.tar.gz
zabbix-546e672bbc33aae643ff0ed08275db89da9bde31.tar.xz
zabbix-546e672bbc33aae643ff0ed08275db89da9bde31.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@1815 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 64f07f63..007f58e1 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -85,6 +85,7 @@
if(!$result)
{
error("SQL error: ".mysql_error());
+ error("Query: $query");
}
return $result;
}