trojanliu edited a comment on issue #2125: not support count if,  database will 
be the default , not the true
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2125#issuecomment-480685064
 
 
   
![image](https://user-images.githubusercontent.com/8016811/55699691-92256400-59fe-11e9-9560-43a275d29a20.png)
   
   
![aaaaaaaaaaa](https://user-images.githubusercontent.com/8016811/55700172-d74a9580-5a00-11e9-8ff7-184f545a5606.jpeg)
   
   
   IN VERSION 3.1.0 
   
   if sql is 'SELECT count(IF(sex = 1 , TRUE , NULL)) AS maleCount FROM 
tx_user;'
   
   it will parsing stop at `if`.  
   AND tablename is not parsing, so it use the default database;
   
   

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


With regards,
Apache Git Services

Reply via email to