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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to