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

Type comparison is incorrect

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 12.3.1
    • 12.3
    • XML
    • None
    • Can result in unexpected behaviour

    Description

      An error in the code in item_timefunc.cc was found

      if (typeid(this) != typeid(item))
      
      

      supposed to be

       if (typeid(*this) != typeid(*item))
      

      Need to fix this and cover with the adequate test case.

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              holyfoot Alexey Botchkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.