Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-308

1.4.5 download page has two inconsistent versions of the source code

    XMLWordPrintable

    Details

      Description

      I downloaded mariadb java-client 1.4.5 from here:
      https://mariadb.com/my_portal/download/java-client/1.4

      I saw that this page has the source code in two different formats:
      mariadb-java-client-1.4.5-sources.jar
      mariadb-java-client-1.4.5.tar.gz

      I downloaded both, compared them, and found out that some source code files are different.
      These java files differ:

      org/mariadb/jdbc/MariaDbDatabaseMetaData.java
      org/mariadb/jdbc/MariaDbServerPreparedStatement.java
      org/mariadb/jdbc/MariaDbStatement.java
      org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener.java
      org/mariadb/jdbc/internal/failover/thread/FailoverLoop.java
      org/mariadb/jdbc/internal/packet/send/SendGssApiAuthPacket.java
      org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol.java
      org/mariadb/jdbc/internal/protocol/Protocol.java
      org/mariadb/jdbc/internal/util/constant/Version.java
      org/mariadb/jdbc/internal/util/dao/PrepareResult.java
      org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerImpl.java
      org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerInterface.java
      org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder.java

      The .tar.gz version of Version.java contains the field version = "1.4.5-SNAPSHOT".
      The changes seem related to the changes mentioned in the release notes.

      Suggested Fixes:
      a) make sure that both files are built from the released version of the source code.
      b) remove the tar.gz file and add a link to the source code repository, for anyone who wants more than what's provided in sources.jar

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            votsalo Alex Athanasopoulos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.