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 2022/05/30 10:46:21 UTC

[GitHub] [shardingsphere] lcxywfe opened a new issue, #18071: No sharding table insert bug

lcxywfe opened a new issue, #18071:
URL: https://github.com/apache/shardingsphere/issues/18071

   ## Bug Report
   
   
   ### Which version of ShardingSphere did you use?
   5.1.2 SNAPSHOT built master branch
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   SharidngSphere-Proxy
   
   ### Expected behavior
   There is a no sharding table `noshardingtest` and I did not add it to yaml rules.
   1.  ```insert into `noshardingtable` (`id`, `value`) values (1, 2);```
   Insert succeed
   2. ```insert into `noshardingtable` (`value`) values (2);```
   Insert succeed and use auto increment
   
   ### Actual behavior
   ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'org.apache.shardingsphere.sharding.rewrite.token.pojo.ShardingInsertValuesToken@' at line 1
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   Table create sql:
   ```CREATE TABLE `noshardingtest` ( `id` int NOT NULL AUTO_INCREMENT, `value` int not NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;```
   


-- 
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.apache.org

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


[GitHub] [shardingsphere] strongduanmu closed issue #18071: No sharding table insert bug

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #18071: No sharding table insert bug
URL: https://github.com/apache/shardingsphere/issues/18071


-- 
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] zjcnb commented on issue #18071: No sharding table insert bug

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #18071:
URL: https://github.com/apache/shardingsphere/issues/18071#issuecomment-1141005194

   @lcxywfe Thank you for your feedback, can you show your configuration?


-- 
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] lcxywfe commented on issue #18071: No sharding table insert bug

Posted by GitBox <gi...@apache.org>.
lcxywfe commented on issue #18071:
URL: https://github.com/apache/shardingsphere/issues/18071#issuecomment-1141095063

   @zjcnb Done.


-- 
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