mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support cobar hints
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.alibaba.druid.bvt.sql.mysql;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import com.alibaba.druid.sql.SQLUtils;
|
||||
|
||||
public class CobarHintsTest extends TestCase {
|
||||
public void test_0 () throws Exception {
|
||||
String sql = "/*!cobar: select,4,ireport.dm_mdm_mem_prod_noeff_sdt0.admin_member_seq=45654723*/ select * from t";
|
||||
|
||||
SQLUtils.formatMySql(sql);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user