[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.220.85.96: ~ $
-- source include/have_innodb.inc
-- source include/have_innodb_16k.inc

let $per_table=`select @@innodb_file_per_table`;
let $format=`select @@innodb_file_format`;

-- let $query_i_s = SELECT page_size FROM information_schema.innodb_cmpmem WHERE pages_used > 0

set global innodb_file_per_table=on;
set global innodb_file_format=`1`;
 
create table t1(a text) engine=innodb key_block_size=8;

-- disable_query_log

# insert some rows so we are using compressed pages
-- let $i = 10
while ($i)
{
  insert into t1 values(repeat('abcdefghijklmnopqrstuvwxyz',100));
  dec $i;
}
-- enable_query_log

# we should be using some 8K pages
-- eval $query_i_s

drop table t1;

# because of lazy eviction at drop table there should still be some
# used 8K pages
-- eval $query_i_s

# create a non-compressed table and insert enough into it to evict
# compressed pages
create table t2(a text) engine=innodb;

-- disable_query_log

-- let $i = 200
while ($i)
{
  insert into t2 values(repeat('abcdefghijklmnopqrstuvwxyz',1000));
  dec $i;
}

-- enable_query_log

# now there should be no 8K pages in the buffer pool
-- eval $query_i_s

drop table t2;

#
# restore environment to the state it was before this test execution
#

-- disable_query_log
eval set global innodb_file_format=$format;
eval set global innodb_file_per_table=$per_table;

Filemanager

Name Type Size Permission Actions
innodb-create-options.test File 23.34 KB 0644
innodb-restart.test File 22.52 KB 0644
innodb-wl5522-debug-zip.test File 19.68 KB 0644
innodb-wl5522-zip.test File 13.43 KB 0644
innodb-zip.test File 10.2 KB 0644
innodb_16k.test File 28.95 KB 0644
innodb_4k.test File 18.94 KB 0644
innodb_8k.test File 20.46 KB 0644
innodb_bug36169.test File 24.79 KB 0644
innodb_bug36172.test File 8.11 KB 0644
innodb_bug52745.test File 3.64 KB 0644
innodb_bug53591.test File 705 B 0644
innodb_bug56680.test File 4.38 KB 0644
innodb_cmp_drop_table-master.opt File 29 B 0644
innodb_cmp_drop_table.test File 1.3 KB 0644
innodb_cmp_per_index.test File 2.71 KB 0644
innodb_index_large_prefix.test File 14.34 KB 0644
innodb_index_large_prefix_4k.test File 12.84 KB 0644
innodb_index_large_prefix_8k.test File 13.89 KB 0644
innodb_prefix_index_liftedlimit.test File 61.49 KB 0644
innodb_wl6347_comp_indx_stat.test File 46.99 KB 0644