summaryrefslogtreecommitdiff
path: root/mysql-test/main/mysqldump-order-by-size.result
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2022-04-12 11:32:02 +0300
committerMonty <monty@mariadb.org>2022-04-12 11:32:02 +0300
commit22f7190e851280007d9a20347270515c1c0dc11f (patch)
tree0f04fb463013150c64c7b131c215ec2654acd45b /mysql-test/main/mysqldump-order-by-size.result
parent161fd2d29cc2f8390fa3bf7e739c52bc8d5c39df (diff)
downloadmariadb-git-22f7190e851280007d9a20347270515c1c0dc11f.tar.gz
MDEV-28074 mysqldump --order-by-size
Author: Erki Aring
Diffstat (limited to 'mysql-test/main/mysqldump-order-by-size.result')
-rw-r--r--mysql-test/main/mysqldump-order-by-size.result48
1 files changed, 48 insertions, 0 deletions
diff --git a/mysql-test/main/mysqldump-order-by-size.result b/mysql-test/main/mysqldump-order-by-size.result
new file mode 100644
index 00000000000..361852905c0
--- /dev/null
+++ b/mysql-test/main/mysqldump-order-by-size.result
@@ -0,0 +1,48 @@
+# --order-by-size:
+CREATE TABLE t1 (a MEDIUMBLOB) ENGINE=InnoDB;
+CREATE TABLE t2 (a MEDIUMBLOB) ENGINE=InnoDB;
+CREATE TABLE t3 (a MEDIUMBLOB) ENGINE=InnoDB;
+CREATE TABLE t4 (a MEDIUMBLOB) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (REPEAT('E',65536*4));
+INSERT INTO t2 VALUES (REPEAT('E',65536*3));
+INSERT INTO t3 VALUES (REPEAT('E',65536*2));
+INSERT INTO t4 VALUES (REPEAT('E',65536*1));
+ANALYZE TABLE t1, t2, t3, t4;
+Table Op Msg_type Msg_text
+test.t1 analyze status Engine-independent statistics collected
+test.t1 analyze Warning Engine-independent statistics are not collected for column 'a'
+test.t1 analyze status OK
+test.t2 analyze status Engine-independent statistics collected
+test.t2 analyze Warning Engine-independent statistics are not collected for column 'a'
+test.t2 analyze status OK
+test.t3 analyze status Engine-independent statistics collected
+test.t3 analyze Warning Engine-independent statistics are not collected for column 'a'
+test.t3 analyze status OK
+test.t4 analyze status Engine-independent statistics collected
+test.t4 analyze Warning Engine-independent statistics are not collected for column 'a'
+test.t4 analyze status OK
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `t4` (
+ `a` mediumblob DEFAULT NULL
+);
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `t3` (
+ `a` mediumblob DEFAULT NULL
+);
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `t2` (
+ `a` mediumblob DEFAULT NULL
+);
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `t1` (
+ `a` mediumblob DEFAULT NULL
+);
+/*!40101 SET character_set_client = @saved_cs_client */;
+DROP TABLE t4, t3, t2, t1;