diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-06 18:14:11 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-06 18:14:11 -0700 |
commit | 66a6fd8df07ea18de77c640a7ae08c2a3f630c85 (patch) | |
tree | 05aa1d7e0c4ecca21dfc80992f6df302f82b93af /include | |
parent | c7c3db8c54ada33c785a7303de582a3d0c1a14ee (diff) | |
download | volse-hubzilla-66a6fd8df07ea18de77c640a7ae08c2a3f630c85.tar.gz volse-hubzilla-66a6fd8df07ea18de77c640a7ae08c2a3f630c85.tar.bz2 volse-hubzilla-66a6fd8df07ea18de77c640a7ae08c2a3f630c85.zip |
more instrumentation
Diffstat (limited to 'include')
-rw-r--r-- | include/dba.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dba.php b/include/dba.php index 9e44db5fb..0e790d4c1 100644 --- a/include/dba.php +++ b/include/dba.php @@ -57,6 +57,10 @@ class dba { break; } } + else { + if(($result === false) && (file_exists('dbfail.out'))) + file_put_contents('dbfail.out', printable($sql) . ' returned false' . "\n", FILE_APPEND); + } if(($result === true) || ($result === false)) return $result; |