You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/04/08 05:10:48 UTC

[GitHub] [incubator-shardingsphere] trojanliu edited a comment on issue #2125: not support count if, database will be the default , not the true

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)
   ![image](https://user-images.githubusercontent.com/8016811/55699915-8be3b780-59ff-11e9-92f2-49fea43440fa.png)
   
   
   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:
users@infra.apache.org


With regards,
Apache Git Services