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

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 5.4.1
    • Component/s: Build
    • Labels:
      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

              Assignee:
              David.Hall David Hall
              Reporter:
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration