Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-1391

LP #1196383: Thread pool breaks -DWITH_PERFSCHEMA_ENGINE=OFF

    Details

      Description

      **Reported in Launchpad by Wei Tang last update 01-10-2013 10:48:39

      It will crash if use these two parameters : -DWITHOUT_XXX_STORAGE_ENGINE=1 or -DWITH_XXX_STORAGE_ENGINE=1, like -DWITH_ARCHIVE_STORAGE_ENGINE=1 or -DWITHOUT_FEDERATED_STORAGE_ENGINE=1

      [ 96%] Building CXX object sql/CMakeFiles/sql.dir/threadpool_common.cc.o
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In member function 'void Worker_thread_context::save()':
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:79: error: 'struct PSI_none' has no member named 'get_thread'
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In member function 'void Worker_thread_context::restore()':
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:86: error: 'struct PSI_none' has no member named 'set_thread'
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In function 'bool thread_attach(THD*)':
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:103: error: 'struct PSI_none' has no member named 'set_thread'
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In function 'int threadpool_add_connection(THD*)':
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:202: error: 'struct PSI_none' has no member named 'new_thread'
      /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:202: error: 'key_thread_one_connection' was not declared in this scope
      make[2]: *** [sql/CMakeFiles/sql.dir/threadpool_common.cc.o] Error 1
      make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
      make: *** [all] Error 2

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: