* [refac] fix class not found error.

This commit is contained in:
liugang
2024-11-20 15:42:49 +08:00
committed by 朱金勇
parent 14a0088b97
commit 5fea836c6e
+6 -6
View File
@@ -831,12 +831,12 @@ class cache
if($event == 'update' || $event == 'delete')
{
/* 获取 WHERE 子句的内容。Get the content of WHERE clause. */
$whereLen = strlen(DAO::WHERE);
$wherePOS = strrpos($sql, DAO::WHERE);
$groupPOS = strrpos($sql, DAO::GROUPBY);
$havingPOS = strrpos($sql, DAO::HAVING);
$orderPOS = strrpos($sql, DAO::ORDERBY);
$limitPOS = strrpos($sql, DAO::LIMIT);
$whereLen = strlen(\DAO::WHERE);
$wherePOS = strrpos($sql, \DAO::WHERE);
$groupPOS = strrpos($sql, \DAO::GROUPBY);
$havingPOS = strrpos($sql, \DAO::HAVING);
$orderPOS = strrpos($sql, \DAO::ORDERBY);
$limitPOS = strrpos($sql, \DAO::LIMIT);
$splitPOS = $orderPOS ? $orderPOS : $limitPOS;
$splitPOS = $havingPOS ? $havingPOS : $splitPOS;
$splitPOS = $groupPOS ? $groupPOS : $splitPOS;