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

TokuDB: hatoku_hton.cc:1021:5: warning: ‘do_commit’ may be used uninitialized in this function

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.38, 10.0.11
    • 5.5.39, 10.0.13
    • None

    Description

      Compiling MariaDB with ASAN gives:
      cmake -DWITH_ASAN=ON -DCMAKE_BUILD_TYPE=Debug -DMYSQL_MAINTAINER_MODE=ON

      [ 88%] Building CXX object storage/tokudb/CMakeFiles/tokudb.dir/ha_tokudb.cc.o
      In file included from /home/svoj/devel/maria/10.0/storage/tokudb/ha_tokudb.cc:8287:0:
      /home/svoj/devel/maria/10.0/storage/tokudb/hatoku_hton.cc: In function ‘int tokudb_discover3(handlerton*, THD*, const char*, const char*, char*, uchar**, size_t*)’:
      /home/svoj/devel/maria/10.0/storage/tokudb/hatoku_hton.cc:1021:5: warning: ‘do_commit’ may be used uninitialized in this function [-Wmaybe-uninitialized]
           if (do_commit && txn) {
           ^

      Attachments

        Issue Links

          Activity

            People

              prohaska7 Rich Prohaska
              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.