* [misc,0.5h] fix bug.

This commit is contained in:
qixinzhi
2024-09-04 16:10:43 +08:00
committed by 代婷婷
parent 85ed35bb6b
commit ea41f81128
+1 -1
View File
@@ -322,7 +322,7 @@ class sqlparser
if(!empty($tableB)) $columnA = $this->trimExpr($columnA);
$exprA = empty($tableA) ? "`$columnA`" : "`$tableA`.`$columnA`";
$exprB = empty($tableB) ? "$columnB" : "`$tableB`.`$columnB`";
$exprB = empty($tableB) ? "'$columnB'" : "`$tableB`.`$columnB`";
$operator = strtoupper($operator);
$expr = "$exprA $operator $exprB";