|
827 | 827 | xxxxxxxxx bbbbbb |
828 | 828 | xxxxxxxxx bbbbbb |
829 | 829 | DROP TABLE t1; |
830 | | -SET @@myisam_repair_threads=2; |
831 | | -Warnings: |
832 | | -Warning 1681 '@@myisam_repair_threads' is deprecated and will be removed in a future release. |
833 | | -SHOW VARIABLES LIKE 'myisam_repair%'; |
834 | | -Variable_name Value |
835 | | -myisam_repair_threads 2 |
836 | 830 | CREATE TABLE t1 ( |
837 | 831 | `_id` int(11) NOT NULL default '0', |
838 | 832 | `url` text, |
|
951 | 945 | 8 |
952 | 946 | 9 |
953 | 947 | DROP TABLE t1; |
954 | | -SET @@myisam_repair_threads=1; |
955 | | -SHOW VARIABLES LIKE 'myisam_repair%'; |
956 | | -Variable_name Value |
957 | | -myisam_repair_threads 1 |
958 | 948 | CREATE TABLE t1(a VARCHAR(16)); |
959 | 949 | INSERT INTO t1 VALUES('aaaaaaaa'),(NULL); |
960 | 950 | UPDATE t1 AS ta1, t1 AS ta2 SET ta1.a='aaaaaaaaaaaaaaaa'; |
@@ -1890,12 +1880,8 @@ SHOW TABLE STATUS LIKE 't1'; |
1890 | 1880 | Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment |
1891 | 1881 | t1 MyISAM 10 Fixed 1 # # # 3072 # # # # # # # |
1892 | 1882 | # Enable keys with parallel repair |
1893 | | -SET @@myisam_repair_threads=2; |
1894 | | -Warnings: |
1895 | | -Warning 1681 '@@myisam_repair_threads' is deprecated and will be removed in a future release. |
1896 | 1883 | ALTER TABLE t1 DISABLE KEYS; |
1897 | 1884 | ALTER TABLE t1 ENABLE KEYS; |
1898 | | -SET @@myisam_repair_threads=1; |
1899 | 1885 | CHECK TABLE t1 EXTENDED; |
1900 | 1886 | Table Op Msg_type Msg_text |
1901 | 1887 | test.t1 check status OK |
@@ -2413,11 +2399,7 @@ Table Op Msg_type Msg_text |
2413 | 2399 | test.t1 repair error myisam_sort_buffer_size is too small |
2414 | 2400 | test.t1 repair warning Number of rows changed from 0 to 7168 |
2415 | 2401 | test.t1 repair status OK |
2416 | | -SET myisam_repair_threads=2; |
2417 | | -Warnings: |
2418 | | -Warning 1681 '@@myisam_repair_threads' is deprecated and will be removed in a future release. |
2419 | 2402 | REPAIR TABLE t1; |
2420 | | -SET myisam_repair_threads=@@global.myisam_repair_threads; |
2421 | 2403 | SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size; |
2422 | 2404 | CHECK TABLE t1; |
2423 | 2405 | Table Op Msg_type Msg_text |
@@ -2489,30 +2471,6 @@ a a |
2489 | 2471 | 1 1 |
2490 | 2472 | DROP TABLE t1; |
2491 | 2473 | # |
2492 | | -# BUG#47444 - --myisam_repair_threads>1can result in all index |
2493 | | -# cardinalities=1 |
2494 | | -# |
2495 | | -SET myisam_repair_threads=2; |
2496 | | -Warnings: |
2497 | | -Warning 1681 '@@myisam_repair_threads' is deprecated and will be removed in a future release. |
2498 | | -SET myisam_sort_buffer_size=4096; |
2499 | | -CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a)); |
2500 | | -Warnings: |
2501 | | -Warning 1831 Duplicate index 'a_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. |
2502 | | -Warning 1831 Duplicate index 'a_3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. |
2503 | | -INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3); |
2504 | | -REPAIR TABLE t1; |
2505 | | -Table Op Msg_type Msg_text |
2506 | | -test.t1 repair status OK |
2507 | | -SELECT CARDINALITY FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1'; |
2508 | | -CARDINALITY |
2509 | | -14 |
2510 | | -14 |
2511 | | -14 |
2512 | | -DROP TABLE t1; |
2513 | | -SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size; |
2514 | | -SET myisam_repair_threads=@@global.myisam_repair_threads; |
2515 | | -# |
2516 | 2474 | # BUG#11757032 - 49030: OPTIMIZE TABLE BREAKS MYISAM TABLE WHEN |
2517 | 2475 | # USING MYISAM_USE_MMAP ON WINDOWS |
2518 | 2476 | # |
|
0 commit comments