public function __construct($conf)
{
isset($conf['mark']) || ($conf['mark'] = md5(json_encode($conf)));
$this->conf = $conf;
isset($this->conf['log_slow_sql']) || ($this->conf['log_slow_sql'] = false);
$this->tablePrefix = $this->conf['master']['tableprefix'];
}