有人可以告诉我此表定义有什么问题吗?
mysql版本是5.1.52-log  
root@localhost spoolrdb> create table spoolqueue (
                             queue int,
                             idx bigint not null auto_increment,
                             status smallint,
                             querystring varchar(2048),
                             contenttype varchar(255),
                             characterencoding varchar(16),
                             body text,
                             primary key(queue,idx)
                             );
ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key
                
                1
              
                  我喜欢这个问题(为您+1),因为它提出了MyISAM独有的MySQL陷阱。问为什么总是比放弃和重新设计要好得多。
                
                
                  
                    —
                    RolandoMySQLDBA 2011年