⚝
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
/
t
/
View File Name :
partition_truncate.test
# # Simple tests to verify truncate partition syntax # --source include/have_partition.inc --disable_warnings drop table if exists t1, t2, t3, t4; --enable_warnings create table t1 (a int) partition by list (a) (partition p1 values in (0)); alter table t1 truncate partition p1,p1; --error ER_UNKNOWN_PARTITION alter table t1 truncate partition p0; drop table t1; create table t1 (a int) partition by list (a) subpartition by hash (a) subpartitions 1 (partition p1 values in (1) (subpartition sp1)); alter table t1 truncate partition sp1; drop table t1; create table t1 (a int); insert into t1 values (1), (3), (8); --error ER_PARTITION_MGMT_ON_NONPARTITIONED alter table t1 truncate partition p0; select count(*) from t1; drop table t1;