You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/09 03:30:33 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue #12302: UnsupportedPreparedStatementException is not an ERROR in MySQL Proxy

TeslaCN opened a new issue #12302:
URL: https://github.com/apache/shardingsphere/issues/12302


   ## Feature Request
   
   ### Is your feature request related to a problem?
   
   ```
   [INFO ] 2021-09-09 11:14:56.701 [main] o.a.s.p.i.BootstrapInitializer - Database name is `MySQL`, version is `8.0.25`
   [INFO ] 2021-09-09 11:14:56.839 [main] o.a.s.p.frontend.ShardingSphereProxy - ShardingSphere-Proxy start success
   [ERROR] 2021-09-09 11:15:00.630 [epollEventLoopGroup-3-104] o.a.s.p.f.c.CommandExecutorTask - Exception occur: 
   org.apache.shardingsphere.proxy.frontend.exception.UnsupportedPreparedStatementException: null
   	at org.apache.shardingsphere.proxy.frontend.mysql.command.query.binary.prepare.MySQLComStmtPrepareExecutor.execute(MySQLComStmtPrepareExecutor.java:65)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:99)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:72)
   	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
   	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
   	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384)
   	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
   	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   
   ### Describe the feature you would like.
   
   Prepare `begin` is not allowed in MySQL and this situation is under MySQL client's control. This is not an ERROR, so it should not be logged as ERROR.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] strongduanmu closed issue #12302: UnsupportedPreparedStatementException is not an ERROR in MySQL Proxy

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #12302:
URL: https://github.com/apache/shardingsphere/issues/12302


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org