Skip to content

Commit 2a67722

Browse files
committed
WL#16614: remove the version_token plugin
Removed the plugin, packaging and related tests Change-Id: Ia8499a9af17b78a03b52259f93776fe52b39626b
1 parent 735add3 commit 2a67722

31 files changed

+4
-2481
lines changed

Doxyfile.in

-1
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,6 @@ INPUT = ./client \
949949
./plugin/semisync \
950950
./plugin/test_services \
951951
./plugin/test_service_sql_api \
952-
./plugin/version_token \
953952
./plugin/pfs_table_plugin \
954953
./router/src \
955954
./sql \

mysql-test/include/plugin.defs

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ test_udf_services plugin_output_directory no TESTUDFREGISTRATION test_udf_r
6464
test_udf_services plugin_output_directory no TESTUDFEXTENSIONSERVICES test_udf_extension_services
6565
group_replication plugin_output_directory no GROUP_REPLICATION
6666
locking_service plugin_output_directory no LOCKING_SERVICE
67-
version_token plugin_output_directory no VERSION_TOKEN
6867
# Test services framework
6968
libtest_services plugin_output_directory no TESTSERVICES
7069
libtest_services_threaded plugin_output_directory no TESTSERVICESTHREADED

mysql-test/lock_order_dependencies.txt

-7
Original file line numberDiff line numberDiff line change
@@ -3620,13 +3620,6 @@ ARC FROM "rwlock/sql/Trans_delegate::lock" STATE "W" TO "rwlock/sql/Binlog_relay
36203620
ARC FROM "rwlock/sql/Trans_delegate::lock" STATE "W" TO "rwlock/sql/Binlog_storage_delegate::lock" OP "W"
36213621
ARC FROM "rwlock/sql/Trans_delegate::lock" STATE "W" TO "rwlock/sql/Binlog_transmit_delegate::lock" OP "W"
36223622
ARC FROM "rwlock/sql/Trans_delegate::lock" STATE "W" TO "rwlock/sql/Server_state_delegate::lock" OP "W"
3623-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "cond/sql/MDL_context::COND_wait_status"
3624-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "mutex/sql/MDL_wait::LOCK_wait_status"
3625-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "mutex/sql/THD::LOCK_current_cond"
3626-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "prlock/sql/MDL_context::LOCK_waiting_for" OP "R"
3627-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "prlock/sql/MDL_context::LOCK_waiting_for" OP "W"
3628-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "prlock/sql/MDL_lock::rwlock" OP "R"
3629-
ARC FROM "rwlock/vtoken/LOCK_vtoken_hash" STATE "R" TO "prlock/sql/MDL_lock::rwlock" OP "W"
36303623
ARC FROM "sxlock/innodb/btr_search_latch" STATE "S" TO "mutex/innodb/buf_pool_chunks_mutex"
36313624
ARC FROM "sxlock/innodb/btr_search_latch" STATE "S" TO "mutex/innodb/buf_pool_flush_state_mutex"
36323625
ARC FROM "sxlock/innodb/btr_search_latch" STATE "S" TO "mutex/innodb/buf_pool_free_list_mutex"

mysql-test/r/read_only_persisted_plugin_variables.result

-24
Original file line numberDiff line numberDiff line change
@@ -305,27 +305,3 @@ thread_stack
305305
tls_version
306306
RESET PERSIST;
307307
# Restart server
308-
# Install version token plugin
309-
##################
310-
INSTALL PLUGIN version_tokens SONAME 'version_token.so';
311-
Warnings:
312-
Warning 1681 'version_tokens plugin' is deprecated and will be removed in a future release.
313-
SELECT @@version_tokens_session_number;
314-
@@version_tokens_session_number
315-
0
316-
SET @@persist_only.version_tokens_session_number=3;
317-
ERROR HY000: Variable 'version_tokens_session_number' is a non persistent read only variable
318-
# return 0 row
319-
SELECT * FROM performance_schema.persisted_variables;
320-
VARIABLE_NAME VARIABLE_VALUE
321-
# Restart server
322-
# return 0 row
323-
SELECT * FROM performance_schema.persisted_variables;
324-
VARIABLE_NAME VARIABLE_VALUE
325-
SELECT VARIABLE_NAME FROM performance_schema.variables_info WHERE VARIABLE_SOURCE = 'PERSISTED';
326-
VARIABLE_NAME
327-
UNINSTALL PLUGIN version_tokens;
328-
Warnings:
329-
Warning 1620 Plugin is busy and will be uninstalled on shutdown
330-
RESET PERSIST;
331-
# Restart server

0 commit comments

Comments
 (0)