[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.17.166.233: ~ $
################################################################################
#
# This test contains a single transaction performing queries against the test
# data. The main purpose is to test REPEATABLE READ results, that is to verify
# that reads (SELECTs) are indeed repeatable during a REPEATABLE READ 
# transaction. 
#
# Generally, queries which should yield the same results at one moment in time 
# should also yield the same results later in the same transaction. In some 
# configurations, however, phantom reads are allowed (may e.g. depend on 
# settings such as falcon_consistent_read).
#
# To detect missing rows, modified rows and possibly invalid (uncommitted) 
# extra (phantom) rows, we store query results in temporary tables and compare 
# using special queries. Using includes for this to avoid unnecessary "clutter"
# in each select-only test.
#
# This and similar tests (transactions) should contain some random "filler"
# between the SELECTs so that they may run in different conditions, such as:
#   * some other transactions may have commited in the meantime
#   * a scavenge run may have happened (falcon)
#   * etc
#
# Such a "random filler" can be:
#   * SLEEP()
#   * Bogus updates on some unrelated temporary table that was created for the purpose
#   * savepoint + bogus updates on the main tables + rollback to savepoint
#   * Inserts on new records (which will show up as "phantom" records in subsequent SELECTs) 
#
################################################################################

SET autocommit = 0;
START TRANSACTION;

# We do a full table scan in this test.
# Note: May cause deadlocks! (handled in sourced scripts).

let $query= SELECT * from t1;
--source suite/engines/rr_trx/include/record_query_all_columns.inc
SELECT SLEEP(1);
let $query= SELECT * from t1;
--source suite/engines/rr_trx/include/record_query_all_columns.inc
--source suite/engines/rr_trx/include/check_repeatable_read_all_columns.inc

COMMIT;

Filemanager

Name Type Size Permission Actions
init_innodb.test File 110 B 0644
rr_c_count_not_zero.test File 1.02 KB 0644
rr_c_stats.test File 131 B 0644
rr_i_40-44.test File 5.54 KB 0644
rr_id_3.test File 995 B 0644
rr_id_900.test File 5.74 KB 0644
rr_insert_select_2.test File 2.11 KB 0644
rr_iud_rollback-multi-50.test File 3.02 KB 0644
rr_replace_7-8.test File 3.87 KB 0644
rr_s_select-uncommitted.test File 387 B 0644
rr_sc_select-limit-nolimit_4.test File 2.34 KB 0644
rr_sc_select-same_2.test File 1.93 KB 0644
rr_sc_sum_total.test File 968 B 0644
rr_u_10-19.test File 15.41 KB 0644
rr_u_10-19_nolimit.test File 15.03 KB 0644
rr_u_4.test File 1.36 KB 0644