mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed compile warnings
Fixed some mtr test problems dbug/tests.c: Fixed compiler warnings mysql-test/r/handlersocket.result: Fixed that plugin_license is written mysql-test/suite/innodb/t/innodb_bug60196.test: Force sorted results as it was sometimes different on windows mysql-test/suite/rpl/t/rpl_heartbeat_basic.test: Prolong test as this failed on windows mysql-test/t/handlersocket.test: Fixed that plugin_license is written plugin/handler_socket/handlersocket/handlersocket.cpp: Use maria_declare_plugin plugin/handler_socket/handlersocket/mysql_incl.hpp: Fixed compiler warning plugin/handler_socket/libhsclient/auto_addrinfo.hpp: Fixed compiler warning sql/handler.h: Fixed typo sql/sql_plugin.cc: Fixed bug that caused plugin library name twice in error message storage/maria/ma_checkpoint.c: Fixed compiler warning storage/maria/ma_loghandler.c: Fixed compiler warning unittest/mysys/base64-t.c: Fixed compiler warning unittest/mysys/bitmap-t.c: Fixed compiler warning unittest/mysys/my_malloc-t.c: Fixed compiler warning
This commit is contained in:
@ -1,13 +1,14 @@
|
||||
install plugin handlersocket soname 'handlersocket.so';
|
||||
select plugin_name, plugin_version, plugin_status, plugin_type, plugin_library, plugin_library_version, plugin_author, plugin_description plugin_license, plugin_maturity, plugin_auth_version from information_schema.plugins where plugin_name = 'handlersocket';
|
||||
select plugin_name, plugin_version, plugin_status, plugin_type, plugin_library, plugin_library_version, plugin_author, plugin_description, plugin_license, plugin_maturity, plugin_auth_version from information_schema.plugins where plugin_name = 'handlersocket';
|
||||
plugin_name handlersocket
|
||||
plugin_version 1.0
|
||||
plugin_status ACTIVE
|
||||
plugin_type DAEMON
|
||||
plugin_library handlersocket.so
|
||||
plugin_library_version 0.0
|
||||
plugin_library_version 1.3
|
||||
plugin_author higuchi dot akira at dena dot jp
|
||||
plugin_license
|
||||
plugin_maturity Unknown
|
||||
plugin_auth_version Unknown
|
||||
plugin_description Direct access into InnoDB
|
||||
plugin_license BSD
|
||||
plugin_maturity Beta
|
||||
plugin_auth_version 1.0
|
||||
uninstall plugin handlersocket;
|
||||
|
@ -77,6 +77,7 @@ SELECT * FROM Bug_60196;
|
||||
INSERT INTO Bug_60196 VALUES (2, 1);
|
||||
INSERT INTO Bug_60196 VALUES (2, 2);
|
||||
INSERT INTO Bug_60196 VALUES (2, 3);
|
||||
--sorted_result
|
||||
SELECT * FROM Bug_60196;
|
||||
|
||||
--echo
|
||||
|
@ -324,7 +324,7 @@ call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received w
|
||||
let $slave_errno= ER_DUP_ENTRY
|
||||
--source include/wait_for_slave_sql_error.inc
|
||||
let $rcvd_heartbeats_before= query_get_value(SHOW STATUS LIKE 'slave_received_heartbeats', Value, 1);
|
||||
sleep 2;
|
||||
sleep 4;
|
||||
let $rcvd_heartbeats_after= query_get_value(SHOW STATUS LIKE 'slave_received_heartbeats', Value, 1);
|
||||
let $result= query_get_value(SELECT ($rcvd_heartbeats_after - $rcvd_heartbeats_before) > 0 AS Result, Result, 1);
|
||||
--echo Heartbeat events are received while sql thread stopped (1 means 'yes'): $result
|
||||
|
@ -5,6 +5,6 @@ if (`select length('$HANDLERSOCKET_SO') = 0`) {
|
||||
}
|
||||
|
||||
install plugin handlersocket soname 'handlersocket.so';
|
||||
--query_vertical select plugin_name, plugin_version, plugin_status, plugin_type, plugin_library, plugin_library_version, plugin_author, plugin_description plugin_license, plugin_maturity, plugin_auth_version from information_schema.plugins where plugin_name = 'handlersocket'
|
||||
--query_vertical select plugin_name, plugin_version, plugin_status, plugin_type, plugin_library, plugin_library_version, plugin_author, plugin_description, plugin_license, plugin_maturity, plugin_auth_version from information_schema.plugins where plugin_name = 'handlersocket'
|
||||
uninstall plugin handlersocket;
|
||||
|
||||
|
Reference in New Issue
Block a user