- Модуль: perfmon
- Путь к файлу: ~/bitrix/modules/perfmon/classes/general/query.php
- Класс: CPerfQueryJoin
- Вызов: CPerfQueryJoin::_parse
function _parse($sql, &$table, &$column, &$const)
{
$match = array();
if (preg_match("/^([`"\[\]]{0,1}[a-zA-Z0-9_]+[`"\[\]]{0,1})\.(.+)$/", $sql, $match))
{
$table = $match[1];
$column = $match[2];
$const = "";
}
else
{
$table = "";
$column = "";
$const = $sql;
}
}