Description:
The 26.7.0-er Community Server - GPL package now ships thread_pool.so and the
plugin loads successfully in Community Edition. However, the thread_pool plugin
and its three companion I_S plugins (TP_THREAD_STATE, TP_THREAD_GROUP_STATE,
TP_THREAD_GROUP_STATS) still declare their license as PROPRIETARY.
As per, https://blogs.oracle.com/mysql/mysql-community-server-26-7-early-access-release the thread pool is now moved to community release. However the Liscence is not updated accordingly.
How to repeat:
1. Deploy the Community-GPL 26.7.0-er build with the thread pool plugin loaded:
mysqld ... --plugin-load-add=thread_pool.so
2. Run: SHOW PLUGINS; (or query I_S.PLUGINS)
Actual output:
mysql> SELECT @@version, @@version_comment, @@version_compile_os, @@version_compile_machine;
+-----------+------------------------------+----------------------+---------------------------+
| @@version | @@version_comment | @@version_compile_os | @@version_compile_machine |
+-----------+------------------------------+----------------------+---------------------------+
| 26.7.0-er | MySQL Community Server - GPL | macos15 | arm64 |
+-----------+------------------------------+----------------------+---------------------------+
mysql> SELECT PLUGIN_NAME, PLUGIN_STATUS, PLUGIN_TYPE, PLUGIN_LIBRARY, PLUGIN_LICENSE, PLUGIN_AUTHOR
FROM INFORMATION_SCHEMA.PLUGINS
WHERE PLUGIN_LIBRARY='thread_pool.so';
+-----------------------+---------------+--------------------+----------------+----------------+--------------------+
| PLUGIN_NAME | PLUGIN_STATUS | PLUGIN_TYPE | PLUGIN_LIBRARY | PLUGIN_LICENSE | PLUGIN_AUTHOR |
+-----------------------+---------------+--------------------+----------------+----------------+--------------------+
| thread_pool | ACTIVE | DAEMON | thread_pool.so | PROPRIETARY | Oracle Corporation |
| TP_THREAD_STATE | ACTIVE | INFORMATION SCHEMA | thread_pool.so | PROPRIETARY | Oracle Corporation |
| TP_THREAD_GROUP_STATE | ACTIVE | INFORMATION SCHEMA | thread_pool.so | PROPRIETARY | Oracle Corporation |
| TP_THREAD_GROUP_STATS | ACTIVE | INFORMATION SCHEMA | thread_pool.so | PROPRIETARY | Oracle Corporation |
+-----------------------+---------------+--------------------+----------------+----------------+--------------------+
Suggested fix:
Update the plugin details about license in plugins table.