⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
ndb
/
r
/
View File Name :
ndb_rename.result
DROP TABLE IF EXISTS t1,t2; drop database if exists mysqltest; CREATE TABLE t1 ( pk1 INT NOT NULL PRIMARY KEY, attr1 INT NOT NULL, attr2 INT, attr3 VARCHAR(10), INDEX i1(attr1) ) ENGINE=ndbcluster; INSERT INTO t1 VALUES (0,0,0,"zero"),(1,1,1,"one"),(2,2,2,"two"); SELECT * FROM t1 WHERE attr1 = 1; pk1 attr1 attr2 attr3 1 1 1 one alter table t1 rename t2; SELECT * FROM t2 WHERE attr1 = 1; pk1 attr1 attr2 attr3 1 1 1 one alter table t2 rename t1, add attr4 int; ERROR 42000: This version of MySQL doesn't yet support 'alter table t2 rename t1, add attr4 int' create database ndbtest; alter table t2 rename ndbtest.t2; SELECT * FROM ndbtest.t2 WHERE attr1 = 1; pk1 attr1 attr2 attr3 1 1 1 one drop table ndbtest.t2; create table t1 ( pk1 INT NOT NULL PRIMARY KEY, b blob ) engine = ndbcluster; alter table t1 rename ndbtest.t1; alter table ndbtest.t1 rename test.t1; drop table test.t1; drop database ndbtest;