Début implémentation base MSSQL
This commit is contained in:
parent
e0fcfd74b6
commit
47a8ab647f
@ -815,14 +815,14 @@ class DoliDb
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getDefaultCollationConnection(){
|
function getDefaultCollationConnection(){
|
||||||
$resql=$this->query('SHOW VARIABLES LIKE \'collation_database\'');
|
$resql=$this->query('SELECT SERVERPROPERTY(''collation'')');
|
||||||
if (!$resql)
|
if (!$resql)
|
||||||
{
|
{
|
||||||
// version Mysql < 4.1.1
|
// version Mysql < 4.1.1
|
||||||
return $this->forcecollate;
|
return $this->forcecollate;
|
||||||
}
|
}
|
||||||
$liste=$this->fetch_array($resql);
|
$liste=$this->fetch_array($resql);
|
||||||
return $liste['Value'];
|
return $liste['Value'];
|
||||||
}
|
}
|
||||||
|
|
||||||
function getListOfCollation(){
|
function getListOfCollation(){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user