Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12920

Header changes in MariaDB 10.1.23 ?

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.1.23
    • N/A
    • None
    • gcc 6.3.0 on Ubuntu zesty

    Description

      Hi,

      I'm trying to compile tokudb-backup against 10.1.23 and it fails with the following error :

      [100%] Building CXX object plugin/tokudb-backup-plugin/CMakeFiles/tokudb_backup.dir/tokudb_backup.cc.o
      [100%] Linking CXX shared module tokudb_backup.so
      CMakeFiles/tokudb_backup.dir/tokudb_backup.cc.o: In function `tokudb_backup_progress_fun(float, char const*, void*)':
      /home/scadmin/mariadb/plugin/tokudb-backup-plugin/tokudb_backup.cc:107: undefined reference to `my_realloc'
      CMakeFiles/tokudb_backup.dir/tokudb_backup.cc.o: In function `tokudb_backup_check_throttle(THD*, st_mysql_sys_var*, void*, st_mysql_value*)':
      /home/scadmin/mariadb/plugin/tokudb-backup-plugin/tokudb_backup.cc:640: undefined reference to `check_global_access(THD*, unsigned long, bool)'
      CMakeFiles/tokudb_backup.dir/tokudb_backup.cc.o: In function `tokudb_backup_set_error_string(THD*, int, char const*, char const*, char const*, char const*) [clone .constprop.18]':
      /home/scadmin/mariadb/plugin/tokudb-backup-plugin/tokudb_backup.cc:128: undefined reference to `my_malloc'
      

      There's no compile issue with MariaDB 10.1.22 source code.

      How to repeat:

      Get 10.1.23 source code, extract and then :

      cd mariadb-10.1.23;
      cd plugin
      git clone https://github.com/percona/tokudb-backup-plugin
      cd tokudb-backup-plugin
      git checkout tokudb-backup-0.17
      git clone https://github.com/percona/Percona-TokuBackup
      cd Percona-TokuBackup 
      git checkout tokudb-backup-0.17
      cd ..
      rm -rf backup
      ln -s Percona-TokuBackup/backup .
      cd ../../../
      rm -rf mariadb-server-build
      mkdir mariadb-server-build
      cd mariadb-server-build
      cmake -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=../tokudb-backup -DTOKUDB_BACKUP_PLUGIN_VERSION=tokudb-backup-0.17 ../mariadb-10.1.23
      cd plugin/tokudb-backup-plugin
      make -j8
      

      I do not expect this kind issue between minor version upgrade.

      Thanks,
      Jocelyn Fournier

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              joce jocelyn fournier
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.