【问题详细描述】
如图create&insert所示:
创建表:create table tmp1_is_ac_user_trace like is_ac_user_trace;
插入记录:insert into tmp1_is_ac_user_trace select * from is_ac_user_trace;
报:ERROR 1030(HY000):Got error 40135 from storage engine
【解决方法】
1、在sdb中t2是主子表时,在MySQL中创建表使用create table t1 like t2语句,在sdb中只有t1主表存在,子表没有,所以在MySQL中往t1中插入记录时会报40135错误(在sdb中对应的错误码是-135);
2、如果需要在t1中插入数据,需要在sdb中重新创建子表和挂载。
【参考资料】
MySQL与sdb错误码转换关系:http://doc.sequoiadb.com/cn/sequoiadb-cat_id-1555382544-edition_id-0
主子表:http://doc.sequoiadb.com/cn/index-cat_id-1454575727-edition_id-302