mariadb/mysql-test/t
unknown 49b527ab64 Bug #25146: Some warnings/errors not shown when using --show-warnings
In several cases, an error when processing the query would cause mysql to
return to the top level without printing warnings.  Fix is to always
print any available warnings before returning to the top level.


client/mysql.cc:
  In com_go(), ensure that warnings are printed even if an error
  occurred when processing the query.  Before this patch, an error
  in several places would return to the top level without printing
  associated warnings.
  
  Attempt to avoid printing the warning, though, if it's a duplicate
  of mysql_error() for the connection handle.
mysql-test/r/mysql.result:
  Add test for bug 25146
mysql-test/t/mysql.test:
  Add test for bug 25146
2007-11-20 17:03:56 -07:00
..
1st.test
alias.test
alter_table-big.test
alter_table.test
analyse.test
analyze.test
ansi.test
archive-big.test
archive.test Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint 2007-09-22 12:19:49 +02:00
archive_bitfield.test
archive_gis.test
auto_increment.test
backup-master.sh
backup.test
bench_count_distinct.test
bigint.test
binary.test
binlog_unsafe.test
bool.test
bootstrap.test
bulk_replace.test
cache_innodb-master.opt
cache_innodb.test
case.test
cast.test
change_user.test Bug#31608 missing mysqltest change_user command 2007-10-17 16:43:30 -03:00
check.test
client_xml.test
comments.test
compare.test
compress.test
concurrent_innodb-master.opt
concurrent_innodb.test
connect.test
consistent_snapshot.test
constraints.test
contributors.test
count_distinct.test
count_distinct2-master.opt
count_distinct2.test
count_distinct3.test
crash_commit_before-master.opt
crash_commit_before.test
create-big.test
create.test Bug#21136 CREATE TABLE SELECT within CREATE TABLE SELECT causes server crash 2007-09-28 18:25:47 -03:00
create_not_windows.test
create_select_tmp.test
csv.test Bug#31473 2007-10-18 14:48:04 -07:00
ctype_ascii.test
ctype_big5.test
ctype_collate.test
ctype_cp932_binlog_row.test
ctype_cp932_binlog_stm.test
ctype_cp1250_ch.test
ctype_cp1251.test
ctype_create.test
ctype_eucjpms.test
ctype_euckr.test
ctype_filename.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_ldml-master.opt
ctype_ldml.test
ctype_many.test
ctype_mb.test
ctype_recoding.test
ctype_sjis.test
ctype_tis620.test
ctype_uca.test
ctype_ucs.test Bug#30981 CHAR(0x41 USING ucs2) doesn't add leading zero 2007-10-11 16:07:10 +05:00
ctype_ucs2_def-master.opt
ctype_ucs2_def.test
ctype_ujis.test
ctype_ujis_ucs2.test
ctype_utf8.test Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt 2007-10-16 14:10:07 +05:00
date_formats-master.opt
date_formats.test
ddl_i18n_koi8r.test
ddl_i18n_utf8.test
deadlock_innodb.test
default.test
delayed.test Merge adventure.(none):/home/thek/Development/cpp/bug27358/my50-bug27358 2007-09-10 11:38:23 +02:00
delete.test Fix for bug #31742: delete from ... order by function call that causes 2007-10-22 16:10:08 +04:00
derived.test Bug #31221: Optimizer incorrectly identifies impossible WHERE clause 2007-10-18 15:19:04 +03:00
dirty_close.test
disabled.def
distinct.test
drop.test
empty_table.test
endspace.test
error_simulation-master.opt
error_simulation.test
errors.test
events.test Make events.test more robust against timing issues. 2007-09-06 15:57:36 +04:00
events_bugs.test
events_grant.test
events_logs_tests-master.opt
events_logs_tests.test Test events_logs_tests cleanup 2007-09-05 12:14:43 -06:00
events_microsec.test
events_restart_phase1.test
events_restart_phase2-master.opt
events_restart_phase2.test
events_restart_phase3-master.opt
events_restart_phase3.test
events_scheduling.test
events_stress.test
events_time_zone.test
events_trans.test
events_trans_notembedded.test
exampledb.test
execution_constants.test
explain.test
federated.test
federated_archive.test
federated_bug_13118.test
federated_bug_25714.test
federated_innodb-slave.opt
federated_innodb.test
federated_server.test
federated_transactions-slave.opt
federated_transactions.test
fix_priv_tables.test
flush.test
flush2-master.opt
flush2.test
flush_block_commit.test
flush_block_commit_notembedded.test
flush_read_lock_kill-master.opt
flush_read_lock_kill.test
flush_table.test
foreign_key.test
fulltext.test
fulltext2.test
fulltext3.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 Merge mysql.com:/home/ram/work/b31154/b31154.5.0 2007-10-15 09:44:22 +05:00
func_group.test Merge magare.gmz:/home/kgeorge/mysql/autopush/B31156-5.0-opt 2007-10-13 09:22:37 +03:00
func_group_innodb.test
func_if.test
func_in.test Fixed bug #31075. 2007-09-26 12:45:08 +02:00
func_isnull.test
func_like.test
func_math.test Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt 2007-10-04 14:23:55 +05:00
func_misc.test Merge linux-st28.site:/home/martin/mysql/src/bug30832-again/my50-bug30832-again 2007-10-09 11:37:46 +02:00
func_op.test
func_regexp.test Bug #31440: 'select 1 regex null' asserts debug server 2007-10-11 11:29:26 +03:00
func_sapdb.test Bug#30951: makedate returns different results depending on version of mysql 2007-10-12 11:46:48 +02:00
func_set.test
func_str.test Merge polly.(none):/home/kaa/src/opt/bug28550/my50-bug28550 2007-10-21 21:49:30 +04:00
func_system.test
func_test.test
func_time.test Merge linux-st28.site:/home/martin/mysql/src/bug31160/my50-bug31160 2007-10-09 15:00:06 +02:00
func_timestamp.test
gcc296.test
gis-rtree.test Merge mysql.com:/home/hf/work/30286/my50-30286 2007-10-05 15:43:15 +05:00
gis.test Merge magare.gmz:/home/kgeorge/mysql/autopush/B30825-new-5.0-opt 2007-10-23 11:44:14 +03:00
grant.test Merge sin.intern.azundris.com:/home/tnurnberg/19828/50-19828 2007-10-05 13:11:38 +02:00
grant2.test merged the fix for bug 30468 to 5.1-opt 2007-09-27 12:32:59 +03:00
grant3-master.opt
grant3.test Bug#19828: Case sensitivity in hostname leads to inconsistent behavior 2007-09-20 18:10:35 +02:00
grant_cache_no_prot.test
grant_cache_ps_prot.test
greedy_optimizer.test
group_by.test Bug#30665: Inconsistent optimization of IGNORE INDEX FOR {ORDER BY|GROUP BY} 2007-09-28 09:36:05 +02:00
group_min_max.test
group_min_max_innodb.test
handler_innodb.test
handler_myisam.test
having.test
heap.test
heap_auto_increment.test
heap_btree.test Merge anubis.xiphis.org:/usr/home/antony/work/mysql-5.1-engines 2007-10-19 13:06:37 -07:00
heap_hash.test
help.test
index_merge_innodb.test
index_merge_myisam.test
information_schema.test Merge mysql.com:/home/gluh/MySQL/Merge/5.1 2007-10-23 19:08:21 +05:00
information_schema_chmod.test
information_schema_db.test
information_schema_inno.test
information_schema_part.test
init_connect-master.opt
init_connect.test
init_file-master.opt
init_file.test
innodb-lock.test
innodb-master.opt
innodb-replace.test
innodb-semi-consistent-master.opt Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
innodb-semi-consistent.test Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
innodb-ucs2.test
innodb.test Apply snapshot innodb-5.1-ss2034 2007-11-06 16:40:50 -07:00
innodb_autoinc_lock_mode_zero-master.opt Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
innodb_autoinc_lock_mode_zero.test Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
innodb_gis.test Merge magare.gmz:/home/kgeorge/mysql/autopush/B30825-new-5.0-opt 2007-10-23 11:44:14 +03:00
innodb_mysql-master.opt
innodb_mysql.test Backport of the 5.0 patch to 4.1 2007-10-04 14:22:35 +04:00
innodb_notembedded.test
innodb_timeout_rollback-master.opt
innodb_timeout_rollback.test
innodb_trx_weight.test
insert.test
insert_notembedded.test The test case for bug 28587 doesn't work with the embedded version, 2007-09-06 13:22:34 -03:00
insert_select.test Merge sunlight.local:/local_work/27216-bug-5.0-opt-mysql 2007-09-24 17:23:40 +04:00
insert_update.test The test case for bug 28587 doesn't work with the embedded version, 2007-09-06 13:22:34 -03:00
join.test Bug #31094: Forcing index-based sort doesn't work anymore if joins are done 2007-10-05 17:28:34 +03:00
join_crash.test
join_nested.test
join_outer.test
join_outer_innodb.test
key.test
key_cache-master.opt
key_cache.test
key_diff.test
key_primary.test
keywords.test
kill.test
limit.test
loaddata.test
loaddata_autocom_innodb.test
lock.test
lock_multi.test
lock_tables_lost_commit-master.opt
lock_tables_lost_commit.test
log_state-master.opt
log_state.test
log_tables-big-master.opt
log_tables-big.test
log_tables-master.opt
log_tables.test Merge anubis.xiphis.org:/usr/home/antony/work/mysql-5.1-engines 2007-10-19 13:06:37 -07:00
long_tmpdir-master.opt
long_tmpdir-master.sh
long_tmpdir.test
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 Merge stella.local:/home2/mydev/mysql-5.0-bug15522 2007-10-09 14:18:10 +02:00
metadata.test
mix2_myisam.test
mix2_myisam_ucs2.test
multi_statement-master.opt
multi_statement.test
multi_update-master.opt
multi_update.test
myisam-blob-master.opt
myisam-blob.test
myisam-system.test
myisam.test
mysql.test Bug #25146: Some warnings/errors not shown when using --show-warnings 2007-11-20 17:03:56 -07:00
mysql_client_test-master.opt
mysql_client_test.test Patch for BUG#30472: libmysql doesn't reset charset, 2007-09-28 23:30:54 +04:00
mysql_cp932.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
mysqlbinlog-master.opt
mysqlbinlog.test
mysqlbinlog2.test
mysqlbinlog_base64.test
mysqlcheck.test
mysqldump-compat.opt
mysqldump-compat.test
mysqldump-max.test
mysqldump.test Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt 2007-10-04 14:23:55 +05:00
mysqlshow.test
mysqlslap.test mysqlslap.result, mysqlslap.test: 2007-09-27 13:15:15 +05:00
mysqltest.test Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-10-18 19:21:07 -06:00
named_pipe-master.opt Add test for named pipes on windows 2007-09-24 12:42:44 +02:00
named_pipe.test Add test for named pipes on windows 2007-09-24 12:42:44 +02:00
negation_elimination.test
no-threads-master.opt
no-threads.test
not_embedded_server-master.opt
not_embedded_server.test
not_partition.test
null.test Fixed bug #31471: decimal_bin_size: Assertion `scale >= 0 && 2007-10-10 20:14:29 +05:00
null_key.test
odbc.test
olap.test Bug#31095: Unexpected NULL constant caused server crash. 2007-10-01 20:03:50 +00:00
openssl_1.test
order_by.test Bug#30665: Inconsistent optimization of IGNORE INDEX FOR {ORDER BY|GROUP BY} 2007-09-28 09:36:05 +02:00
order_fill_sortbuf-master.opt
order_fill_sortbuf.test
outfile.test
overflow.test
packet.test
parser.test
parser_bug21114_innodb.test
parser_precedence.test
partition-master.opt
partition.test Merge trift2.:/MySQL/M51/mysql-5.1 2007-10-29 12:56:48 +01:00
partition_02myisam.test
partition_archive.test This changeset contains the following stuff: 2007-10-22 20:10:51 +02:00
partition_blackhole.test This changeset contains the following stuff: 2007-10-22 20:10:51 +02:00
partition_bug18198.test
partition_charset.test
partition_csv.test This changeset contains the following stuff: 2007-10-22 20:10:51 +02:00
partition_error.test
partition_federated.test
partition_grant.test
partition_hash.test
partition_innodb.test BUG#30583 - Partition on DOUBLE key + INNODB + count(*) == crash 2007-09-13 18:33:40 +05:00
partition_list.test
partition_mgm.test
partition_mgm_err.test
partition_mgm_err2.test
partition_not_windows-master.opt
partition_not_windows.test
partition_order.test
partition_pruning.test BUG#27927:Partition pruning not optimal with TO_DAYS and YEAR functions 2007-09-14 14:18:42 +04:00
partition_range.test
partition_windows.test
perror.test
plugin-master.opt
plugin.test
preload.test
ps-master.opt
ps.test
ps_1general.test
ps_2myisam.test
ps_3innodb.test
ps_4heap.test
ps_5merge.test
ps_10nestset.test
ps_11bugs.test
ps_grant.test
ps_not_windows.test
query_cache.test after merge fix 2007-10-23 19:28:47 +05:00
query_cache_merge.test
query_cache_notembedded.test Bug#30710 query_cache.test fails on embedded - per-column privs test 2007-10-16 14:42:42 +02:00
query_cache_ps_no_prot.test
query_cache_ps_ps_prot.test
query_cache_with_views.test
range.test
read_many_rows_innodb.test
read_only.test
read_only_innodb.test
rename.test
renamedb.test WL#4030 (Deprecate RENAME DATABASE: replace with ALTER DATABASE <name> 2007-09-10 16:10:37 -06:00
repair.test Merge polly.(none):/home/kaa/src/maint/mysql-5.0-maint 2007-10-17 10:38:26 +04:00
replace.test
rollback.test
round.test
row.test
rowid_order_innodb.test
schema.test
select.test Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt 2007-09-19 18:02:59 +03:00
select_found.test
select_safe.test
shm-master.opt Add test for named pipes on windows 2007-09-24 12:42:44 +02:00
shm.test Add test for named pipes on windows 2007-09-24 12:42:44 +02:00
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
sp-destruct.test
sp-dynamic.test
sp-error.test Merge lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-runtime 2007-10-16 15:43:16 -06:00
sp-prelocking.test
sp-security.test
sp-threads.test
sp-ucs2.test
sp-vars.test
sp.test Fix for BUG#24923: Functions with ENUM issues. 2007-10-17 12:13:56 +04:00
sp_gis.test
sp_notembedded.test
sp_stress_case.test
sp_trans.test
sp_trans_log.test
sql_mode.test
ssl-big.test
ssl.test
ssl_8k_key.test
ssl_compress.test
ssl_connect.test
status.test
strict.test
strict_autoinc_1myisam.test
strict_autoinc_2innodb.test
strict_autoinc_3heap.test
subselect.test
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_fix50030-master.opt
system_mysql_db_fix50030.test
system_mysql_db_fix50117-master.opt
system_mysql_db_fix50117.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
truncate.test
type_binary.test
type_bit.test Merge mysql.com:/home/psergey/mysql-5.0-bug30324 2007-09-14 15:05:20 +04:00
type_bit_innodb.test
type_blob.test
type_date.test Merge magare.gmz:/home/kgeorge/mysql/work/B28687-5.0-opt 2007-10-23 11:22:59 +03:00
type_datetime.test Merge four.local.lan:/WORK2/merge/mysql-5.0-31408 2007-11-01 20:18:31 +01:00
type_decimal.test Merge mysql.com:/home/gluh/MySQL/Merge/5.1 2007-10-23 19:08:21 +05:00
type_enum.test
type_float.test Merge pilot.mysql.com:/data/msvensson/mysql/bug11589/my50-test_latest 2007-10-15 09:22:11 +02:00
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-master.opt
udf.test Bug #29804 UDF parameters don't contain correct string length 2007-10-17 17:54:11 -04:00
union-master.opt
union.test
unsafe_binlog_innodb-master.opt
unsafe_binlog_innodb.test
update.test
upgrade.test Test cleanup, the upgrade test script assumes a unix like environment 2007-10-08 12:37:57 -06:00
user_limits.test
user_var-binlog.test
user_var.test
varbinary.test
variables-big.test
variables.test Merge mysql.com:/home/gluh/MySQL/Merge/5.1 2007-10-23 19:08:21 +05:00
view.test Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt 2007-10-10 12:37:06 +05:00
view_grant.test Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt 2007-10-04 14:23:55 +05:00
wait_timeout-master.opt
wait_timeout.test
warnings-master.opt
warnings.test
warnings_engine_disabled-master.opt
warnings_engine_disabled.test
windows.test
xa.test
xml.test Fix for bug #31438: updatexml still crashes 2007-10-08 16:52:15 +05:00