mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor WallFilter, change permit > deny
This commit is contained in:
@@ -31,7 +31,7 @@ public class WallReadOnlyTest extends TestCase {
|
||||
private WallConfig config = new WallConfig();
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
config.getReadOnlyTables().add("members");
|
||||
config.addReadOnlyTable("members");
|
||||
}
|
||||
private String sql = "SELECT F1, F2 members";
|
||||
private String insert_sql = "INSERT INTO members (FID, FNAME) VALUES (?, ?)";
|
||||
|
||||
Reference in New Issue
Block a user