Пример #1
0
 /**
  * @see DatabaseBase::isWriteQuery()
  *
  * @param $sql string
  *
  * @return bool
  */
 function isWriteQuery($sql)
 {
     return parent::isWriteQuery($sql) && !preg_match('/^ATTACH\\b/i', $sql);
 }