Skip to content
Snippets Groups Projects
Commit 6d354896 authored by Prasad's avatar Prasad
Browse files

Fixed: Choose error over exception with MySQLi driver

parent b1f6b5b6
No related branches found
No related tags found
No related merge requests found
......@@ -811,6 +811,12 @@ class PearDatabase{
$this->println("ADODB Connect : DBType not specified");
return;
}
// Backward compatible mode for adodb library.
if ($this->dbType == 'mysqli') {
mysqli_report(MYSQLI_REPORT_ALL ^ MYSQLI_REPORT_STRICT);
}
$this->database = ADONewConnection($this->dbType);
// Setting client flag for Import csv to database(LOAD DATA LOCAL INFILE.....)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment