Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4335

Add absolute path into columnstore-post-install and mariadb-columnstore-start.sh

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.5.3
    • 5.4.1
    • Build
    • None

    Description

      columnstore-post-install should be fixed to include absolute path to install_mcs_mysql.sh :

      -/usr/sbin/install_mcs_mysql.sh --tmpdir=$tmpDir
      +@ENGINE_BINDIR@/install_mcs_mysql.sh --tmpdir=$tmpDir
      

      So should mariadb-columnstore-start.sh, to include absolute path to dbbuilder:

      -su -s /bin/sh -c 'dbbuilder 7' mysql 1> /tmp/columnstore_tmp_files/dbbuilder.log
      +su -s /bin/sh -c '@ENGINE_BINDIR@/dbbuilder 7' mysql 1> /tmp/columnstore_tmp_files/dbbuilder.log
      

      Otherwise, ColumnStore refuses to initialize and start when compiled with a non-default install prefix, e.g.:

      cmake .. -DCMAKE_BUILD_TYPE=Debug \
       -DCMAKE_INSTALL_PREFIX=/opt/mariadb-10.5-cs \
       -DPLUGIN_COLUMNSTORE=DYNAMIC
      git status
      

      Attachments

        Issue Links

          Activity

            People

              David.Hall David Hall (Inactive)
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.