• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/database.php
  • Класс: CAllDatabase
  • Вызов: CAllDatabase::GetErrorSQL
public function GetErrorSQL()
{
	if(is_object($this->obSlave) && $this->obSlave->db_ErrorSQL <> '')
		return $this->obSlave->db_ErrorSQL;
	elseif($this->db_ErrorSQL <> '')
	{
		return $this->db_ErrorSQL;
	}
	else
		return '';
}