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

mysql_fix_privilege_tables_sql.c should be updated by 'make' if sys_schema/* files changes

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • N/A
    • Compiling
    • None

    Description

      cmake will not generate scripts/mysql_sys_schema.sql or mysql_fix_privilege_tables.sql if sys_schema/before_setup.sql

      This caused some failures in one environment that I am working on.
      (Basically I got broken binaries that are not usable for upgrade)
      Could you please fix that mysql_fix_privilege_tables.sql is updated if any sql files in script/sys_schema is changed.

      Please ensure that the following will work:
      cd scripts
      rm mysql_sys_schema.sql
      make
      Now I get the error:
      make[2]: *** No rule to make target `scripts/mysql_sys_schema.sql', needed by `scripts/mysql_fix_privilege_tables_sql.c'.

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            monty Michael Widenius
            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.