经过测试,完全正常!
不过,最好在安装的时候变动一下升级数据库的代码:
-
- DROP TABLE IF EXISTS cdb_pig;
- CREATE TABLE cdb_pig (
- id mediumint(8) NOT NULL auto_increment,
- usera char(15) NOT NULL default '',
- userb char(15) NOT NULL default '',
- type tinyint(2) NOT NULL default '0',
- time tinyint(2) NOT NULL default '0',
- status tinyint(1) NOT NULL default '0',
- notools tinyint(1) NOT NULL default '0',
- cdtime int(10) NOT NULL default '0',
- starttime int(10) NOT NULL default '0',
- overtime int(10) NOT NULL default '0',
- KEY id (id),
- KEY userb (userb)
- ) ENGINE=MyISAM DEFAULT CHARACTER SET gbk ;
- DROP TABLE IF EXISTS cdb_piglog;
- CREATE TABLE cdb_piglog (
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- pigusername char(15) NOT NULL DEFAULT '',
- action tinyint(1) NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- price smallint(6) NOT NULL DEFAULT '0',
- status tinyint(1) NOT NULL DEFAULT '0',
- KEY uid (uid,action)
- ) ENGINE=MyISAM DEFAULT CHARACTER SET gbk ;
- ALTER TABLE cdb_memberfields ADD pighead varchar(15) NOT NULL DEFAULT '';
复制代码
其实就是强制一下GBK,把“) TYPE=MyISAM;” 改为了“) ENGINE=MyISAM DEFAULT CHARACTER SET gbk ;
”
这样,就不会出现14楼的错误了!!
诅咒、解咒、头像变化都完全正常! |