-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RouterUtil.removeSchema 移除schema不完全 #1316
Comments
HashJang
added a commit
to HashJang/Mycat-Server
that referenced
this issue
Dec 29, 2016
已提 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我的sql如下
其中test为schema名,我发现该方法用flag标识了是否含有'`'反引号。但是只处理了一次,所以我执行该方法的时候,的结果为:
这时候就报find no Route错误。
特殊处理反引号的地方
其中
sb
是包含了反引号这里的代码是while循环的,这时候
upSchema
不包含反引号。我上面的例子就返回-1。其实里面还有很多schema需要移除。The text was updated successfully, but these errors were encountered: