aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_pdo.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-10-30 15:54:46 +0100
committerMario Vavti <mario@mariovavti.com>2016-10-30 15:54:46 +0100
commitdb6a207afebbb44734026290fadc3836adf522ec (patch)
tree89ab0bda69faff9bc534471ab48f7ff95e4695b9 /include/dba/dba_pdo.php
parent9b42bc860da9a1540603d8705b4c55a219c401a2 (diff)
parent6174aa01e0e5fc72b0a5c843ff4a75709e9038f9 (diff)
downloadvolse-hubzilla-db6a207afebbb44734026290fadc3836adf522ec.tar.gz
volse-hubzilla-db6a207afebbb44734026290fadc3836adf522ec.tar.bz2
volse-hubzilla-db6a207afebbb44734026290fadc3836adf522ec.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/dba/dba_pdo.php')
-rwxr-xr-xinclude/dba/dba_pdo.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dba/dba_pdo.php b/include/dba/dba_pdo.php
index 526bf765c..cb244abad 100755
--- a/include/dba/dba_pdo.php
+++ b/include/dba/dba_pdo.php
@@ -60,7 +60,7 @@ class dba_pdo extends dba_driver {
$this->error = $e->getMessage();
if($this->error) {
- db_logger('dba_mysqli: ERROR: ' . printable($sql) . "\n" . $this->error, LOGGER_NORMAL, LOG_ERR);
+ db_logger('dba_pdo: ERROR: ' . printable($sql) . "\n" . $this->error, LOGGER_NORMAL, LOG_ERR);
if(file_exists('dbfail.out')) {
file_put_contents('dbfail.out', datetime_convert() . "\n" . printable($sql) . "\n" . $this->error . "\n", FILE_APPEND);
}
@@ -69,13 +69,13 @@ class dba_pdo extends dba_driver {
if(!($select)) {
if($this->debug) {
- db_logger('dba_mysqli: DEBUG: ' . printable($sql) . ' returns ' . (($result) ? 'true' : 'false'), LOGGER_NORMAL,(($result) ? LOG_INFO : LOG_ERR));
+ db_logger('dba_pdo: DEBUG: ' . printable($sql) . ' returns ' . (($result) ? 'true' : 'false'), LOGGER_NORMAL,(($result) ? LOG_INFO : LOG_ERR));
}
return $result;
}
if($this->debug) {
- db_logger('dba_mysqli: DEBUG: ' . printable($sql) . ' returned ' . count($result) . ' results.', LOGGER_NORMAL, LOG_INFO);
+ db_logger('dba_pdo: DEBUG: ' . printable($sql) . ' returned ' . count($result) . ' results.', LOGGER_NORMAL, LOG_INFO);
}
$r = array();