mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
modify druid version
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
<version>0.2.26</version>
|
||||
<version>0.2.27</version>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
<name>druid</name>
|
||||
|
||||
@@ -19,8 +19,8 @@ public final class VERSION {
|
||||
|
||||
public final static int MajorVersion = 0;
|
||||
public final static int MinorVersion = 2;
|
||||
public final static int RevisionVersion = 26;
|
||||
|
||||
public final static int RevisionVersion = 27;
|
||||
|
||||
public static String getVersionNumber() {
|
||||
return VERSION.MajorVersion + "." + VERSION.MinorVersion + "." + VERSION.RevisionVersion;
|
||||
}
|
||||
|
||||
@@ -33,20 +33,20 @@ public class MySqlWallTest40 extends TestCase {
|
||||
|
||||
public void test_false() throws Exception {
|
||||
WallProvider provider = new MySqlWallProvider();
|
||||
provider.getConfig().setUseAllow(false);
|
||||
|
||||
Assert.assertFalse(provider.checkValid(//
|
||||
"use huaianapp")); //
|
||||
|
||||
Assert.assertEquals(0, provider.getTableStats().size());
|
||||
}
|
||||
|
||||
|
||||
public void test_true() throws Exception {
|
||||
WallProvider provider = new MySqlWallProvider();
|
||||
provider.getConfig().setUseAllow(true);
|
||||
|
||||
|
||||
Assert.assertTrue(provider.checkValid(//
|
||||
"use huaianapp")); //
|
||||
|
||||
"use huaianapp")); //
|
||||
|
||||
Assert.assertEquals(0, provider.getTableStats().size());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user