Small fix DatabaseMysql
parent
f3c4baefe3
commit
9dc7e13788
|
@ -114,6 +114,7 @@ class DatabaseMysql implements Database
|
|||
}
|
||||
else
|
||||
{
|
||||
$this->transactions = array();
|
||||
$this->link->set_charset('utf8');
|
||||
if ($this->autoBegin)
|
||||
{
|
||||
|
@ -349,6 +350,7 @@ class DatabaseMysql implements Database
|
|||
{
|
||||
if (!$v)
|
||||
{
|
||||
// FIXME: It seems we should return empty result in that case
|
||||
throw new DatabaseException("Error: empty array for '$k IN (...)', don't know what to do");
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue