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

MySQL Bug#11764633 : 57491: THD->MAIN_DA.IS_OK() ASSERT IN EMBEDDED

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.0.10
    • N/A
    • OTHER
    • None
    • 10.0.20

    Description

      Fix for MySQL "Bug#11764633 : 57491: THD->MAIN_DA.IS_OK() ASSERT IN EMBEDDED" seem to be merged to 10.0, but test case is not.

      Unfortunately just applying this test case doesn't make it work: test case is disabled due to:

      revno: 2875.286.26
      committer: Mayank Prasad <mayank.prasad@oracle.com
      branch nick: 5.5_12561297
      timestamp: Tue 2011-06-14 00:11:24 +0530
      message:
        BUG#12561297:LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING.
       
        Issue:
        When libmysqld/example/mysql_embedded is executed, it was getting abort. Its a
        regression as it was working in 5.1 and failed in 5.5. Issue is there because
        remaining_argc/remaining_argv were not getting assigned correctly in
        init_embedded_server() which were being used later in init_common_variable().
       
        Solution:
        Rectified code to pass correct argc/argv to be used in init_common_variable().

      Please fix that, enable mysql_embedded test and add test case as in attached patch.

      Attachments

        Issue Links

          Activity

            I was able to see two problems here:
            1. A bug in the mysql_test_run.pl, that doesn't set any parameters to the $MYSQL_EMBEDDED command. We need to at least add the '--defaults-file=.../.my.cnf' there

            2. Just dointg the above doesn't make the test working as both mysqltest_embedded and mysql_embedded try to use same data directory so the ARIA engine fails to get started.

            So that i'm not sure at the moment how to fix that, though would like to note that this bug is about the testing system only as far as i can see.

            holyfoot Alexey Botchkov added a comment - I was able to see two problems here: 1. A bug in the mysql_test_run.pl, that doesn't set any parameters to the $MYSQL_EMBEDDED command. We need to at least add the '--defaults-file=.../.my.cnf' there 2. Just dointg the above doesn't make the test working as both mysqltest_embedded and mysql_embedded try to use same data directory so the ARIA engine fails to get started. So that i'm not sure at the moment how to fix that, though would like to note that this bug is about the testing system only as far as i can see.

            The plan for this is to start the mysql_embedded in the different data directory.

            holyfoot Alexey Botchkov added a comment - The plan for this is to start the mysql_embedded in the different data directory.

            10.0 was EOLed in March 2019

            serg Sergei Golubchik added a comment - 10.0 was EOLed in March 2019

            People

              holyfoot Alexey Botchkov
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.