Add test if flush fails
This commit is contained in:
parent
0146ba83bf
commit
637712212b
@ -1024,6 +1024,10 @@ class DoliDb
|
|||||||
|
|
||||||
dol_syslog("mysql.lib::DDLCreateUser sql=".$sql,LOG_DEBUG);
|
dol_syslog("mysql.lib::DDLCreateUser sql=".$sql,LOG_DEBUG);
|
||||||
$resql=$this->query($sql);
|
$resql=$this->query($sql);
|
||||||
|
if (! $resql)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1018,6 +1018,7 @@ class DoliDb
|
|||||||
$resql=$this->query($sql);
|
$resql=$this->query($sql);
|
||||||
if (! $resql)
|
if (! $resql)
|
||||||
{
|
{
|
||||||
|
dol_syslog("mysqli.lib::DDLCreateUser sql=".$sql, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1030,6 +1031,7 @@ class DoliDb
|
|||||||
$resql=$this->query($sql);
|
$resql=$this->query($sql);
|
||||||
if (! $resql)
|
if (! $resql)
|
||||||
{
|
{
|
||||||
|
dol_syslog("mysqli.lib::DDLCreateUser sql=".$sql, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1039,6 +1041,7 @@ class DoliDb
|
|||||||
$resql=$this->query($sql);
|
$resql=$this->query($sql);
|
||||||
if (! $resql)
|
if (! $resql)
|
||||||
{
|
{
|
||||||
|
dol_syslog("mysqli.lib::DDLCreateUser sql=".$sql, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user