MyCATApache / Mycat-Server

GNU General Public License v2.0
9.51k stars 3.85k forks source link

直接通过mycat建唯一索引报错 #1418

Open wanghao2445 opened 7 years ago

wanghao2445 commented 7 years ago

mycat版本1.6.5 eg: [SQL]create unique index i_epay_serial1 on biz_epay_serial ( instid, biz_date, biz_serialno, biz_type ); [Err] 1064 - op table not in schema----UNIQUE

ZzzCrazyPig commented 7 years ago

试试去掉unique吧,应该只能支持create index

wanghao2445 commented 7 years ago

建普通索引是OK的,因为在实际运用中唯一索引使用还是很多的,希望mycat也能支持~