* [highgo] replace iqchar

This commit is contained in:
朱金勇
2025-11-06 16:04:30 +08:00
committed by Gitfox
parent a06bb630b5
commit 183db59e36
+5 -1
View File
@@ -2393,7 +2393,11 @@ class baseSQL
if(strpos($set, '=') === false)
{
$set = str_replace(',', '', $set);
$set = '`' . str_replace('`', '', $set) . '`';
$set = $this->dbh->iqchar . str_replace('`', '', $set) . $this->dbh->iqchar;
}
else
{
$set = str_replace('`', $this->dbh->iqchar, $set);
}
$this->sql .= $this->isFirstSet ? " $set" : ", $set";