File tree Expand file tree Collapse file tree 7 files changed +23
-28
lines changed
polardbx-common/src/main/java/com/alibaba/polardbx/common/utils/version
src/main/java/com/alibaba/polardbx/executor/gsi/utils
src/test/java/com/alibaba/polardbx/qatest/ddl/sharding/gsi/group1 Expand file tree Collapse file tree 7 files changed +23
-28
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class InstanceVersion {
2929 private static final String regex = "\\ d+\\ .\\ d+\\ .\\ d+" ;
3030 private static final String VERSION_PREFIX_56 = "5.6.29" ;
3131 private static final String VERSION_PREFIX_57 = "5.7.25" ;
32- private static final String VERSION_PREFIX_8 = "8.0.3 " ;
32+ private static final String VERSION_PREFIX_8 = "8.0.32 " ;
3333 private static final String DEFAULT_VERSION_PREFIX = VERSION_PREFIX_56 ;
3434 static volatile InstanceVersion instanceVersion = new InstanceVersion ();
3535 /**
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private Version() {
3535 }
3636
3737 // TODO get product version from config property
38- public static final String PRODUCT_VERSION = "2.5.0 " ;
38+ public static final String PRODUCT_VERSION = "2.4.1 " ;
3939
4040 private static final Logger logger = LoggerFactory .getLogger (Version .class );
4141 private static final Package myPackage = VersionAnnotation .class .getPackage ();
Original file line number Diff line number Diff line change 236236 <artifactId >aircompressor</artifactId >
237237 <version >${aircompressor.version} </version >
238238 </dependency >
239- <dependency >
240- <groupId >com.alibaba.polardbx</groupId >
241- <artifactId >airlift-all-shade</artifactId >
242- <version >${airlift.shade.version} </version >
243- </dependency >
239+ <!-- <dependency> -- >
240+ <!-- <groupId>com.alibaba.polardbx</groupId> -- >
241+ <!-- <artifactId>airlift-all-shade</artifactId> -- >
242+ <!-- <version>${airlift.shade.version}</version> -- >
243+ <!-- </dependency> -- >
244244 <dependency >
245245 <groupId >javax.validation</groupId >
246246 <artifactId >validation-api</artifactId >
Original file line number Diff line number Diff line change 2323import com .google .common .base .Preconditions ;
2424import com .google .common .io .BaseEncoding ;
2525import com .mysql .jdbc .StringUtils ;
26- import com .mysql .jdbc .ZeroDate ;
27- import com .mysql .jdbc .ZeroTime ;
28- import com .mysql .jdbc .ZeroTimestamp ;
26+ import com .alibaba . polardbx . common .jdbc .ZeroDate ;
27+ import com .alibaba . polardbx . common .jdbc .ZeroTime ;
28+ import com .alibaba . polardbx . common .jdbc .ZeroTimestamp ;
2929import com .alibaba .polardbx .common .exception .TddlNestableRuntimeException ;
3030import com .alibaba .polardbx .common .jdbc .ParameterContext ;
3131import com .alibaba .polardbx .common .jdbc .ParameterMethod ;
Original file line number Diff line number Diff line change 1515 <artifactId >polardbx-test</artifactId >
1616
1717 <properties >
18- <mysql_connector_v5 >5.1.40.12 </mysql_connector_v5 >
18+ <mysql_connector_v5 >5.1.49 </mysql_connector_v5 >
1919 <mysql_connector_v8 >8.0.26</mysql_connector_v8 >
2020 <polardbx_connector >1.4.0-SNAPSHOT</polardbx_connector >
2121 <mvn_parallel >none</mvn_parallel >
4040 <artifactId >jcip-annotations</artifactId >
4141 <version >${jcip.version} </version >
4242 </dependency >
43- <dependency >
44- <groupId >com.alibaba.external</groupId >
45- <artifactId >test.junit.hamcrest</artifactId >
46- <version >${test.junit.hamcrest.version} </version >
47- <scope >test</scope >
48- </dependency >
4943 <dependency >
5044 <groupId >${project.groupId} </groupId >
5145 <artifactId >polardbx-optimizer</artifactId >
9589 <version >${mysql_connector_v5} </version >
9690 <scope >test</scope >
9791 </dependency >
92+
9893 <dependency >
99- <groupId >com.aliyun</groupId >
100- <artifactId >polardbx-java-connector</artifactId >
101- <version >${polardbx_connector} </version >
94+ <groupId >org.hamcrest</groupId >
95+ <artifactId >hamcrest</artifactId >
10296 <scope >test</scope >
103- <exclusions >
104- <exclusion >
105- <groupId >org.junit.jupiter</groupId >
106- <artifactId >junit-jupiter</artifactId >
107- </exclusion >
108- </exclusions >
10997 </dependency >
11098
11199
100+
112101 <dependency >
113102 <groupId >com.google.truth</groupId >
114103 <artifactId >truth</artifactId >
Original file line number Diff line number Diff line change 3838import static com .alibaba .polardbx .qatest .validator .DataValidator .resultSetContentSameAssert ;
3939import static org .hamcrest .MatcherAssert .assertThat ;
4040import static org .hamcrest .core .Is .is ;
41- import static org .hamcrest .number .OrderingComparisons .greaterThan ;
41+ import static org .hamcrest .number .OrderingComparison .greaterThan ;
4242
4343/**
4444 * @author chenmo.cm
Original file line number Diff line number Diff line change 142142 <jackson-mapper-asl .version>1.9.13</jackson-mapper-asl .version>
143143 <dtafEx .version>0.0.2-SNAPSHOT</dtafEx .version>
144144 <ddl-parser .version>1.0.2</ddl-parser .version>
145- <test .junit. hamcrest.version>1.1</ test .junit. hamcrest.version>
145+ <hamcrest .version>2.2</ hamcrest .version>
146146 <sshtester .version>0.2.8</sshtester .version>
147147 <xml-apis .version>1.4.01</xml-apis .version>
148148 <jetty .version>9.4.20.v20190813</jetty .version>
483483 <version >${mockito.verison} </version >
484484 <scope >test</scope >
485485 </dependency >
486+ <dependency >
487+ <groupId >org.hamcrest</groupId >
488+ <artifactId >hamcrest</artifactId >
489+ <version >${hamcrest.version} </version >
490+ <scope >test</scope >
491+ </dependency >
486492 <!-- <dependency>-->
487493 <!-- <groupId>org.apache.arrow</groupId>-->
488494 <!-- <artifactId>arrow-vector</artifactId>-->
You can’t perform that action at this time.
0 commit comments