1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

More db class tweaks

This commit is contained in:
Cameron
2019-02-09 13:07:34 -08:00
parent b471292a36
commit f735292e3f
3 changed files with 11 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ class e_db_pdo implements e_db
/** @var PDO */
protected $mySQLaccess;
public $mySQLresult;
public $mySQLrows;
public $mySQLerror = ''; // Error reporting mode - TRUE shows messages
protected $mySQLrows;
protected $mySQLerror = false; // Error reporting mode - TRUE shows messages
protected $mySQLlastErrNum = 0; // Number of last error - now protected, use getLastErrorNumber()
protected $mySQLlastErrText = ''; // Text of last error - now protected, use getLastErrorText()
@@ -48,8 +48,8 @@ class e_db_pdo implements e_db
public $total_results = false; // Total number of results
private $pdo = true; // using PDO or not.
private $pdoBind= false;
private $pdo = true; // using PDO or not.
private $pdoBind = false;
/**
@@ -1539,7 +1539,7 @@ class e_db_pdo implements e_db
* @desc Enter description here...
* @access private
*/
function db_SetErrorReporting($mode)
function setErrorReporting($mode)
{
$this->mySQLerror = $mode;
}