代码拉取完成,页面将自动刷新
以前使用的mycat1.6,已经正常使用,后期准备着手转入.net 6.0,但是发现mycat 1.6中的server.json/serverVersion节点值修改了后没有效果,.net 6.0要求版本和mysql一致,故而升级至mycat2-1.22,但是升级之后把逻辑库映射完毕后代码执行对分表的新增和修改时就会报错:
Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
单独拿sql到mycat中执行是正常的。