mariadb/mysql-test/r
unknown 115bf43602 BUG#14139: When handling "CREATE TABLE(field_X type_spec,...) SELECT smth AS field_X, ...."
avoid multiplying length of field_X by charset->mbmaxlen twice when calculating space 
required for field_X in the new table.


mysql-test/r/create.result:
  Testcase for BUG#14139
mysql-test/t/create.test:
  Testcase for BUG#14139
sql/field.cc:
  BUG#14139: Make create_length_to_internal_length() save length-in-characters in 
  create_field::chars_length.
sql/field.h:
  BUG#14139: Add create_length::chars_length where we save length-in-characters, added comments.
sql/sql_table.cc:
  BUG#14139: When handling "CREATE TABLE(field_X type_spec,...) SELECT smth AS field_X, ...."
  we get two instances of create_field: (1) is occurence of field_X in create list, and (2) is
  in select list. If we figure they both refer to the same field, we "join" them according to
  some rule that is not explicitly specified anywhere.
  When we do this "join", create_field::length already contains length-in-bytes for both, so
  when we transfer field length (in characters) from (1) to (2), use length-in-characters that
  we have saved in create_length::chars_length.
2005-10-26 00:56:17 +04:00
..
alias.result
alter_table.result
analyse.result
analyze.result
ansi.result
archive.result
auto_increment.result
backup.result
bdb-alter-table-1.result
bdb-alter-table-2.result
bdb-crash.result
bdb-deadlock.result
bdb.result
bdb_cache.result
bench_count_distinct.result
big_test.require
bigint.result
binary.result
blackhole.result
bool.result
bulk_replace.result
case.result
cast.result Merge mysql.com:/home/jimw/my/mysql-4.1-13344 2005-10-12 13:27:49 -07:00
check.result
check_var_limit.require
comments.result
compare.result
connect.result
consistent_snapshot.result
constraints.result
count_distinct.result
count_distinct2.result
count_distinct3.result
create.result BUG#14139: When handling "CREATE TABLE(field_X type_spec,...) SELECT smth AS field_X, ...." 2005-10-26 00:56:17 +04:00
create_select_tmp.result
csv.result
ctype_big5.result Bug#12476 Some big5 codes are still missing. 2005-10-05 19:20:49 +05:00
ctype_collate.result
ctype_cp932.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_cp1250_ch.result
ctype_cp1251.result
ctype_create.result
ctype_gbk.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_latin1.result Merge mysql.com:/usr/home/bar/mysql-4.1.b13145 2005-10-14 13:57:38 +05:00
ctype_latin1_de.result
ctype_latin2.result
ctype_many.result
ctype_mb.result
ctype_recoding.result
ctype_sjis.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_tis620.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_uca.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_ucs.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_ucs_binlog.result
ctype_ujis.result Bug#13046: LIKE pattern matching using prefix 2005-09-21 23:10:51 +05:00
ctype_utf8.result Bug#13233 2005-10-21 14:41:56 +05:00
date_formats.result
delayed.result
delete.result
derived.result
dirty_close.result
distinct.result
drop.result
drop_temp_table.result
empty_table.result
endspace.result
errors.result
exampledb.result
explain.result
flush.result
flush_block_commit.result
flush_table.result
foreign_key.result
fulltext.result
fulltext2.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result
fulltext_multi.result
fulltext_order_by.result
fulltext_update.result
fulltext_var.result
func_compress.result
func_concat.result
func_crypt.result Handle errors returned by system crypt() in ENCRYPT(). (Bug #13619) 2005-10-06 16:15:53 -07:00
func_date_add.result
func_default.result
func_des_encrypt.result
func_encrypt.result
func_encrypt_nossl.result
func_equal.result
func_gconcat.result
func_group.result Fix for BUG#12882 - min/max inconsistent on empty table. 2005-09-21 09:49:19 +03:00
func_if.result
func_in.result Fix for BUG#13419: In "ref" optimizer, take into account that item=Item_func_in(x,y) is 2005-09-23 13:43:20 +04:00
func_isnull.result
func_like.result
func_math.result
func_misc.result
func_op.result
func_regexp.result
func_sapdb.result
func_set.result
func_str.result
func_system.result
func_test.result
func_time.result
func_timestamp.result
gcc296.result
gis-rtree.result
gis.result
grant.result
grant2.result
grant_cache.result
group_by.result
handler.result
have_archive.require
have_bdb.require
have_big5.require
have_blackhole.require
have_compress.require
have_cp932.require
have_cp1250_ch.require
have_crypt.require
have_csv.require
have_debug.require
have_exampledb.require
have_gbk.require
have_geometry.require
have_innodb.require
have_isam.require
have_met_timezone.require
have_moscow_leap_timezone.require
have_ndb.require
have_openssl.require
have_openssl_1.require
have_outfile.require
have_query_cache.require
have_raid.require
have_sjis.require
have_symlink.require
have_tis620.require
have_ucs2.require
have_ujis.require
having.result
heap.result
heap_auto_increment.result
heap_btree.result
heap_hash.result
help.result
init_connect.result
innodb-deadlock.result
innodb-lock.result
innodb-replace.result
innodb.result Fixed a bug checksum table locks the InnoDB table and does not use a 2005-09-28 14:14:49 +03:00
innodb_cache.result
innodb_handler.result
insert.result
insert_select-binlog.result
insert_select.result insert_select.result, insert_select.test: 2005-09-10 02:30:26 +04:00
insert_update.result
isam.result
join.result
join_crash.result
join_outer.result
key.result
key_cache.result
key_diff.result
key_primary.result
keywords.result
kill.result
limit.result
loaddata.result Fix merge of test that left out a drop table. 2005-10-21 19:54:34 -07:00
lock.result
lock_multi.result
lock_tables_lost_commit.result
lowercase0.require
lowercase2.require
lowercase_table.result
lowercase_table2.result
lowercase_table3.result
lowercase_table_grant.result
lowercase_table_qcache.result
merge.result Merge mysql.com:/home/mydev/mysql-4.0-4000 2005-09-29 13:44:17 +02:00
metadata.result
mix_innodb_myisam_binlog.result
multi_statement.result
multi_update.result
myisam-blob.result
myisam.result BUG#12232: Addressing docs team feedback: s/inequal/unequal/ 2005-09-24 01:39:50 +04:00
mysql_protocols.result
mysqlbinlog.result
mysqlbinlog2.result
mysqldump.result
mysqltest.result BUG#12959 mysqltest crashes if testcase passed with -x option 2005-09-20 14:11:58 +02:00
ndb_alter_table.result Add testcase for bug#13316 2005-09-22 09:09:27 +02:00
ndb_autodiscover.result Update test result 2005-09-12 12:45:03 -07:00
ndb_autodiscover2.result
ndb_basic.result
ndb_blob.result
ndb_cache.result
ndb_charset.result
ndb_config.result ndb - 2005-09-30 11:39:49 +02:00
ndb_database.result
ndb_grant.result
ndb_index.result
ndb_index_ordered.result
ndb_index_unique.result
ndb_insert.result
ndb_limit.result
ndb_lock.result
ndb_minmax.result
ndb_multi.result
ndb_replace.result
ndb_restore.result
ndb_subquery.result
ndb_transaction.result
ndb_truncate.result
ndb_types.result
ndb_update.result
negation_elimination.result
not_embedded.require
not_embedded_server.result
not_openssl.require
null.result
null_key.result
odbc.result
olap.result Fix bug#12887 Distinct is not always applied after rollup 2005-09-15 21:34:11 +04:00
openssl_1.result
openssl_2.result
order_by.result
order_fill_sortbuf.result
outfile.result
overflow.result
packet.result
preload.result
ps.result
ps_1general.result
ps_2myisam.result
ps_3innodb.result
ps_4heap.result
ps_5merge.result
ps_6bdb.result ps_6bdb, ps_7ndb tests failure fix 2005-09-12 14:21:38 +05:00
ps_7ndb.result ps_6bdb, ps_7ndb tests failure fix 2005-09-12 14:21:38 +05:00
ps_10nestset.result
ps_11bugs.result
ps_grant.result
query_cache.result
query_cache_merge.result
query_cache_notembedded.result
raid.result
range.result
rename.result
repair.result
replace.result
rollback.result
row.result
rpl000001.a.result
rpl000001.b.result
rpl000001.result
rpl000002.result
rpl000004.a.result
rpl000004.b.result
rpl000004.result
rpl000005.result
rpl000006.result
rpl000008.result
rpl000009.result
rpl000010.result
rpl000011.result
rpl000012.result
rpl000013.result
rpl000015.result
rpl000017.result
rpl000018.result
rpl_alter.result
rpl_chain_temp_table.result
rpl_change_master.result
rpl_charset.result
rpl_commit_after_flush.result
rpl_create_database.result
rpl_ddl.result
rpl_deadlock.result
rpl_delete_all.result
rpl_do_grant.result
rpl_drop.result
rpl_drop_db.result
rpl_drop_temp.result
rpl_dual_pos_advance.result Fix for BUG#13023: "SQL Thread is up but doesn't move forward". Details in slave.cc; 2005-10-12 13:29:55 +02:00
rpl_EE_error.result
rpl_empty_master_crash.result
rpl_error_ignored_table.result
rpl_failed_optimize.result
rpl_failsafe.result
rpl_flush_log_loop.result
rpl_flush_tables.result Bug #10942 "deadlock with FLUSH TABLES WITH READ LOCK + STOP SLAVE" 2005-10-08 14:46:04 +02:00
rpl_free_items.result
rpl_get_lock.result
rpl_heap.result
rpl_ignore_grant.result
rpl_init_slave.result
rpl_innodb.result
rpl_insert_id.result
rpl_insert_ignore.result
rpl_insert_select.result
rpl_loaddata.result
rpl_loaddata_rule_m.result
rpl_loaddata_rule_s.result
rpl_loaddatalocal.result
rpl_log.result
rpl_log_pos.result
rpl_many_optimize.result
rpl_master_pos_wait.result
rpl_max_relay_size.result
rpl_misc_functions.result
rpl_multi_delete.result
rpl_multi_delete2.result fix for BUG#11139 (multi-delete with alias breaking replication if table rules are 2005-09-14 06:31:38 -06:00
rpl_multi_query.result
rpl_multi_update.result
rpl_multi_update2.result - set 'updating' in both tables list if we have two of them (because of subquery) (BUG#13236) 2005-10-14 00:02:38 +03:00
rpl_multi_update3.result BUG#12618: Removing fake locking 2005-10-10 15:10:14 +02:00
rpl_mystery22.result
rpl_openssl.result Fix for bug#13605 'rpl_openssl' test hangs 2005-10-06 19:51:08 +05:00
rpl_optimize.result
rpl_ps.result
rpl_redirect.result
rpl_relayrotate.result
rpl_relayspace.result
rpl_replicate_do.result
rpl_reset_slave.result
rpl_rewrite_db.result
rpl_rotate_logs.result
rpl_server_id1.result
rpl_server_id2.result
rpl_set_charset.result
rpl_skip_error.result
rpl_slave_status.result Reverted old fix with sync_slave_with_master and added a replace commands 2005-09-12 10:50:42 +02:00
rpl_sporadic_master.result
rpl_start_stop_slave.result
rpl_temporary.result
rpl_timezone.result
rpl_trunc_binlog.result
rpl_until.result
rpl_user_variables.result
rpl_variables.result
select.result merging 2005-10-13 19:51:07 +05:00
select_found.result
select_safe.result
show_check.result Bug #12698 abnormal program termination running mysql_client_test 2005-10-13 15:52:22 +02:00
skip_name_resolve.result
slave-running.result
slave-stopped.result
sql_mode.result Fix for bug #7977 in sql_mode=ANSI, show create table ignores auto_increment 2005-09-29 16:17:45 +05:00
status.result
subselect.result sql_yacc.yy: 2005-10-12 09:47:59 +02:00
subselect2.result Populate t1 in order to get more predictable explain results. 2005-10-07 20:14:34 +05:00
subselect_gis.result
subselect_innodb.result
symlink.result
synchronization.result
system_mysql_db.result
system_mysql_db_refs.result
tablelock.result
temp_table.result Fix for bug #6008: MySQL does not create warnings when creating database and using IF NOT EXISTS 2005-09-12 17:09:19 +05:00
timezone.result
timezone2.result
timezone3.result
timezone_grant.result
true.require
truncate.result
type_blob.result
type_date.result
type_datetime.result
type_decimal.result Fix for bug #13372 (decimal union) 2005-09-27 15:11:39 +05:00
type_enum.result
type_float.result additional fix to the bug #13372 (decimal union) 2005-09-27 15:31:38 +05:00
type_nchar.result
type_ranges.result
type_set.result
type_time.result
type_timestamp.result
type_uint.result
type_year.result
union.result additional fix for bug #13372 (decimal union) 2005-09-27 16:23:37 +05:00
update.result BUG#12915: Added single-table UPDATE/DELTE ... ORDER BY ... LIMIT 2005-09-30 15:21:37 +04:00
user_var-binlog.result
user_var.result
varbinary.result
variables.result Fix minimum value of query_prealloc_size to be the same as its default. (Bug #13334) 2005-10-10 19:39:16 -07:00
wait_timeout.result Fix wait_timeout (and kill) handling on Mac OS X by cleaning up how 2005-10-11 09:12:12 -07:00
warnings.result Fix for bug #6008: MySQL does not create warnings when creating database and using IF NOT EXISTS 2005-09-12 17:09:19 +05:00
windows.result