mariadb/mysql-test/r
unknown bee5d9d462 Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error
Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats.
This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings
Changed flag argument to str_to_TIME() and get_date() from bool to uint
Removed THD from str_to_xxxx functions and Item class.
Fixed core dump when doing --print-defaults
Move some common string functions to strfunc.cc
Dates as strings are now of type my_charset_bin instead of default_charset()
Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128)
Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums
Renamed some TIMESTAMP_xxx enums to more appropriate names
Use defines instead of integers for date/time/datetime string lengths
Added to build system and use the new my_strtoll10() function.



BUILD/compile-pentium-valgrind-max:
  Remove double printing of warning
VC++Files/libmysqld/libmysqld.dsp:
  Added strfunc.cc
VC++Files/sql/mysqld.dsp:
  Added strfunc.cc
VC++Files/sql/mysqldmax.dsp:
  Added strfunc.cc
VC++Files/strings/strings.dsp:
  added my_strtoll10.c
include/m_ctype.h:
  Removed MY_LEX_FOUND_IDENT (not used)
include/m_string.h:
  Added my_strtoll10()
include/mysqld_error.h:
  simplified 'wrong xxx name' error messages
include/sql_state.h:
  simplified 'wrong xxx name' error messages
libmysqld/Makefile.am:
  Added strfunc.cc
