mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
Work on PDO Sqlite driver
This commit is contained in:
@@ -507,7 +507,7 @@ class DoliDBPgsql
|
||||
|
||||
// Convert MySQL syntax to PostgresSQL syntax
|
||||
$query=$this->convertSQLFromMysql($query,$type);
|
||||
//print "FF\n".$query."<br>\n";
|
||||
//print "After convertSQLFromMysql:\n".$query."<br>\n";
|
||||
|
||||
// Fix bad formed requests. If request contains a date without quotes, we fix this but this should not occurs.
|
||||
$loop=true;
|
||||
@@ -786,7 +786,7 @@ class DoliDBPgsql
|
||||
return 'DB_ERROR_FAILED_TO_CONNECT';
|
||||
}
|
||||
else {
|
||||
// Constants to convert a MySql error code to a generic Dolibarr error code
|
||||
// Constants to convert error code to a generic Dolibarr error code
|
||||
$errorcode_map = array(
|
||||
1004 => 'DB_ERROR_CANNOT_CREATE',
|
||||
1005 => 'DB_ERROR_CANNOT_CREATE',
|
||||
|
||||
Reference in New Issue
Block a user