This commit is contained in:
wangyidong
2020-03-25 11:18:22 +08:00
parent 4388bf9c7b
commit 68155efe25

View File

@@ -226,6 +226,8 @@ class zdb
/* Open this file. */
$fp = fopen($fileName, 'w');
fwrite($fp, "SET NAMES utf8;\n");
$this->dbh->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false);
foreach($tables as $table => $tableType)
{
/* Check table exists. */