mysql-test/mysql-test-run.sh:
  Simplified some options
  changed $@ to "$@" in an attempt to handle options with space (Didn't succeed;  Problem will disappear when mysql-test-run is rewritten in C)
mysql-test/r/ctype_latin1_de.result:
  Added new tests
mysql-test/r/ctype_recoding.result:
  Extended tests
mysql-test/r/date_formats.result:
  Cleaned up tests
  Disabled some tests that can't yet be run
mysql-test/r/func_compress.result:
  New error message
mysql-test/r/rpl_temporary.result:
  Added new test
mysql-test/t/create.test:
  Changed error numbers
mysql-test/t/ctype_latin1_de.test:
  New tests
mysql-test/t/ctype_recoding.test:
  Extended tests
mysql-test/t/date_formats-master.opt:
  Removed datetime_format as we can't handle options with space in mysql-test-run
mysql-test/t/date_formats.test:
  Cleaned up tests
  Disabled some tests that can't yet be run
mysql-test/t/rpl_temporary.test:
  Added testing of open temporary table on slave shutdown
mysql-test/t/symlink.test:
  Fixed error numbers
mysys/default.c:
  Fixed core dump when doing --print-defaults
sql/Makefile.am:
  Added strfunc.cc
sql/derror.cc:
  Fixed compiler warning
sql/field.cc:
  Changed argument to str_to_TIME() from bool to uint
  Removed THD argument from str_to_TIME()
  Moved find_enum() and find_set() to strfunc.cc
sql/field.h:
  Changed type of last argument to get_date() to be able to handle more options
sql/init.cc:
  Remove not used variable dayord
sql/item.cc:
  Changed type of last argument to get_date() to be able to handle more options
  Removed THD* element from item.
  Don't use make_date_time() to generate date/time/datetimes
sql/item.h:
  Changed type of last argument to get_date() to be able to handle more options
  Removed THD* from Item
sql/item_create.cc:
  Indentation cleanup
sql/item_func.cc:
  Use new find_type()
sql/item_func.h:
  Changed type of last argument to get_date() to be able to handle more options
sql/item_strfunc.h:
  space change
sql/item_timefunc.cc:
  Changed month_names[] to be easier to use
  Moved check_names[] to strfunc.cc
  Added back old make_datetime() function
  Optimized extract_date_time()
  Use my_strtoll10() insetad of my_strntoll()
  Optimized make_date_time()
  Replaced short variable names with long ones.
  Use new functions make_time(), make_date() and make_datetime()
  Dates as strings are now of type my_charset_bin instead of default_charset()
  Changed Item_func_str_to_date() to by default return a date.
sql/item_timefunc.h:
  Changed charset for date string from default_charset() to my_charset_bin
  Changed type of last argument to get_date() to be able to handle more options
  Use defines instead of integers for date/time/datetime string lengths
sql/mysql_priv.h:
  Fixed/added new prototypes
sql/mysqld.cc:
  Removed opt_datetime_format_names
  Cleaned up handling of date_time format handling. (Fixed core dump when mysqld had error on startup)
  Removed some unnecessary double init of collation variables
sql/protocol.cc:
  Changed back protocol functions to always return dates in ISO format
sql/set_var.cc:
  Added variables time_format, date_format and datetime_format
  This had to be recoded becasue checking was done in 'update' method and not in 'check' method.
sql/set_var.h:
  Removed class sys_var_datetime_format() as this defined a variable (which doesn't work) instead of updating a variable
sql/share/czech/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/danish/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/dutch/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/english/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/estonian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/french/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/german/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/greek/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/hungarian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/italian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/japanese/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/korean/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/norwegian-ny/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/norwegian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/polish/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/portuguese/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/romanian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/russian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/serbian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/slovak/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/spanish/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/swedish/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/share/ukrainian/errmsg.txt:
  simplified 'wrong xxx name' error messages
sql/sql_base.cc:
  Use new find_type()
sql/sql_class.cc:
  Allocate/free date_time format variables
sql/sql_class.h:
  Define datetime_format variables
sql/sql_db.cc:
  Use new ER_WRONG_NAME error
sql/sql_lex.cc:
  Change lex to generate IDENT_QUOTED for quoted identifiers or identifers that are using characters > 128.
  This enabled us to not have to copy and convert the identifier to utf8 for simpe identifiers
sql/sql_parse.cc:
  Use new ER_WRONG_NAME error
  Use new find_type() function
sql/sql_prepare.cc:
  Use new defines
sql/sql_table.cc:
  Use new ER_WRONG_NAME error
sql/sql_yacc.yy:
  Don't copy and convert simple identifiers to utf8.
  Replace __FORMAT_TYPE defines with TIMESTAMP... defines
sql/structs.h:
  Renamed DATETIME_FORMAT to DATE_TIME format to indicate that it's for date/time/datetime formats
  Renamed WRONT_TIMESTAMP_FULL to TIMESTAMP_DATETIME_ERROR and TIMESTAMP_FULL to TIMESTAMP_DATETIME
  Added KNOWN_DATE_TIME_FORMAT struct for Item_func_get_format
sql/time.cc:
  Prepare str_to_TIME and str_to_time() for general date/time handling
  Removed THD from str_to... functions
  Renamed date/time/datetime functions to use 'date_time' instead of 'datetime'
  Added functions to make and copy DATE_TIME_FORMAT's
  Added trivial functions 'make_time()', 'make_date()' and 'make_datetime()'
strings/Makefile.am:
  Added my_strtoll10()
strings/ctype-bin.c:
  Cleared upper part of binary state map to be able to easily identify simple identifiers
strings/my_vsnprintf.c:
  F
2003-11-03 14:01:59 +02:00
..
alias.result
alter_table.result
analyse.result
ansi.result Fixed bug in error handling of CREATE ... SELECT 2003-10-08 18:53:31 +03:00
auto_increment.result After merge fixes 2003-08-19 00:08:08 +03:00
backup.result
bdb-alter-table-1.result
bdb-alter-table-2.result
bdb-crash.result
bdb-deadlock.result
bdb.result merge with 4.0.15 2003-09-11 20:24:14 +03:00
bdb_cache.result
bench_count_distinct.result
big_test.require
bigint.result
binary.result
bool.result
bulk_replace.result
case.result
cast.result CAST(expr AS CHAR(10)) is now working 2003-08-21 14:15:25 +05:00
check.result
check_var_limit.require Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
comments.result
compare.result
connect.result
constraints.result
count_distinct.result
count_distinct2.result
count_distinct3.result
create.result fixed sqlstate for ER_WRONG_INDEX_NAME 2003-10-16 16:15:45 -04:00
ctype_collate.result
ctype_cp1251.result
ctype_latin1_de.result Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error 2003-11-03 14:01:59 +02:00
ctype_many.result Bug fix: 2003-09-16 15:43:17 +05:00
ctype_mb.result Add warnings for single line inserts. To do this I had to convert count_cuted_fields to an enum (to be able to detect setting a NOT NULL field to NULL) 2003-10-11 23:26:39 +03:00
ctype_recoding.result Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error 2003-11-03 14:01:59 +02:00
ctype_ucs.result LPAD and RPAD test with UCS2 was added. 2003-09-25 18:06:39 +05:00
ctype_ujis.result Fixed that multibyte charsets didn't honor multibyte 2003-09-19 15:18:19 +05:00
ctype_utf8.result New test for UTF8 functionality 2003-09-19 16:59:14 +05:00
date_formats.result Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error 2003-11-03 14:01:59 +02:00
delayed.result
delete.result
derived.result correct table name assigned to temporary table field: 2003-10-19 14:25:33 +03:00
dirty_close.result
distinct.result Fixes after merge 2003-10-08 12:01:58 +03:00
drop.result Fix for bug #799 FLUSH TABLES WITH READ LOCK does not block CREATE TABLE 2003-08-28 18:09:00 +05:00
drop_temp_table.result Fixes after merge 2003-10-08 12:01:58 +03:00
empty_table.result
errors.result
explain.result
flush.result
foreign_key.result
fulltext.result After merge fixes 2003-08-19 00:08:08 +03:00
fulltext2.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result
fulltext_multi.result Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) 2003-09-29 12:31:35 +03:00
fulltext_order_by.result Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) 2003-09-29 12:31:35 +03:00
fulltext_update.result
fulltext_var.result
func_compress.result Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error 2003-11-03 14:01:59 +02:00
func_concat.result
func_crypt.result post-merge fixes 2003-09-03 16:43:41 +04:00
func_date_add.result
func_encrypt.result
func_equal.result
func_gconcat.result fixed fix_fields() parameters for GROUP_CONCAT() ORDER BY clause 2003-10-12 16:10:40 +03:00
func_group.result fixed processing aggregate functions with static tables (BUG#1318) 2003-09-20 18:30:36 +03:00
func_if.result
func_in.result
func_isnull.result
func_like.result
func_math.result
func_misc.result
func_op.result
func_regexp.result regexp worked only with the default character set. 2003-09-24 13:57:26 +05:00
func_sapdb.result
func_set.result
func_str.result LPAD() and RPAD() are now multibyte-compatible 2003-09-25 17:31:20 +05:00
func_system.result
func_test.result After merge fixes. 2003-09-11 19:06:23 +03:00
func_time.result merge 2003-08-19 00:10:21 +03:00
func_timestamp.result
gcc296.result
gis-rtree.result
gis.result
grant.result Optimize thai character handling 2003-09-12 04:18:07 +03:00
grant2.result
grant_cache.result
group_by.result merge with 4.0.15 2003-08-29 13:44:35 +03:00
handler.result After merge fixes 2003-08-19 00:08:08 +03:00
have_bdb.require
have_compress.require
have_crypt.require
have_innodb.require
have_isam.require
have_mest_timezone.require
have_openssl.require
have_openssl_1.require
have_query_cache.require
have_raid.require
have_symlink.require
have_ucs2.require
have_ujis.require Fixed that multibyte charsets didn't honor multibyte 2003-09-19 15:18:19 +05:00
having.result
heap.result After merge fixes 2003-08-19 00:08:08 +03:00
heap_auto_increment.result
heap_btree.result After merge fixes 2003-08-19 00:08:08 +03:00
heap_hash.result After merge fixes 2003-08-19 00:08:08 +03:00
help.result
innodb-deadlock.result
innodb.result Indentation cleanups 2003-10-08 21:50:05 +03:00
innodb_cache.result
innodb_handler.result
insert.result Merge with 4.0.16 2003-10-07 15:42:26 +03:00
insert_select.result Fixed bug in error handling of CREATE ... SELECT 2003-10-08 18:53:31 +03:00
insert_update.result
isam.result merge 2003-09-03 19:53:08 +03:00
join.result
join_crash.result
join_outer.result Fixes after merge 2003-10-08 12:01:58 +03:00
key.result After merge fixes 2003-08-19 00:08:08 +03:00
key_cache.result After merge fixes 2003-08-19 00:08:08 +03:00
key_diff.result
key_primary.result
keywords.result
kill.result
limit.result
loaddata.result After merge fixes. 2003-09-11 19:06:23 +03:00
lock.result
lock_multi.result
lock_tables_lost_commit.result
lowercase_table.result After merge fixes. 2003-09-11 19:06:23 +03:00
merge.result
mix_innodb_myisam_binlog.result Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) 2003-09-29 12:31:35 +03:00
multi_update.result merge with 4.0.15 2003-08-29 13:44:35 +03:00
myisam.result merge with 4.0.15 2003-09-11 20:24:14 +03:00
mysqlbinlog.result Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) 2003-09-29 12:31:35 +03:00
mysqldump.result Update results after merge 2003-10-16 08:16:39 +03:00
not_embedded.require
null.result Add warnings for single line inserts. To do this I had to convert count_cuted_fields to an enum (to be able to detect setting a NOT NULL field to NULL) 2003-10-11 23:26:39 +03:00
null_key.result Fixes after merge 2003-10-08 12:01:58 +03:00
odbc.result
olap.result Fix for bug in ROLLUP when all tables where 'const' tables (Bug #714) 2003-08-26 20:23:48 +03:00
openssl_1.result Fixed openssl_1 test after error message was updated 2003-09-14 18:07:14 +04:00
openssl_2.result
order_by.result Fixes after merge 2003-10-08 12:01:58 +03:00
order_fill_sortbuf.result
overflow.result
packet.result merge with 4.0.15 2003-08-29 13:44:35 +03:00
preload.result
query_cache.result query_cache.result, query_cache.test: 2003-10-08 10:18:38 +05:00
query_cache_merge.result Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files. 2003-08-22 04:07:40 +03:00
raid.result
range.result Optimize thai character handling 2003-09-12 04:18:07 +03:00
rename.result
repair_part1.result
repair_part2.result
replace.result
rollback.result
row.result fixed error names 2003-10-06 22:35:05 +03:00
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 Fixed bug in error handling of CREATE ... SELECT 2003-10-08 18:53:31 +03:00
rpl000010.result
rpl000011.result
rpl000012.result
rpl000013.result
rpl000015.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl000017.result
rpl000018.result
rpl_alter.result Fixes after merge 2003-10-08 12:01:58 +03:00
rpl_do_grant.result After merge fixes 2003-08-19 00:08:08 +03:00
rpl_empty_master_crash.result Final push for WL#1098: 2003-10-09 00:06:21 +02:00
rpl_error_ignored_table.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_failsafe.result
rpl_flush_log_loop.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_flush_tables.result
rpl_get_lock.result
rpl_ignore_grant.result After merge fixes 2003-08-19 00:08:08 +03:00
rpl_insert_id.result
rpl_loaddata.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_loaddata_rule_m.result Fixes after merge 2003-10-08 12:01:58 +03:00
rpl_loaddata_rule_s.result After merge fixes. 2003-09-11 19:06:23 +03:00
rpl_loaddatalocal.result
rpl_log.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_log_pos.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_master_pos_wait.result
rpl_max_relay_size.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_misc_functions.result
rpl_mystery22.result
rpl_openssl.result Fix for rpl_openssl test (there was extra spaces in result file) 2003-10-10 17:06:18 +04:00
rpl_redirect.result Final push for WL#1098: 2003-10-09 00:06:21 +02:00
rpl_relayrotate.result Fix for a rpl_relayrotate failure. 2003-10-03 20:07:08 +02:00
rpl_relayspace.result
rpl_replicate_do.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_reset_slave.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_rotate_logs.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_skip_error.result
rpl_sporadic_master.result
rpl_temporary.result Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error 2003-11-03 14:01:59 +02:00
rpl_trunc_binlog.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_until.result Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. 2003-10-09 18:16:15 +02:00
rpl_user_variables.result fix for BUG#1331: "Unexistent user variable is not replicated". 2003-10-02 10:31:37 +02:00
select.result Merge with 4.0.16 2003-10-07 15:42:26 +03:00
select_found.result Add warnings for single line inserts. To do this I had to convert count_cuted_fields to an enum (to be able to detect setting a NOT NULL field to NULL) 2003-10-11 23:26:39 +03:00
select_safe.result Fixes after merge 2003-10-08 12:01:58 +03:00
show_check.result Bug fix: 2003-09-16 12:36:36 +05:00
slave-running.result
slave-stopped.result
sql_mode.result WL#1106: Switch = --maxdb rather than --sapdb 2003-10-15 14:50:36 +05:00
status.result
subselect.result Merge 2003-10-24 19:42:39 +03:00
subselect2.result renamed join_types (as was suggested by Peter Gulutzan) 2003-09-14 09:40:57 +03:00
symlink.result merge with 4.0.15 2003-08-29 13:44:35 +03:00
tablelock.result
temp_table.result
timezone.result
truncate.result
type_blob.result After merge fixes 2003-08-19 00:08:08 +03:00
type_date.result
type_datetime.result
type_decimal.result After merge fixes 2003-08-19 00:08:08 +03:00
type_enum.result
type_float.result Test for bug #1022 2003-10-20 19:13:45 +05:00
type_nchar.result type_nchar.result: 2003-09-15 12:48:34 +05:00
type_ranges.result After merge fixes 2003-08-19 00:08:08 +03:00
type_set.result A fix for a bug with long definition of SET or ENUM. 2003-08-19 16:35:17 +03:00
type_time.result After merge fixes 2003-08-19 00:08:08 +03:00
type_timestamp.result
type_uint.result After merge fixes 2003-08-19 00:08:08 +03:00
type_year.result
union.result Merge 2003-10-06 20:55:06 +03:00
update.result
user_var.result Merge with 4.0.16 2003-10-07 15:42:26 +03:00
varbinary.result
variables.result support 'parallel' updates and rallback of whole statement in case of error in evalueting value which should be assigned 2003-10-24 17:28:32 +03:00
warnings.result Add warnings for single line inserts. To do this I had to convert count_cuted_fields to an enum (to be able to detect setting a NOT NULL field to NULL) 2003-10-11 23:26:39 +03:00