@@ -2316,7 +2316,7 @@ DROP TABLE t1,t2,t3;
2316
2316
CREATE TABLE t1 (
2317
2317
carrier char(2) default NULL,
2318
2318
id int NOT NULL auto_increment PRIMARY KEY
2319
- );
2319
+ ) CHARSET utf8mb4 ;
2320
2320
INSERT INTO t1 VALUES
2321
2321
('CO',235371754),('CO',235376554),('CO',235376884),('CO',235377874),
2322
2322
('CO',231060394),('CO',231059224),('CO',231059314),('CO',231060484),
@@ -2381,7 +2381,7 @@ CREATE TABLE t4 (
2381
2381
carrier char(2) NOT NULL default '' PRIMARY KEY,
2382
2382
id int(11) default NULL,
2383
2383
INDEX id(id)
2384
- );
2384
+ ) CHARSET utf8mb4 ;
2385
2385
INSERT INTO t4 VALUES
2386
2386
('99',6),('SK',456),('UA',486),('AI',1081),('OS',1111),('VS',1510);
2387
2387
CREATE TABLE t5 (
@@ -2412,7 +2412,7 @@ ON t4.carrier = t1.carrier;
2412
2412
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
2413
2413
1 SIMPLE t2 NULL index package_id package_id 5 NULL 45 100.00 Using where; Using index
2414
2414
1 SIMPLE t1 NULL eq_ref PRIMARY PRIMARY 4 test.t2.package_id 1 100.00 NULL
2415
- 1 SIMPLE t4 NULL eq_ref PRIMARY,id PRIMARY 2 test.t1.carrier 1 100.00 NULL
2415
+ 1 SIMPLE t4 NULL eq_ref PRIMARY,id PRIMARY 8 test.t1.carrier 1 100.00 NULL
2416
2416
1 SIMPLE t5 NULL ref carrier_id carrier_id 5 test.t4.id 22 100.00 Using index
2417
2417
1 SIMPLE t3 NULL ref package_id package_id 5 test.t2.package_id 1 100.00 Using index
2418
2418
Warnings:
0 commit comments