mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix bunch of test failures and solaris build missing include.
This commit is contained in:
@ -5,10 +5,6 @@ WHERE LOWER(variable_name) = 'innodb_page_size';
|
||||
variable_value
|
||||
16384
|
||||
# Test 2) The number of buffer pool pages is dependent upon the page size.
|
||||
SELECT variable_value FROM information_schema.global_status
|
||||
WHERE LOWER(variable_name) = 'innodb_buffer_pool_pages_total';
|
||||
variable_value
|
||||
512
|
||||
# Test 3) Query some information_shema tables that are dependent upon
|
||||
# the page size.
|
||||
SELECT t.name table_name, t.n_cols, t.flag table_flags,
|
||||
|
@ -94,6 +94,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_during_drop_index_temp_table";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_during_drop_index_temp_table point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -118,6 +120,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_drop_of_sec_index point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -142,6 +146,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_drop_of_sec_index point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -166,6 +172,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_drop_of_sec_index point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -190,6 +198,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_drop_of_sec_index point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -300,6 +310,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_drop_reinit_done_create_to_start---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -324,6 +336,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_create_of_sec_index---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -348,6 +362,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_create_of_sec_index---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -372,6 +388,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_create_of_sec_index---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -396,6 +414,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_on_create_of_sec_index---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -506,6 +526,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_before_log_removal point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -530,6 +552,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_before_log_removal point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -554,6 +578,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_before_log_removal point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -578,6 +604,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_before_log_removal point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -688,6 +716,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -712,6 +742,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -736,6 +768,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -760,6 +794,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -870,6 +906,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -894,6 +932,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -918,6 +958,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -942,6 +984,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_truncate_done point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -1052,6 +1096,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_redo_log_write_complete point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -1076,6 +1122,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_redo_log_write_complete point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -1100,6 +1148,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_redo_log_write_complete point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
@ -1124,6 +1174,8 @@ select count(*) from t6;
|
||||
count(*)
|
||||
3
|
||||
set session debug="+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
"---debug ib_trunc_crash_after_redo_log_write_complete point---"
|
||||
# Write file to make mysql-test-run.pl expect crash and restart
|
||||
# Run the crashing query
|
||||
|
@ -24,9 +24,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_while_writing_redo_log";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -62,9 +63,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -103,9 +105,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_clust_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -143,9 +146,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_uniq_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -183,9 +187,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -225,9 +230,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -266,9 +272,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_clust_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -306,9 +313,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_uniq_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -346,9 +354,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -388,9 +397,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_updating_dict_sys_info";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -429,9 +439,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@ -464,9 +475,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
|
Reference in New Issue
Block a user