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

undeclared identifier 'debug_sync_set_action'

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 5.5.53
    • 5.5(EOL)
    • Compiling
    • FreeBSD 10.3, x86, clang 3.4.1

    Description

      cd /build/maria/mariadb-5.5.53/sql && /usr/bin/clang++   -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -I/usr/local/include -I/build/maria/mariadb-5.5.53/include -I/build/maria/mariadb-5.5.53/sql -I/build/maria/mariadb-5.5.53/regex  -O3 -march=native -fno-exceptions -fno-rtti    -o CMakeFiles/sql.dir/item_func.cc.o -c /build/maria/mariadb-5.5.53/sql/item_func.cc
      /build/maria/mariadb-5.5.53/sql/item_func.cc:4507:7: error: use of undeclared identifier
            'debug_sync_set_action'
            debug_sync_set_action
            ^
      /build/maria/mariadb-5.5.53/include/my_dbug.h:75:50: note: expanded from macro 'DBUG_EXECUTE_IF'
              do {if (_db_keyword_(0, (keyword), 1)) { a1 }} while(0)
                                                       ^
      1 error generated.
      gmake[2]: *** [sql/CMakeFiles/sql.dir/build.make:502: sql/CMakeFiles/sql.dir/item_func.cc.o] Error 1
      

      built with:

      cmake . -DCMAKE_INSTALL_PREFIX:PATH=/opt/maria_5553 -DCMAKE_BUILD_TYPE:STRING=None -DENABLE_DEBUG_SYNC:BOOL=OFF -DENABLED_PROFILING:BOOL=OFF -DWITH_UNIT_TESTS:BOOL=OFF -DWITH_FEDERATED_STORAGE_ENGINE:BOOL=OFF -DWITH_EMBEDDED_SERVER:BOOL=OFF -DWITH_BLACKHOLE_STORAGE_ENGINE:BOOL=OFF -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_SKIP_RPATH:BOOL=YES
      

      as you can see ENABLE_DEBUG_SYNC is off. maybe something slipped through the cracks.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            gfischer gfischer
            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.