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/warnings_engine_disabled.test
#
# Only run this test with a compiled in but disabled
# engine
#
let $federated_support = `select engine from information_schema.engines where engine = 'FEDERATED'`;
if(!$federated_support) {
	skip "Test need FEDERATED engine";
}

#
# Test for using disabled engine
# The server will throw an error - since FEDERATED is disabled
#
--ERROR ER_UNKNOWN_STORAGE_ENGINE
create table t1 (id int) engine=FEDERATED;
--ERROR ER_UNKNOWN_STORAGE_ENGINE
alter table t1 engine=FEDERATED;
--ERROR ER_BAD_TABLE_ERROR
drop table t1;

#
# Bug#29263 disabled storage engines omitted in SHOW ENGINES
#
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='FEDERATED';
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE
PLUGIN_NAME='FEDERATED';

Youez - 2016 - github.com/yon3zu
LinuXploit