This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git


The following commit(s) were added to refs/heads/master by this push:
     new 26b1f6b  * Fixed bad return value in DBDictionary.getMinorVersion() 
(#61)
26b1f6b is described below

commit 26b1f6be289f1eacfb72f2998c360ff6dc692920
Author: NeMuX <nemu...@gmail.com>
AuthorDate: Tue Apr 21 21:14:22 2020 -0500

    * Fixed bad return value in DBDictionary.getMinorVersion() (#61)
---
 .../src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java 
b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
index 22ac05c..ed181b2 100644
--- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
+++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
@@ -5999,7 +5999,7 @@ public class DBDictionary
         * Gets minor version of the database server.
         */
        public final int getMinorVersion() {
-               return major;
+               return minor;
        }
 
        /**

Reply via email to