ywendy commented on issue #5850:
URL: https://github.com/apache/shardingsphere/issues/5850#issuecomment-748745536


   @strongduanmu 
   
   换成4.0.1版本后的结果,正常运行不报错
   
   ```code
   []  2020-12-21 12:07:04.235 DEBUG 16348 --- [           main] 
o.e.m.LinkmanMapper.selectByTime_COUNT   : ==>  Preparing: SELECT count(0) FROM 
linkman WHERE DATE_FORMAT(create_time, '%Y-%m-%d') = DATE_FORMAT(?, '%Y-%m-%d') 
   []  2020-12-21 12:07:04.246 DEBUG 16348 --- [           main] 
o.e.m.LinkmanMapper.selectByTime_COUNT   : ==> Parameters: 2020-12-21 
12:07:04(String)
   []  2020-12-21 12:07:04.768 DEBUG 16348 --- [           main] 
o.e.m.LinkmanMapper.selectByTime_COUNT   : <==      Total: 1
   []  2020-12-21 12:07:04.773 DEBUG 16348 --- [           main] 
o.e.mapper.LinkmanMapper.selectByTime    : ==>  Preparing: SELECT id, mobile, 
name, mobile_encrypted, create_time FROM linkman WHERE DATE_FORMAT(create_time, 
'%Y-%m-%d') = DATE_FORMAT(?,'%Y-%m-%d') LIMIT ? 
   []  2020-12-21 12:07:04.774 DEBUG 16348 --- [           main] 
o.e.mapper.LinkmanMapper.selectByTime    : ==> Parameters: 2020-12-21 
12:07:04(String), 30(Integer)
   []  2020-12-21 12:07:04.804 DEBUG 16348 --- [           main] 
o.e.mapper.LinkmanMapper.selectByTime    : <==      Total: 30
   ```


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

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


Reply via email to