mariadb/mysql-test/t
unknown b3b8d5165d BUG#15787 - MySQL crashes when archive table exceeds 2GB
Max compressed file size was calculated incorretly causing server
crash on INSERT.

With this patch we use proper max file size provided by zlib.

Affects 5.0 only.


sql/ha_archive.cc:
  When calculating max compressed file size, use the real offset size
  that is provided by zlib, instead of sizeof(z_off_t), which may be
  different from actual offset size.
  
  When we're about to write and the data file is almost full flush gzio
  buffer to get accurate real file size.
mysql-test/r/archive-big.result:
  New BitKeeper file ``mysql-test/r/archive-big.result''
mysql-test/t/archive-big.test:
  New BitKeeper file ``mysql-test/t/archive-big.test''
2007-06-24 19:44:54 +05:00
..
alias.test
alter_table-big.test
alter_table.test
analyse.test
analyze.test
ansi.test
archive-big.test BUG#15787 - MySQL crashes when archive table exceeds 2GB 2007-06-24 19:44:54 +05:00
archive.test
archive_gis.test
auto_increment.test
backup-master.sh
backup.test
bdb-alter-table-1.test
bdb-alter-table-2-master.opt
bdb-alter-table-2.test
bdb-crash.test
bdb-deadlock.test
bdb-deadlock.tminus
bdb.test
bdb_cache-master.opt
bdb_cache.test
bdb_gis.test
bdb_notembedded.test
bench_count_distinct.test
bigint.test
binary.test
binlog-master.opt
binlog.test binlog.result, binlog.test: 2007-06-15 23:57:53 +02:00
binlog_killed.test Fix typo 2007-06-07 20:25:22 +02:00
blackhole.test Merge pilot.(none):/data/msvensson/mysql/bug28369/my50-bug28369 2007-06-07 19:21:01 +02:00
bool.test
bootstrap.test
bulk_replace.test
case.test
cast.test
check.test
client_xml.test
comments.test
compare.test
compress.test
connect.test
consistent_snapshot.test
constraints.test
count_distinct.test
count_distinct2-master.opt
count_distinct2.test
count_distinct3.test
create.test
create_not_windows.test
create_select_tmp.test
csv.test Bug#28862 Extended Latin1 characters get lost in CVS engine 2007-06-15 11:19:35 +05:00
ctype_big5.test
ctype_collate.test
ctype_cp932.test
ctype_cp932_binlog.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
ctype_cp1250_ch.test
ctype_cp1251.test
ctype_create.test
ctype_eucjpms.test
ctype_euckr.test
ctype_gb2312.test
ctype_gbk.test
ctype_hebrew.test
ctype_latin1.test
ctype_latin1_de-master.opt
ctype_latin1_de.test
ctype_latin2.test
ctype_latin2_ch.test
ctype_many.test
ctype_mb.test
ctype_recoding.test
ctype_sjis.test
ctype_tis620.test
ctype_uca.test
ctype_ucs.test
ctype_ucs2_def-master.opt
ctype_ucs2_def.test
ctype_ucs_binlog.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
ctype_ujis.test
ctype_utf8.test
date_formats-master.opt
date_formats.test
default.test
delayed.test
delete.test
derived.test
dirty_close.test
disabled.def
distinct.test
drop.test
drop_temp_table.test Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build 2007-06-14 23:23:30 +02:00
empty_table.test
endspace.test
error_simulation-master.opt
error_simulation.test
errors.test
exampledb.test
execution_constants.test
explain.test
federated.test
federated_archive.test
federated_bug_13118.test
fix_priv_tables.test
flush.test
flush2-master.opt
flush2.test
flush_block_commit.test
flush_block_commit_notembedded.test Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build 2007-06-14 23:23:30 +02:00
flush_read_lock_kill-master.opt
flush_read_lock_kill.test
flush_table.test
foreign_key.test
fulltext.test
fulltext2.test
fulltext_cache.test
fulltext_distinct.test
fulltext_left_join.test
fulltext_multi.test
fulltext_order_by.test
fulltext_update.test
fulltext_var.test
func_compress.test
func_concat.test
func_crypt.test
func_date_add.test
func_default.test
func_des_encrypt.test
func_encrypt-master.opt
func_encrypt.test
func_encrypt_nossl.test
func_equal.test
func_gconcat.test
func_group.test
func_if.test
func_in.test Fix for bug #28748: "Select" returning one value too few 2007-06-09 17:13:33 +05:00
func_isnull.test
func_like.test
func_math.test
func_misc.test
func_op.test
func_regexp.test
func_sapdb.test
func_set.test
func_str.test
func_system.test
func_test.test
func_time.test
func_timestamp.test
gcc296.test
gis-rtree.test
gis.test Bug#28763: Selecting geometry fields in UNION caused server crash. 2007-06-08 00:33:03 +04:00
grant.test
grant2.test Bug#18660 Can't grant any privileges on single table in database with underscore char 2007-06-08 14:42:08 +05:00
grant3-master.opt
grant3.test
grant_cache.test
greedy_optimizer.test
group_by.test
group_min_max.test
handler.test
having.test
heap.test
heap_auto_increment.test
heap_btree.test
heap_hash.test
help.test
im_daemon_life_cycle-im.opt
im_daemon_life_cycle.imtest
im_life_cycle-im.opt
im_life_cycle.imtest
im_options_set.imtest
im_options_unset.imtest
im_utils-im.opt
im_utils.imtest
index_merge.test
index_merge_bdb.test
index_merge_innodb.test
index_merge_innodb2.test
index_merge_ror.test
index_merge_ror_cpk.test
information_schema.test Bug#28266 IS_UPDATABLE field on VIEWS table in I_S database is wrong 2007-06-09 16:52:37 +05:00
information_schema_chmod.test
information_schema_db.test
information_schema_inno.test
init_connect-master.opt
init_connect.test
init_file-master.opt
init_file.test
innodb-big.test
innodb-deadlock.test
innodb-lock.test
innodb-master.opt
innodb-replace.test
innodb-ucs2.test
innodb.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
innodb_cache-master.opt
innodb_cache.test
innodb_gis.test
innodb_handler.test
innodb_mysql-master.opt
innodb_mysql.test Merge bk@192.168.21.1:mysql-5.0 2007-06-14 16:41:10 +05:00
innodb_notembedded.test
innodb_timeout_rollback-master.opt
innodb_timeout_rollback.test
innodb_unsafe_binlog-master.opt
innodb_unsafe_binlog.test
insert.test
insert_notembedded.test
insert_select-binlog.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
insert_select.test
insert_update.test Bug#28904: INSERT .. ON DUPLICATE was silently updating rows when it shouldn't. 2007-06-12 01:41:23 +04:00
join.test
join_crash.test
join_nested.test
join_outer.test
key.test
key_cache-master.opt
key_cache.test
key_diff.test
key_primary.test
keywords.test
kill.test
kill_n_check.sh
limit.test
loaddata.test
loaddata_autocom_innodb.test
loaddata_autocom_ndb.test
lock.test
lock_multi.test
lock_tables_lost_commit-master.opt
lock_tables_lost_commit.test
log.sh
long_tmpdir-master.opt Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" 2007-06-11 23:06:20 +04:00
long_tmpdir-master.sh Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" 2007-06-11 23:06:20 +04:00
long_tmpdir.test Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" 2007-06-11 23:06:20 +04:00
lowercase_fs_off.test
lowercase_mixed_tmpdir-master.opt
lowercase_mixed_tmpdir-master.sh
lowercase_mixed_tmpdir.test
lowercase_table-master.opt
lowercase_table.test
lowercase_table2.test
lowercase_table3-master.opt
lowercase_table3.test
lowercase_table_grant-master.opt
lowercase_table_grant.test
lowercase_table_qcache-master.opt
lowercase_table_qcache.test
lowercase_view-master.opt
lowercase_view.test
merge.test
metadata.test
mix_innodb_myisam_binlog-master.opt
mix_innodb_myisam_binlog.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-08 11:30:03 +02:00
multi_statement-master.opt
multi_statement.test
multi_update-master.opt
multi_update.test
myisam-blob-master.opt
myisam-blob.test
myisam.test
mysql.test
mysql_client_test.opt
mysql_client_test.test
mysql_delimiter.sql
mysql_delimiter_19799.sql
mysql_delimiter_source.sql
mysql_protocols.test
mysql_upgrade.test
mysqladmin.test
mysqlbinlog-cp932-master.opt
mysqlbinlog-cp932.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
mysqlbinlog-master.opt
mysqlbinlog.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
mysqlbinlog2.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
mysqlcheck.test
mysqldump-max.test
mysqldump.test Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build 2007-06-14 23:23:30 +02:00
mysqlshow.test
mysqltest.test
ndb_alter_table.test
ndb_alter_table2.test
ndb_autodiscover.test
ndb_autodiscover2-master.opt
ndb_autodiscover2.test
ndb_autodiscover3.test
ndb_backup_print.test Bug #27640 backup id not displayed in the output of "ndb_mgm start backup wait completed" 2007-06-14 18:40:32 +02:00
ndb_basic.test
ndb_bitfield.test
ndb_blob.test
ndb_cache.test
ndb_cache2.test
ndb_cache_multi.test
ndb_cache_multi2.test
ndb_charset.test
ndb_condition_pushdown.test
ndb_config.test
ndb_database.test
ndb_gis.test
ndb_grant.later
ndb_index.test
ndb_index_ordered.test
ndb_index_unique.test
ndb_insert.test
ndb_limit.test
ndb_load.test
ndb_loaddatalocal.test
ndb_lock.test
ndb_minmax.test
ndb_multi.test
ndb_read_multi_range.test
ndb_rename.test
ndb_replace.test
ndb_restore.test correct test and result 2007-06-17 22:04:01 +02:00
ndb_restore_print.test
ndb_single_user.test
ndb_subquery.test
ndb_transaction.test
ndb_trigger.test
ndb_truncate.test
ndb_types.test
ndb_update.test
negation_elimination.test
not_embedded_server-master.opt
not_embedded_server.test
null.test
null_key.test
odbc.test
olap.test
openssl_1.test
order_by.test
order_fill_sortbuf-master.opt
order_fill_sortbuf.test
outfile.test
overflow.test
packet.test
perror.test
preload.test
ps-master.opt
ps.test
ps_1general.test
ps_2myisam.test
ps_3innodb.test
ps_4heap.test
ps_5merge.test
ps_6bdb.test
ps_7ndb.test
ps_10nestset.test
ps_11bugs.test
ps_grant.test
query_cache.test Bug #28897 UUID() returns non-unique values when query cache is enabled 2007-06-13 14:23:25 -04:00
query_cache_merge.test
query_cache_notembedded.test
raid.test
range.test
read_only.test
rename.test
repair.test
replace.test
rollback.test
round.test
row.test
rowid_order_bdb.test
rowid_order_innodb.test
rpl000001-slave.opt
rpl000001.test
rpl000002.test
rpl000004.test
rpl000005.test
rpl000006.test
rpl000008-slave.opt
rpl000008.test
rpl000009-slave.opt
rpl000009.test
rpl000010-slave.opt
rpl000010.test
rpl000011.test
rpl000012.test
rpl000013-slave.opt
rpl000013.test
rpl000015-slave.sh
rpl000015.slave-mi
rpl000015.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
rpl000017-slave.opt
rpl000017-slave.sh
rpl000017.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
rpl000018-master.opt
rpl000018-slave.opt
rpl_alter.test
rpl_auto_increment-master.opt
rpl_auto_increment.test
rpl_auto_increment_11932.test
rpl_change_master.test
rpl_charset.test
rpl_charset_sjis.test
rpl_commit_after_flush.test
rpl_create_database-master.opt
rpl_create_database-slave.opt
rpl_create_database.test
rpl_critical_errors.test
rpl_ddl.test
rpl_deadlock-slave.opt
rpl_deadlock.test
rpl_delete_all.test
rpl_do_grant.test
rpl_drop.test
rpl_drop_db.test
rpl_drop_temp-slave.opt
rpl_drop_temp.test
rpl_dual_pos_advance-master.opt
rpl_dual_pos_advance.test
rpl_EE_error.test
rpl_empty_master_crash-master.opt
rpl_empty_master_crash.test
rpl_error_ignored_table-slave.opt
rpl_error_ignored_table.test
rpl_failed_optimize-master.opt
rpl_failed_optimize.test
rpl_flush_log_loop-master.opt
rpl_flush_log_loop-master.sh
rpl_flush_log_loop-slave.opt
rpl_flush_log_loop-slave.sh
rpl_flush_log_loop.test
rpl_flush_tables.test
rpl_free_items-slave.opt
rpl_free_items.test
rpl_get_lock.test
rpl_ignore_grant-slave.opt
rpl_ignore_grant.test
rpl_ignore_revoke-slave.opt
rpl_ignore_revoke.test
rpl_ignore_table-slave.opt
rpl_ignore_table.test
rpl_init_slave-slave.opt
rpl_init_slave.test
rpl_innodb.test
rpl_insert_delayed.test
rpl_insert_id-slave.opt
rpl_insert_id.test
rpl_insert_ignore-slave.opt
rpl_insert_ignore.test
rpl_insert_select.test
rpl_known_bugs_detection-master.opt
rpl_known_bugs_detection.test
rpl_loaddata.test
rpl_loaddata_charset.test
rpl_loaddata_rule_m-master.opt
rpl_loaddata_rule_m.test
rpl_loaddata_rule_s-slave.opt
rpl_loaddata_rule_s.test
rpl_loaddatalocal.test
rpl_locale.test
rpl_log-master.opt
rpl_log-slave.opt
rpl_log.test
rpl_log_pos.test
rpl_many_optimize.test
rpl_master_pos_wait.test
rpl_max_relay_size.test
rpl_misc_functions-slave.sh
rpl_misc_functions.test
rpl_multi_delete-slave.opt
rpl_multi_delete.test
rpl_multi_delete2-slave.opt
rpl_multi_delete2.test
rpl_multi_query.test
rpl_multi_update.test
rpl_multi_update2-slave.opt
rpl_multi_update2.test
rpl_multi_update3.test
rpl_multi_update4-slave.opt
rpl_multi_update4.test
rpl_mystery22.test
rpl_ndb_innodb_trans-slave.opt
rpl_ndb_innodb_trans.test
rpl_openssl.test
rpl_optimize.test
rpl_packet-master.opt
rpl_packet-slave.opt
rpl_packet.test
rpl_ps.test
rpl_redirect.test
rpl_relayrotate-slave.opt
rpl_relayrotate.test
rpl_relayspace-slave.opt
rpl_relayspace.test
rpl_replicate_do-slave.opt
rpl_replicate_do.test
rpl_reset_slave.test
rpl_rewrite_db-slave.opt
rpl_rewrite_db.test
rpl_rotate_logs-master.opt
rpl_rotate_logs-slave.sh
rpl_rotate_logs.slave-mi
rpl_rotate_logs.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
rpl_server_id1.test
rpl_server_id2-slave.opt
rpl_server_id2.test
rpl_session_var.test
rpl_set_charset.test
rpl_skip_error-slave.opt
rpl_skip_error.test
rpl_slave_status.test
rpl_sp-master.opt
rpl_sp-slave.opt
rpl_sp.test
rpl_sp_effects-master.opt
rpl_sp_effects-slave.opt
rpl_sp_effects.test
rpl_sporadic_master-master.opt
rpl_sporadic_master.test
rpl_ssl.test
rpl_start_stop_slave.test
rpl_temporary.test
rpl_timezone-master.opt
rpl_timezone-slave.opt
rpl_timezone.test
rpl_trigger.test
rpl_trunc_temp.test
rpl_until.test
rpl_user_variables.test
rpl_variables-master.opt
rpl_variables.test
rpl_view-slave.opt
rpl_view.test
schema.test
select.test
select_found.test
select_safe.test
show_check-master.opt
show_check.test
skip_grants-master.opt
skip_grants.test
skip_name_resolve-master.opt
skip_name_resolve.test
sp-big.test
sp-code.test Remove "is_debug_build.inc" and use already existing "have-debug.inc" 2007-06-07 22:23:47 +02:00
sp-destruct.test
sp-dynamic.test
sp-error.test
sp-prelocking.test
sp-security.test
sp-threads.test
sp-ucs2.test
sp-vars.test
sp.test
sp_notembedded.test
sp_stress_case.test
sp_trans.test Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build 2007-06-14 23:23:30 +02:00
sp_trans_log.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
sql_mode.test
ssl.test
ssl_compress.test
ssl_connect.test
status.test
strict.test
strict_autoinc_1myisam.test
strict_autoinc_2innodb.test
strict_autoinc_3heap.test
strict_autoinc_4bdb.test
strict_autoinc_5ndb.test
subselect.test Fixed bug #28811: crash for a query containing a subquery with 2007-06-07 22:35:31 -07:00
subselect2.test
subselect3.test
subselect_gis.test
subselect_innodb.test
subselect_notembedded.test
sum_distinct-big.test
sum_distinct.test
symlink.test
synchronization.test
sysdate_is_now-master.opt
sysdate_is_now.test
system_mysql_db.test
system_mysql_db_fix30020-master.opt
system_mysql_db_fix30020.test
system_mysql_db_fix40123-master.opt
system_mysql_db_fix40123.test
system_mysql_db_refs.test
tablelock.test
temp_table-master.opt
temp_table.test
timezone-master.opt
timezone.test
timezone2.test
timezone3-master.opt
timezone3.test
timezone4-master.opt
timezone4.test
timezone_grant.test
trigger-compat.test
trigger-grant.test
trigger-trans.test
trigger.test Bug #28992: trigger fails in pushbuild 2007-06-12 14:35:36 +03:00
truncate.test
type_binary.test
type_bit.test
type_bit_innodb.test
type_blob.test
type_date.test
type_datetime.test
type_decimal.test Fixed bug #28980: the result of ROUND(<decimal expr>,<int column>) 2007-06-13 09:32:36 -07:00
type_enum.test
type_float.test
type_nchar.test
type_newdecimal-big.test
type_newdecimal.test
type_ranges.test
type_set.test
type_time.test
type_timestamp.test
type_uint.test
type_varchar.test
type_year.test
udf.test
union-master.opt
union.test
update.test
user_limits.test
user_var-binlog.test Bug#28369 rpl test cases fail with binlog disabled 2007-06-07 19:18:01 +02:00
user_var.test
utils.sh
varbinary.test
variables-big.test
variables.test
view.test Bug#28266 IS_UPDATABLE field on VIEWS table in I_S database is wrong 2007-06-09 16:52:37 +05:00
view_grant.test
view_query_cache.test
wait_for_process.sh
wait_for_socket.sh
wait_timeout-master.opt
wait_timeout.test
warnings-master.opt
warnings.test
windows.test
xa.test