|

楼主 |
发表于 2017-10-2 21:17:48
|
显示全部楼层
还是不行,
是这条语句吧?
CREATE TABLE `ffx_items` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ordid` int(11) NOT NULL DEFAULT '9999',
`cid` int(11) NOT NULL DEFAULT '0',
`tid` varchar(20) NOT NULL DEFAULT '',
`bid` int(11) unsigned NOT NULL DEFAULT 0,
`isbm` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否报名商品',
`title` varchar(255) NOT NULL DEFAULT '',
`intro` varchar(255) NOT NULL DEFAULT '',
`tag` varchar(20) NOT NULL DEFAULT '' COMMENT '商品标签',
`nick` varchar(200) NOT NULL DEFAULT '',
`nickid` varchar(50) not null default '0',
`shopname` varchar(100) not null default '',
`shopid` varchar(50) not null default '0',
`uid` smallint(5) unsigned NOT NULL DEFAULT '1',
`img_url` varchar(200) NOT NULL DEFAULT '',
`price` decimal(11,2) NOT NULL DEFAULT '0.00',
`yprice` decimal(11,2) NOT NULL DEFAULT '0.00',
`pc_click_url` varchar(500) NOT NULL DEFAULT '',
`wl_click_url` varchar(500) NOT NULL DEFAULT '',
`coupon_click_url` varchar(500) NOT NULL DEFAULT '',
`coupon_price` decimal(11,2) NOT NULL DEFAULT '0.00',
`tbpwd` VARCHAR(50) NOT NULL DEFAULT '',
`mbprice` decimal(11,2) NOT NULL DEFAULT '0.00',
`goodcr` decimal(5,2) not null default 0.00,
`goodcc` decimal(10,2) not null default 0.00,
`volume` int(11) unsigned NOT NULL DEFAULT 0,
`rate` smallint(4) NOT NULL DEFAULT 0,
`start_time` int(11) NOT NULL DEFAULT 0,
`end_time` int(11) NOT NULL DEFAULT 0,
`status` tinyint(1) NOT NULL DEFAULT '1',
`type` char(1) NOT NULL DEFAULT 'C',
`gtype` tinyint(1) NOT NULL DEFAULT '1',
`baoyou` tinyint(1) NOT NULL DEFAULT '0',
`isshow` tinyint(1) NOT NULL DEFAULT '1',
`likes` int(11) unsigned NOT NULL DEFAULT '0',
`inven` int(11) unsigned NOT NULL DEFAULT '0',
`hits` int(11) unsigned NOT NULL DEFAULT 0,
`videom4v` varchar(150) not null default '',
`videoogv` varchar(150) not null default '',
`videowebmv` varchar(150) not null default '',
`isvideo` tinyint(1) not null default 0,
`isquan` tinyint(1) not null default 0,
`camtype` tinyint(3) unsigned not null default 0,
`seo_title` varchar(255) NOT NULL DEFAULT '',
`seo_keys` varchar(255) NOT NULL DEFAULT '',
`seo_desc` text NOT NULL,
`add_time` int(11) unsigned NOT NULL DEFAULT 0,
`source` tinyint(3) unsigned NOT NULL DEFAULT 0,
`content` text NOT NULL,
PRIMARY KEY (`id`),
index `tid` (`tid`),
index cid_bid(`cid`,`bid`)
) ENGINE=innodb DEFAULT CHARSET=utf8
PARTITION BY RANGE (id) (
PARTITION p0 VALUES LESS THAN (250000),
PARTITION p1 VALUES LESS THAN (400000),
PARTITION p2 VALUES LESS THAN (550000),
PARTITION p3 VALUES LESS THAN (700000),
PARTITION p4 VALUES LESS THAN (850000),
PARTITION p5 VALUES LESS THAN (1000000),
PARTITION p6 VALUES LESS THAN MAXVALUE
);
在后台sql执行失败了!
|
|