403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.70.92.197
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/src/mysql-test/suite/ndb/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/ndb/r/ndb_global_schema_lock.result
CREATE DATABASE test2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
ALTER DATABASE test2 CHARACTER SET latin2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
DROP DATABASE test2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
CREATE TABLE t1(a int not null primary key) ENGINE ndb;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
RENAME TABLE t1 TO t2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
CREATE TABLE t3 LIKE t2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
ALTER TABLE t3 ADD COLUMN b int default NULL;
Warnings:
Warning	1478	Converted FIXED field 'b' to DYNAMIC to enable on-line ADD COLUMN
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
INSERT INTO t2 VALUES(1);
TRUNCATE TABLE t2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
CREATE TABLE t4 ENGINE=NDB AS SELECT * FROM t2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
DROP TABLE t2;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
DROP TABLE t3, t4;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
CREATE TABLE t10(a int primary key) ENGINE ndb;
LOCK TABLES t10 READ;
CREATE DATABASE test2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
ALTER DATABASE test2 CHARACTER SET latin2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
DROP DATABASE test2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
UNLOCK TABLES;
LOCK TABLES t10 WRITE;
CREATE DATABASE test2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
ALTER DATABASE test2 CHARACTER SET latin2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
DROP DATABASE test2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
UNLOCK TABLES;
LOCK TABLES t10 READ;
CREATE TABLE t1(a int not null primary key);
ERROR HY000: Table 't1' was not locked with LOCK TABLES
RENAME TABLE t10 TO t2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
CREATE TABLE t3 LIKE t10;
ERROR HY000: Table 't3' was not locked with LOCK TABLES
ALTER TABLE t10 ADD COLUMN b int default NULL;
ERROR HY000: Table 't10' was locked with a READ lock and can't be updated
TRUNCATE TABLE t10;
ERROR HY000: Table 't10' was locked with a READ lock and can't be updated
CREATE TABLE t4 AS SELECT * FROM t10;
ERROR HY000: Table 't4' was not locked with LOCK TABLES
DROP TABLE t10;
ERROR HY000: Table 't10' was locked with a READ lock and can't be updated
UNLOCK TABLES;
LOCK TABLES t10 WRITE;
CREATE TABLE t1(a int not null primary key);
ERROR HY000: Table 't1' was not locked with LOCK TABLES
RENAME TABLE t10 TO t2;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
CREATE TABLE t3 LIKE t10;
ERROR HY000: Table 't3' was not locked with LOCK TABLES
ALTER TABLE t10 ADD COLUMN b int default NULL;
Warnings:
Warning	1478	Converted FIXED field 'b' to DYNAMIC to enable on-line ADD COLUMN
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
TRUNCATE TABLE t10;
@ndb_schema_locks_count:=VARIABLE_VALUE-@ndb_init_schema_locks_count
1
CREATE TABLE t4 AS SELECT * FROM t10;
ERROR HY000: Table 't4' was not locked with LOCK TABLES
DROP TABLE t10;
UNLOCK TABLES;

Youez - 2016 - github.com/yon3zu
LinuXploit