Optimisation performances migration
This commit is contained in:
parent
8982905224
commit
01b5375249
@ -685,7 +685,7 @@ class DoliDb
|
|||||||
if ($table) $like = "LIKE '".$table."'";
|
if ($table) $like = "LIKE '".$table."'";
|
||||||
$sql="SHOW TABLES FROM ".$database." ".$like.";";
|
$sql="SHOW TABLES FROM ".$database." ".$like.";";
|
||||||
//print $sql;
|
//print $sql;
|
||||||
$result = mysql_query($this->db, $sql);
|
$result = mysql_query($sql, $this->db);
|
||||||
while($row = mysql_fetch_array($result))
|
while($row = mysql_fetch_array($result))
|
||||||
{
|
{
|
||||||
$listtables[] = $row[0];
|
$listtables[] = $row[0];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user