⚝
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 :
mysqldump_bug30042589.test
# # Bug#30042589: MYSQLDUMP LEAKS MEMORY WHEN SELECTED TABLES # ARE DUMPED WITH --ORDER-BY-PRIMARY # # Embedded server doesn't support external clients --source include/not_embedded.inc --disable_warnings DROP TABLE IF EXISTS table1; drop database if exists database1; --enable_warnings CREATE DATABASE database1; USE database1; CREATE TABLE table1(a INT PRIMARY KEY, b INT UNIQUE) engine = InnoDB; CREATE TABLE table2(a INT PRIMARY KEY, b INT UNIQUE) engine = InnoDB; INSERT INTO table1 VALUES (1, 3); INSERT INTO table1 VALUES (2, 2); INSERT INTO table1 VALUES (3, 1); INSERT INTO table2 VALUES (1, 3); INSERT INTO table2 VALUES (2, 2); INSERT INTO table2 VALUES (3, 1); --echo ==== mysqldump with --order-by-primary ==== --replace_regex /-- Server version.*/-- SERVER VERSION/ /-- MySQL dump .*// --exec $MYSQL_DUMP --skip-dump-date --order-by-primary --extended-insert=FALSE database1 table1 table2 DROP TABLE table1; DROP TABLE table2; drop database database1;