...OT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; #建立trigger 使用trigger来知道哪些帖子需要加入、更新、删除索引 CREATE TRIGGER imq AFTER INSERT ON pw_threads FOR EACH ROW insert into mq (tid, type) values(new.tid, 0); CREATE TRIGGER umq AFTER ...
...et){ $this->_charset = strtoupper($charset); if ($this->_charset == 'UTF8') { $this->_charset = 'UTF-8'; } return $this;} 设置字符集 默认字符集是 UTF-8, 如果您提交的搜索语句和预期得到的搜索结果为其它字符集, 请先设置 setCollapse() ...