mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser derby support, bug fixed for issue #3020
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.alibaba.druid.bvt.sql.derby;
|
||||
|
||||
import com.alibaba.druid.sql.SQLUtils;
|
||||
import com.alibaba.druid.util.JdbcConstants;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
public class DerbySelectTest extends TestCase {
|
||||
public void test_for_derby() throws Exception {
|
||||
String sql = "select * from sys_user offset ? rows fetch next ? rows only";
|
||||
|
||||
SQLUtils.parseSingleStatement(sql, JdbcConstants.DERBY);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user