Fixed that negative arguments to certain integer options wrap around.
mysql-test/r/variables.result:
Added a test case for bug#6958.
mysql-test/t/variables.test:
Added a test case for bug#6958.
sql/set_var.cc:
sys_var_long_ptr::check function was added.
sql/set_var.h:
Use sys_var_long_ptr::check function for sys_var_long_ptr class.
Added a test case for bug #7098.
sql_select.cc:
Fixed bug #7098.
When a string field was substituted for an equal constant
the collation of the constant was changed by mistake for
the binary collation.
sql/sql_select.cc:
Fixed bug #7098.
When a string field was substituted for an equal constant
the collation of the constant was changed by mistake for
the binary collation.
mysql-test/t/select.test:
Added a test case for bug #7098.
mysql-test/r/select.result:
Added a test case for bug #7098.
Make SQL more readable, substitute hostname at runtime
mysql-test-run.pl:
Run init scripts with /bin/sh, ignore return code
mysql-test/mysql-test-run.pl:
Run init scripts with /bin/sh, ignore return code
mysql-test/lib/init_db.sql:
Make SQL more readable, substitute hostname at runtime
ONLY_FULL_GROUP_BY mode is overly restrictive.
mysql-test/r/ansi.result:
A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode.
mysql-test/t/ansi.test:
A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode.
sql/set_var.cc:
A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode.
'ps_1general' and 'fulltext_cache' test cases.
mysql-test/r/fulltext_cache.result:
To pass on Windows, round to less digits
mysql-test/t/fulltext_cache.test:
To pass on Windows, round to less digits
mysql-test/t/ps_1general.test:
To pass on Windows, change \\ to / in result
mysql-test/t/rpl_delete_all.test:
To pass on Windows, change \\ to / in result
mysql-test/mysql-test-run.pl:
Pass mysqld --console to catch output on Windows
mysql-test/lib/mtr_process.pl:
Check error from exec() to avoid becoming a fork() bomb
Fix ambigious table error for INSERT..SELECT..UPDATE
mysql-test/r/insert_update.result:
Bug#8147
Alter test for bug
mysql-test/t/insert_update.test:
Bug#8147
Alter test for bug
sql/sql_parse.cc:
Bug#8147
Change order of code -
skip insert table before calling mysql_prepare_insert()
mysql-test/r/ndb_index_ordered.result:
fix old decimal type mysql vs ndb (re-commit 3)
mysql-test/t/ndb_index_ordered.test:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/include/kernel/signaldata/DictTabInfo.hpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/include/ndbapi/NdbDictionary.hpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/include/util/NdbSqlUtil.hpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/src/common/util/NdbSqlUtil.cpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/src/ndbapi/NdbDictionary.cpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/src/ndbapi/NdbRecAttr.cpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/test/include/NdbSchemaOp.hpp:
fix old decimal type mysql vs ndb (re-commit 3)
ndb/tools/restore/consumer.cpp:
fix old decimal type mysql vs ndb (re-commit 3)
sql/ha_ndbcluster.cc:
fix old decimal type mysql vs ndb (re-commit 3)
Test case for bug#8522, to test for out of bounds memory access in ft_nlq_find_relevance().
mysql-test/r/fulltext.result:
Test case for bug#8522, to test for out of bounds memory access in ft_nlq_find_relevance().
mysql-test/t/fulltext.test:
Test case for bug#8522, to test for out of bounds memory access in ft_nlq_find_relevance().
Added a test case for bug #8392.
sql_delete.cc:
Fixed bug #8392.
The bug caused a crash for a delete statement with ORDER BY
that explicitly referred to the modified table.
sql/sql_delete.cc:
Fixed bug #8392.
The bug caused a crash for a delete statement with ORDER BY
that explicitly referred to the modified table.
mysql-test/t/delete.test:
Added a test case for bug #8392.
mysql-test/r/delete.result:
Added a test case for bug #8392.
are loaded and lower_case_table_names is set, but issue a warning when it is
done. (Bug #7989)
sql/sql_acl.cc:
Lowercase database names in 'host' and 'db' grant tables when loading,
but issue a warning to the log about them.
This fixes also the reverse lookup bug introduced by the previous patch
mysql-test/t/group_by.test:
Remove empty line
vio/viosocket.c:
Added function comment
running with --skip-name-resolve. (Bug #8471)
sql/sql_acl.cc:
Add '/' to list of characters that doesn't trigger a need for resolving the
hostname, so that the IP mask syntax works with skip-name-resolve.
and fixing it another way (per Monty; a simpler solution which does not increase the number
of binlog events is to always execute DROP TEMPORARY TABLE IF EXISTS on slave). A new test rpl_drop_temp.
2) fixing BUG#8436 "Multiple "stacked" SQL statements cause replication to stop" by setting
thd->query_length to the length of the query being executed, not counting the next queries
if this is a multi-query. Should also improve display of SHOW PROCESSLIST. A new test rpl_multi_query.
mysql-test/r/drop_temp_table.result:
back to one single DROP
sql/sql_base.cc:
undoing the fix I had made some days ago: we are back to one single DROP TEMPORARY TABLE for all temp tables.
sql/sql_parse.cc:
1) set thd->query_length to the length of the query being executed, excluding the other next queries
if this is a multi-query. The setting happens ASAP, ie. just after we know it's a multi-query, ie. just after yyparse().
Don't include the ';' in thd->query_length, because this is not good for storage in binlog.
2) always execute a DROP TEMPORARY TABLE IF EXISTS on slave, don't skip it even if --replicate-ignore-table
into mysql.com:/home/psergey/mysql-4.1-bug8218
mysql-test/r/subselect.result:
Auto merged
mysql-test/t/subselect.test:
Auto merged
sql/sql_select.cc:
Auto merged
epilogue to an SQL statement should not have an error code even
when the SQL statement itself has an error code.
mysql-test/r/rpl_insert_id.result:
Adding test to ensure that slave handles error statement gracefully.
mysql-test/t/rpl_insert_id.test:
Adding test to ensure that slave handles error statement gracefully.
sql/log.cc:
Setting error code to 0 for SQL statement prologue and epilogue.
Fix for crash when using a double quote in boolean fulltext query.
mysql-test/r/fulltext.result:
Added a test case for bug #8351.
mysql-test/t/fulltext.test:
Added a test case for bug #8351.
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
mysql-test/r/derived.result:
test of union subquery in the FROM clause with complex distinct/all
mysql-test/t/derived.test:
test of union subquery in the FROM clause with complex distinct/all
sql/sql_derived.cc:
removed wrong distinct UNION detection
Alter handling for UNION syntax
Tests for UNION and parentheses
mysql-test/r/union.result:
Bug#2435
Tests for UNION and parentheses
mysql-test/t/union.test:
Bug#2435
Tests for UNION and parentheses
sql/sql_yacc.yy:
Bug#2435
Amend handling of UNION with parentheses.
Remove TMP_TABLE_PARAM::copy_funcs_it. TMP_TABLE_PARAM is a member of JOIN which is
copied via memcpy, and List_iterator_fast TMP_TABLE_PARAM::copy_funcs_it ends up
pointing to the wrong List.
mysql-test/r/subselect.result:
Testcase for BUG#8218
mysql-test/t/subselect.test:
Testcase for BUG#8218
sql/sql_select.cc:
Fix for BUG#8218: Create/use own iterator since TMP_TABLE_PARAM::copy_funcs_it is removed.
mysql-test/r/ctype_ucs.result:
Test case
mysql-test/t/ctype_ucs.test:
Test case
sql/field.cc:
Fixed minus check to be UCS2-compatible
strings/ctype-ucs2.c:
Missing my_scan_ucs2() was added.
Adjustment of the result file after the revision of the fix for bug #7520.
mysql-test/r/distinct.result:
Adjustment of the result file after the revision of the fix for bug #7520.
After revision of the fix for bug #7520.
table.cc:
Revised the fix for bug #7520.
Made it compliant with 5.0 code where the bug does not exist.
sql/table.cc:
Revised the fix for bug #7520.
Made it compliant with 5.0 code where the bug does not exist.
mysql-test/r/select.result:
After revision of the fix for bug #7520.
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
BitKeeper/etc/logging_ok:
auto-union
extra/replace.c:
Auto merged
mysql-test/r/select.result:
Auto merged
mysql-test/t/select.test:
Auto merged
sql/table.cc:
Auto merged
Added a test case for bug #7520.
table.cc:
Fixed bug #7520.
The bug was caused by a wrong calculation of the field max_key_length for
a TABLE structure when there was an index on a blob field.
sql/table.cc:
Fixed bug #7520.
The bug was caused by a wrong calculation of the field max_key_length for
a TABLE structure when there was an index on a blob field.
mysql-test/t/select.test:
Added a test case for bug #7520.
mysql-test/r/select.result:
Added a test case for bug #7520.
case-insensitive. (Bug #7989)
mysql-test/r/system_mysql_db.result:
Update results
scripts/mysql_create_system_tables.sh:
Need to create enum and set columns with case-insensitive collation
scripts/mysql_fix_privilege_tables.sql:
Modify all enum and set columns to be case-insensitive (and re-order some of
the fix-ups to make it all happen smoothly).
appears to have been accidently disabled) and enable ctype_ucs after moving
a subtest that requires binlog to its own test file.
mysql-test/mysql-test-run.sh:
Remove hardcoded skip of ctype_latin1_de and ctype_ucs for embedded server
mysql-test/t/ctype_ucs.test:
Move binlog test to a new test file
mysql-test/r/ctype_ucs.result:
Update result after test moved
to grant.test and using replace_column to neuter the Privileges column in
SHOW FULL COLUMNS.
BitKeeper/deleted/.del-alter_table.result.es~a1077916d429e443:
Delete: mysql-test/r/alter_table.result.es
mysql-test/t/alter_table.test:
Add replace_column for grant-related column
Move grant-related test to grant.test
mysql-test/r/alter_table.result:
Update results
mysql-test/t/grant.test:
Move grant-related test from alter_table.test
mysql-test/r/grant.result:
Add test results
mysql-test/mysql-test-run.sh:
Don't skip alter_table test for embedded server
within is dropped and lower_case_table_names is set. (Bug #8355)
mysql-test/t/lowercase_table2.test:
Add new regression test
mysql-test/r/lowercase_table2.result:
Add results for regression test
sql/mysql_priv.h:
Change remove_db_from_cache() to use char* instead of my_string
sql/sql_base.cc:
Lowercase database name in remove_db_from_cache so
that all of the correct entries are removed.
mysql-test/r/heap_hash.result:
Testcase for BUG#8371: wrong rec_per_key value for hash index on temporary table
mysql-test/t/heap_hash.test:
Testcase for BUG#8371: wrong rec_per_key value for hash index on temporary table
sql/ha_heap.cc:
Fix for BUG#8371: wrong rec_per_key value for hash index on temporary table:
Don't assume that table->rec_per_key==NULL if table->tmp_table != NO_TMP_TABLE,
this is not true for tables created with "CREATE TEMPORARY TABLE" (while it holds
for temporary tables created during query execution)
sql/sql_select.cc:
Initialize rec_per_key for all keys in temporary table.
Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
This will ensure that any reference to these has a valid value.
Generalized the code for split_sum_func()
BitKeeper/etc/ignore:
added support-files/ndb-config-2-node.ini
mysql-test/r/group_by.result:
More complicated test to assure that rand() is only calulated once
mysql-test/r/user_var.result:
Back to old results :( (ok but not perfect)
mysql-test/t/group_by.test:
More complicated test to assure that rand() is only calulated once
sql/item.cc:
Better bugfix for "HAVING when refering to RAND()"
This will ensure that when refering to things like RAND() in HAVING through an alias we will not recalculate that rand() value in the HAVING part but use the value in the row
Generalize split_sum_func()
sql/item.h:
Better bugfix for "HAVING when refering to RAND()"
T
sql/item_cmpfunc.cc:
Better bugfix for "HAVING when refering to RAND()"
Use generalized split_sum_func2() function
sql/item_func.cc:
Better bugfix for "HAVING when refering to RAND()"
Use generalized split_sum_func2() function
sql/item_row.cc:
Better bugfix for "HAVING when refering to RAND()"
Use generalized split_sum_func2() function
sql/item_strfunc.cc:
Better bugfix for "HAVING when refering to RAND()"
Use generalized split_sum_func2() function
sql/sql_list.h:
Add functions to concatenate lists
sql/sql_select.cc:
Better bugfix for "HAVING when refering to RAND()"
Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
This will ensure that any reference to these has a valid value.
Corrected user name passing
Honor the --master-binary and --slave-binary options
Insert the host name into 'user' table
Added --udiff option, to get unified diff output
Call special mtr_run_test() for running "mysqltest"
mtr_report.pl:
Added --udiff option, to get unified diff output
init_db.sql:
Insert the host name into 'user' table
mysql-test/lib/init_db.sql:
Insert the host name into 'user' table
mysql-test/lib/mtr_report.pl:
Added --udiff option, to get unified diff output
mysql-test/mysql-test-run.pl:
Corrected user name passing
Honor the --master-binary and --slave-binary options
Insert the host name into 'user' table
Added --udiff option, to get unified diff output
Call special mtr_run_test() for running "mysqltest"
(BUG 8216)
mysql-test/r/group_by.result:
New test case
mysql-test/r/user_var.result:
Test changed (to be more correct) with bug fix
mysql-test/t/group_by.test:
Added test for HAVING bug
sql/item_cmpfunc.cc:
Fixed bug in HAVING when refering to RAND()
sql/item_func.cc:
Fixed bug in HAVING when refering to RAND()
sql/item_row.cc:
Fixed bug in HAVING when refering to RAND()
sql/item_strfunc.cc:
Fixed bug in HAVING when refering to RAND()
sql/unireg.h:
Added PSEUDO_TABLES_BITS for easy testing of real table reference
mysql-test/r/subselect.result:
test depends on innodb moved from 'subselect' to 'subselect_innodb'
mysql-test/r/subselect_innodb.result:
test depends on innodb moved from 'subselect' to 'subselect_innodb'
mysql-test/t/subselect.test:
test depends on innodb moved from 'subselect' to 'subselect_innodb'
mysql-test/t/subselect_innodb.test:
test depends on innodb moved from 'subselect' to 'subselect_innodb'
Call file->extra() with HA_STATUS_CONST in mysqld_show_keys.
The fix will not be merged into 4.1/5.0 because they don't have this problem already.
mysql-test/r/show_check.result:
Testcase for BUG#7519
mysql-test/t/show_check.test:
Testcase for BUG#7519
sql/sql_show.cc:
Fix for BUG#7519: Index statistics is not displayed after ANALYZE for temporary tables:
When handling "SHOW INDEX" the call file->extra(HA_STATUS_CONST | ...) is made for regular tables
but bypassed for temporary tables.
Call file->extra() with HA_STATUS_CONST in mysqld_show_keys to make sure we're always using the
current index cardinality values.
when we close the session's temp tables at session end, we automatically write to binlog *one* DROP TEMPORARY TABLE *per tmp table*.
mysql-test/r/drop_temp_table.result:
result update (note: one DROP TEMPORARY TABLE per tmp table)
mysql-test/t/drop_temp_table.test:
checking that we have one DROP TEMPORARY TABLE per tmp table now, not one multi-table DROP.
Hiding columns Log_pos/End_log_pos per Monty's request.
sql/sql_base.cc:
When we close the session's temp tables at session end, we automatically write to binlog one DROP TEMPORARY TABLE per tmp table,
not one single multi-table DROP TEMPORARY TABLE (because it causes problems if slave has --replicate*table rules).
corrected documentation on fragmentation
set "fragmentation medium" to mean 2 fragments per node instead of 1
set default fragmentation to small instead of medium
bug#8284 adjust fragmentation to max_rows
mysql-test/r/ndb_basic.result:
added test to trigger drifferent fragmentations in ndb
mysql-test/t/ndb_basic.test:
added test to trigger drifferent fragmentations in ndb
ndb/include/ndbapi/NdbDictionary.hpp:
corrected documentation on fragmentation
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
set "fragmentation medium" to mean 2 fragments per node instead of 1
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
set default fragmentation to small instead of medium
sql/ha_ndbcluster.cc:
bug#8284 adjust fragmentation to max_rows
bug#7833: Wrong datatype of aggregate column is returned
mysql-test/r/func_group.result:
Test case for bug 7833: Wrong datatype of aggregate column is returned
mysql-test/r/union.result:
Test case for bug 6931: Date Type column problem when using UNION-Table.
mysql-test/t/func_group.test:
Test case for bug 7833: Wrong datatype of aggregate column is returned
mysql-test/t/union.test:
Test case for bug 6931: Date Type column problem when using UNION-Table.
by item->val_str() may be a substring of the passed string.
Disallow string=its_substring assignment in String::operator=().
mysql-test/r/func_misc.result:
Testcase for BUG#7716
mysql-test/t/func_misc.test:
Testcase for BUG#7716
sql/item_cmpfunc.cc:
Fix for BUG#7716: in in_string::set() take into account that the string returned
by item->val_str(S) may be not S but use the buffer owned by S.
sql/sql_string.h:
* Added assert: String& String::operator=(const String&) may not be used to do
assignments like str = string_that_uses_buffer_owned_by_str
* Added String::uses_buffer_owned_by().
by a multi-byte character with a second byte of 0x5c (\). (Bug #8903)
sql/sql_lex.cc:
Fix lex error when multi-byte character containing 0x5c (\) follows a
backslash
mysql-test/t/ctype_sjis.test:
Add regression test for Bug #8303
mysql-test/r/ctype_sjis.result:
Add test results
Fix crash with LAST_INSERT_ID() in UPDATE,
Tests included,
mysql-test/r/update.result:
Bug#8057
Test for bug
mysql-test/t/update.test:
Bug#8057
Test for bug
sql/item_func.cc:
Bug#8057
Don't create new Item in val_int()
Let --start-and-exit actually start a server
Added that test case names can be specified on the comman line
Added embedded server support
Added environment variables UMASK, UMASK_DIR
Added missing MASTER_MYSOCK1, MASTER_MYPORT1, USE_RUNNING_SERVER
Added missing CHARSETSDIR, MYSQL_FIX_SYSTEM_TABLES, MYSQL_CLIENT_TEST
Pass on return value from sleep_until_file_created(), to fail test
Fail test if early termination of mysqld servers
Create intial databases for the second master, and two additional slaves
mtr_process.pl:
Find out if port is still in use, using simple TCP connect
Use non blocking waitpid() to catch terminations early
Make a special case spawning the 'mysqltest' application
Redo the fork() if it returns EAGAIN
Make sure to record if master or slave terminated
Improved debugging output
Improved code that remove PID files to avoid race
Abort if we can't stop all mysqld servers using our ports
Many improvements in killing mysqld servers
Let sleep_until_file_created() catch if server died early
mtr_report.pl:
Added option to disable test cases using <testcase>.disabled file
If --timer, only try to open file with time data if it exists
mtr_io.pl:
Remove starting/ending space reading server options from file
mysql-test/lib/mtr_io.pl:
Remove starting/ending space reading server options from file
mysql-test/lib/mtr_report.pl:
Added option to disable test cases using <testcase>.disabled file
If --timer, only try to open file with time data if it exists
mysql-test/lib/mtr_process.pl:
Find out if port is still in use, using simple TCP connect
Use non blocking waitpid() to catch terminations early
Make a special case spawning the 'mysqltest' application
Redo the fork() if it returns EAGAIN
Make sure to record if master or slave terminated
Improved debugging output
Improved code that remove PID files to avoid race
Abort if we can't stop all mysqld servers using our ports
Many improvements in killing mysqld servers
Let sleep_until_file_created() catch if server died early
mysql-test/mysql-test-run.pl:
Let --start-and-exit actually start a server
Added that test case names can be specified on the comman line
Added embedded server support
Added environment variables UMASK, UMASK_DIR
Added missing MASTER_MYSOCK1, MASTER_MYPORT1, USE_RUNNING_SERVER
Added missing CHARSETSDIR, MYSQL_FIX_SYSTEM_TABLES, MYSQL_CLIENT_TEST
Pass on return value from sleep_until_file_created(), to fail test
Fail test if early termination of mysqld servers
Create intial databases for the second master, and two additional slaves
renamed client_test to mysql_client_test
fixed name for lstat in removef()
added mysql-debug.exe for Windows
added enviroment variable MYSQL_CLIENT_TEST
added cleaning directory before tests
New BitKeeper file ``VC++Files/tests/mysql_client_test.dsp''
Delete: VC++Files/tests/client_test.dsp
BitKeeper/deleted/.del-client_test.dsp~659d0237a4c12ea1:
Delete: VC++Files/tests/client_test.dsp
VC++Files/mysql.dsw:
renamed client_test to mysql_client_test
mysql-test/my_manage.c:
fixed name for lstat in removef()
mysql-test/mysql_test_run_new.c:
added mysql-debug.exe for Windows
added enviroment variable MYSQL_CLIENT_TEST
added cleaning directory before tests
Added a test case for bug #7751.
item_strfunc.cc:
Fixed bug #7751.
The function Item_func_conv::val_str did not update
the unsigned_flag value.
sql/item_strfunc.cc:
Fixed bug #7751.
The function Item_func_conv::val_str did not update
the unsigned_flag value.
mysql-test/t/func_str.test:
Added a test case for bug #7751.
mysql-test/r/func_str.result:
Added a test case for bug #7751.
Allow LIMIT clause after DUAL.
mysql-test/r/limit.result:
Added test result for BUG#8023.
mysql-test/t/limit.test:
Added test for BUG#8023.
sql/sql_yacc.yy:
Allow the specification of a LIMIT clause after DUAL. This is needed for queries as:
select a from t1 union all select 1 from dual limit 1;
In this query LIMIT is applied to the whole UNION, so it makes sense, however, the
current parser did not allow any clause after DUAL.
incorrect results when the input was a constant across a multi-row SELECT
statement. (Bug #8248)
sql/item_strfunc.h:
Add tmp_value member
sql/item_strfunc.cc:
Always allocate a new string for QUOTE(), in case the field is being reused
for multiple rows.
mysql-test/t/func_str.test:
Add regression test
mysql-test/r/func_str.result:
Add test results
mysql-test/t/type_date.test:
Add new regression test
mysql-test/r/type_date.result:
Add result
sql/field.cc:
Set YEAR to 0 when set to a non-numeric string, not 2000,
and issue a warning.
mysql-test/mysql-test-run.sh:
Put all output from ndb_tool into log file
mysql-test/t/ndb_autodiscover.test:
Put all output from ndb_tool into log file
mysql-test/t/ndb_restore.test:
Put all output from ndb_tool into log file
(Bug #7788 "Table is full" occurs during a multitable update")
client/mysqldump.c:
Style fixes
innobase/include/univ.i:
UNIV_DEBUG should not depend on configure --debug but on --debug=full
mysql-test/r/compare.result:
Added test to find bug in previous bugfix
mysql-test/t/compare.test:
Added test to find bug in previous bugfix
mysys/my_handler.c:
Proper fix for comparision with ' '
strings/ctype-big5.c:
Proper fix for comparision with ' '
strings/ctype-bin.c:
Proper fix for comparision with ' '
strings/ctype-gbk.c:
Proper fix for comparision with ' '
strings/ctype-latin1.c:
Proper fix for comparision with ' '
strings/ctype-mb.c:
Proper fix for comparision with ' '
strings/ctype-simple.c:
Proper fix for comparision with ' '
strings/ctype-sjis.c:
Proper fix for comparision with ' '
strings/ctype-tis620.c:
Proper fix for comparision with ' '
strings/ctype-ucs2.c:
Proper fix for comparision with ' '
strings/ctype-utf8.c:
Proper fix for comparision with ' '
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
sql/item.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_select.cc:
Auto merged
added client_test.dsp in project
added CHARACTER SET in tables
added 5th time zone
included lstat in if()
expanded ignore list for windows
added directory slave1 and slave2
added options for mysqld and mysqltest
fixed error in read_option()
fixed and added enviroment variables for Linux and Windows
rewrote str_tok()
added replacment 3th column
New BitKeeper file ``VC++Files/tests/client_test.dsp''
VC++Files/mysql.dsw:
added client_test.dsp in project
mysql-test/my_create_tables.c:
added CHARACTER SET in tables
added 5th time zone
mysql-test/my_manage.c:
included lstat in if()
mysql-test/mysql_test_run_new.c:
expanded ignore list for windows
added directory slave1 and slave2
added options for mysqld and mysqltest
fixed error in read_option()
fixed and added enviroment variables for Linux and Windows
rewrote str_tok()
mysql-test/t/ps_1general.test:
added replacment 3th column
Fix replication for multi-update
new test - rpl_multi_update2
sql/mysql_priv.h:
Bug#7011
New function mysql_multi_update_lock()
sql/sql_parse.cc:
Bug#7011
New function check_multi_update_lock()
For multi-update on slave, perform an early open&lock
sql/sql_update.cc:
Bug#7011
Split out multi-update locking into its own function,
mysql_multi_update_lock()
of strings of unequal length. (Bug #8134)
mysql-test/t/compare.test:
Add new regression test
strings/ctype-simple.c:
Fix value used for swapping negative/positive values using XOR
mysql-test/r/compare.result:
Add new test result
into mysql.com:/home/dlenev/src/mysql-4.1-tzbug
sql/item_timefunc.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/tztime.cc:
Auto merged
mysql-test/r/ndb_index_ordered.result:
make YEAR and TIMESTAMP into ndb types
mysql-test/t/ndb_index_ordered.test:
make YEAR and TIMESTAMP into ndb types
ndb/include/kernel/signaldata/DictTabInfo.hpp:
make YEAR and TIMESTAMP into ndb types
ndb/include/ndbapi/NdbDictionary.hpp:
make YEAR and TIMESTAMP into ndb types
ndb/include/util/NdbSqlUtil.hpp:
make YEAR and TIMESTAMP into ndb types
ndb/src/common/util/NdbSqlUtil.cpp:
make YEAR and TIMESTAMP into ndb types
ndb/src/ndbapi/NdbDictionary.cpp:
make YEAR and TIMESTAMP into ndb types
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
make YEAR and TIMESTAMP into ndb types
ndb/src/ndbapi/NdbRecAttr.cpp:
make YEAR and TIMESTAMP into ndb types
ndb/test/include/NdbSchemaOp.hpp:
make YEAR and TIMESTAMP into ndb types
sql/ha_ndbcluster.cc:
make YEAR and TIMESTAMP into ndb types
does not work well together". Now using simplier and more correct
implementation of st_lex::unlink_first_table()/link_first_table_back()
(It also nicely handles case when global table list is created because
of implictly used time zone tables). (2nd attempt)
Fix for bug #7705 "CONVERT_TZ() crashes with subquery/WHERE on index
column". Implemented new approach for caching objects for constant
time zone arguments. Now instead of determining whenever these arguments
are constants and performing time zone lookup at fix_fields() stage, we
do it on first get_date() invocation.
Cleanup of global @@time_zone variable handling.
mysql-test/r/timezone2.result:
Added test for bugs #7705 "CONVERT_TZ() crashes with subquery/WHERE on
index column" and #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ()
function does not work well together".
mysql-test/t/timezone2.test:
Added test for bugs #7705 "CONVERT_TZ() crashes with subquery/WHERE on
index column" and #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ()
function does not work well together".
sql/item_timefunc.cc:
Item_func_convert_tz():
New approach for caching objects for constant time zone arguments.
Now instead of determining whenever these arguments are constants
and performing time zone lookup at fix_fields() stage, we do it
on first get_date() invocation. This works better in cases when
const_item() for these arguments returns true only on get_date()
stage but not on fix_fields() stage (e.g. this happens in quries
with joins or derived tables).
sql/item_timefunc.h:
Item_func_convert_tz():
Added from_tz_cached/to_tz_cached members indicating whenever we
already have Time_zone object representing one of constant time zone
arguments.
sql/set_var.cc:
Cleaned up global @@time_zone variable handling. Now we use proper
locking when we are setting or reading its value.
sql/set_var.h:
Removed declaration of sys_var_thd_time_zone::get_tz_ptr() method, which
no longer used.
sql/sql_lex.cc:
st_lex::unlink_first_table(), st_lex::link_first_table_back():
Simplify implementation according to Monty's suggestion.
Instead doing something special if global and local table lists
are the same, we simply save/restore pointers to first elements
of both global and local lists (which works even when this lists
are the same!). This handles nicely the case when we have separate
global table list becuase time zone tables are implicitly used.
sql/tztime.cc:
Backport of Monty's fixes from 5.0, which give us nicer error messages
if we haven't found time zone with such name or its description.
Moved initialization code into a new init function.
Added a new cleanup function.
Added a call to close the meta file.
mysql-test/t/archive.test:
Test Bug: Memory leaks in the archive handler.
Fixed a typo.
sql/examples/ha_archive.h:
Test Bug: Memory leaks in the archive handler.
Added declarations for the new init/cleanup functions.
sql/handler.cc:
Test Bug: Memory leaks in the archive handler.
Added calls of the new init/cleanup functions.
mysql-test/r/subselect.result:
cleaning up of results of subselects test
mysql-test/t/subselect.test:
cleaning up of results of subselects test
sql/item_subselect.cc:
call result object cleupup on engine cleunup
sql/sql_class.cc:
added cleanup of select_max_min_finder_subselect
sql/sql_class.h:
added cleanup of select_max_min_finder_subselect
Added test case for bug #7672 that existed only in 4.0.
mysql-test/t/order_by.test:
Added test case for bug #7672 that existed only in 4.0.
mysql-test/r/order_by.result:
Added test case for bug #7672 that existed only in 4.0.
Added a test case for bug #7672.
sql_yacc.yy:
Fixed bug #7672.
Made queries of the form (SELECT ...) ORDER BY ... to
be equivalent to SELECT ... ORDER BY ...
sql/sql_yacc.yy:
Fixed bug #7672.
Made queries of the form (SELECT ...) ORDER BY ... to
be equivalent to SELECT ... ORDER BY ...
mysql-test/t/order_by.test:
Added a test case for bug #7672.
mysql-test/r/order_by.result:
Added a test case for bug #7672.
changed ndb_restore test somewhat to fisrt make the tables in myisam
mysql-test/mysql-test-run.sh:
backported ndb_mgm options from 5.0
mysql-test/ndb/ndbcluster.sh:
backported ndb_mgm options from 5.0
mysql-test/r/ndb_restore.result:
changed ndb_restore test somewhat to fisrt make the tables in myisam
mysql-test/t/ndb_restore.test:
changed ndb_restore test somewhat to fisrt make the tables in myisam
Let MYSQL_CLIENT_TEST be set with command line from mysql-test-run script
mysql-test-run.sh:
Renamed client_test to mysql_client_test
Support --embedded-server test on installed server
mysql_client_test.test:
Renamed client_test to mysql_client_test
Use env var CLIENT_TEST with full name, it differs when run with --embedded-server
Rename: mysql-test/t/client_test.test -> mysql-test/t/mysql_client_test.test
mysql-test/mysql-test-run.sh:
Let MYSQL_CLIENT_TEST be set with command line from mysql-test-run script
mysql-test/t/mysql_client_test.test:
Let MYSQL_CLIENT_TEST be set with command line from mysql-test-run script
mysql-test/r/subselect.result:
Forward reference detection
mysql-test/t/subselect.test:
Forward reference detection
sql/item.cc:
now forward reference is detected via ref_pointer_array, because some literal constants are 'fixed' just after creation
sql/sql_base.cc:
fill ref_pointer_array with zerows for forward reference detection.
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
mysys/mf_keycache.c:
Auto merged
sql/item.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/slave.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/table.cc:
Auto merged
mysql-test/r/subselect.result:
Comparison subquery and row with nested rows
mysql-test/t/subselect.test:
Comparison subquery and row with nested rows
sql/item_subselect.cc:
check that row elements have the same dimention that SELECT list elements
fixed cols() method call (it have to be called only after fix_fields())
mysql-test/r/subselect.result:
Comparison subquery with * and row
mysql-test/t/subselect.test:
Comparison subquery with * and row
sql/item_cmpfunc.h:
initialization allowed_arg_cols for autodetection
sql/item_func.cc:
support of allowed_arg_cols autodetection by first argument
sql/item_func.h:
commant
sql/item_subselect.cc:
correct column number fetching for subqueries
sql/sql_lex.h:
method to check that UNION is prepared
added ndb_restore test
ndb_restore.result, ndb_restore.test:
new file
mysql-test/mysql-test-run.sh:
added ndb_restore test
mysql-test/r/ndb_restore.result:
added ndb_restore test
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
mysql-test/r/select_found.result:
Auto merged
mysql-test/t/select_found.test:
Auto merged
sql/sql_select.cc:
Auto merged
Added a test case for bug #7945.
sql_select.cc:
Fixed bug #7945. If DISTINCT is used only with constants
in a query with GROUP BY, we can apply an optimization
that set LIMIT to 1 only in the case when there is
no SQL_CALC_FOUND_ROWS.
sql/sql_select.cc:
Fixed bug #7945. If DISTINCT is used only with constants
in a query with GROUP BY, we can apply an optimization
that set LIMIT to 1 only in the case when there is
no SQL_CALC_FOUND_ROWS.
mysql-test/t/select_found.test:
Added a test case for bug #7945.
mysql-test/r/select_found.result:
Added a test case for bug #7945.
mysql-test/r/derived.result:
DISTINCT over grouped select on subquery in the FROM clause
mysql-test/t/derived.test:
DISTINCT over grouped select on subquery in the FROM clause
sql/sql_select.cc:
used current join copy for test
Bug#7834 Illegal mix of collations in IN operator
IN was the first function supporting
character set convertion.
agg_arg_charsets() was written afterwards,
which is more flexible.
Now IN just reuses this function.
sql/item_cmpfunc.cc:
Bug#7834 Illegal mix of collations in IN operator
IN was the first function supporting
character set convertion.
agg_arg_charsets() was written afterwards,
which is more flexible.
Now IN just reuses this function.
Version for 4.1. Committed for merge.
If the result table is one of the select tables in INSERT SELECT,
we must not disable the result tables indexes before selecting.
mysql_execute_command() detects the match for other reasons and
adds the flag OPTION_BUFFER_RESULT to the 'select_options'.
In this case the result is put into a temporary table first.
Hence, we can defer the preparation of the insert
table until the result is to be used.
mysql-test/r/insert_select.result:
BUG#6034 - Error code 124: Wrong medium type.
The test results.
mysql-test/t/insert_select.test:
BUG#6034 - Error code 124: Wrong medium type.
The test case.
sql/sql_select.cc:
BUG#6034 - Error code 124: Wrong medium type.
With OPTION_BUFFER_RESULT in the 'select_options',
defer the preparation of the insert table until the
result is to be used.
Version for 4.0. Committed for merge.
If the result table is one of the select tables in INSERT SELECT,
we must not disable the result tables indexes before selecting.
mysql_execute_command() detects the match for other reasons and
adds the flag OPTION_BUFFER_RESULT to the 'select_options'.
In this case the result is put into a temporary table first.
Hence, we can defer the preparation of the insert
table until the result is to be used.
mysql-test/r/insert_select.result:
BUG#6034 - Error code 124: Wrong medium type.
The test results.
mysql-test/t/insert_select.test:
BUG#6034 - Error code 124: Wrong medium type.
The test case.
sql/sql_select.cc:
BUG#6034 - Error code 124: Wrong medium type.
With OPTION_BUFFER_RESULT in the 'select_options',
defer the preparation of the insert table until the
result is to be used. Unfortunately, this happens
at several places.
mysql-test/r/union.result:
result for a test case for the wrong examined rows with UNION's
mysql-test/t/union.test:
test case for the wrong examined rows with UNION's
sql/sql_union.cc:
a patch for the wrong examined rows with UNION's
prefix", which roots were fixed in 4.0 tree.
mysql-test/r/alter_table.result:
Added test for bug #7884 "Able to add invalid unique index on TIMESTAMP
prefix".
mysql-test/t/alter_table.test:
Added test for bug #7884 "Able to add invalid unique index on TIMESTAMP
prefix".
mysql-test/r/subselect.result:
Testcase for BUG#7885
mysql-test/t/subselect.test:
Testcase for BUG#7885
sql/item_subselect.cc:
Fix for BUG#7885: In Item_subselect::fix_fields, return error if engine->prepare fails.
Also removed redundant code line.
not default_charset_into. It fixes the
problem that in some cases numbers where
treated as CHAR(N), not as BINARY(N), e.g.
wrong 'charsetnr' when sent to the client side.
2. IFNULL didn't aggregate argument charsets
and collations, so IFNULL(1,'a') produced
a CHAR(N). Now produces a BINARY(N).
3. SELECT PROCEDURE ANALIZE now returns
BINARY columns, which is much better than it worked
previously: CHAR with the default character set.
But in the future it's worth to fix the fields
'Field_name' and 'Optimal_fieldtype' to use UTF8,
and 'Min_value' and 'Max_value' to inherit their charsets
from the original items. But it is not important,
and BINARY(N) is OK for now.
4. Tests were fixed accordingly. No new tests were
made, as the old onces cover everything.
mysql-test/r/analyse.result:
SELECT PROCEDURE ANALIZE now returns
BINARY columns, which is much better than it worked
previously: CHAR with the default character set.
But in the future it's worth to fix the fields
'Field_name' and 'Optimal_fieldtype' to use UTF8,
and 'Min_value' and 'Max_value' to inherit their charsets
from the original items. But it is not important,
and BINARY(N) is OK for now.
mysql-test/r/case.result:
Test fix according to the changes
mysql-test/r/metadata.result:
Test fix according to the changes
mysql-test/r/ps_1general.result:
Test fix according to the changes
mysql-test/r/ps_2myisam.result:
Test fix according to the changes
mysql-test/r/ps_3innodb.result:
Test fix according to the changes
mysql-test/r/ps_4heap.result:
Test fix according to the changes
mysql-test/r/ps_5merge.result:
Test fix according to the changes
mysql-test/r/ps_6bdb.result:
Test fix according to the changes
mysql-test/r/ps_7ndb.result:
Test fix according to the changes
mysql-test/r/union.result:
Test fix according to the changes
sql/item.cc:
Item is now BINARY by default
sql/item_cmpfunc.cc:
IFNULL now collects arguments collations/charsets
like other functions do.
-trunc* bug - don't increase yweaks in this case
myisam/ft_boolean_search.c:
-trunc* bug - don't increase yweaks in this case
mysql-test/r/fulltext.result:
-trunc* bug - don't increase yweaks in this case
mysql-test/t/fulltext.test:
-trunc* bug - don't increase yweaks in this case
set to a negative value. (Bug #7700)
sql/field_conv.cc:
Don't treat real fields as identical when destination is unsigned and
the source is not.
mysql-test/t/type_float.test:
Add test for setting double unsigned to a negative value from a signed double
mysql-test/r/type_float.result:
Add test results
Added a test case for bug #7769.
item_sum.h:
Fixed bug #7769: a crash for queries with group_concat and
having when the query table was empty.
The bug was due an unsafe dereferencing.
sql/item_sum.h:
Fixed bug #7769: a crash for queries with group_concat and
having when the query table was empty.
The bug was due an unsafe dereferencing.
mysql-test/t/func_gconcat.test:
Added a test case for bug #7769.
mysql-test/r/func_gconcat.result:
Added a test case for bug #7769.
key algorithm for keys where they were explicitly specified.
mysql-test/r/show_check.result:
Add results
mysql-test/t/show_check.test:
Add tests for preservation of key algorithm in SHOW CREATE TABLE output
absolute value of the float is less than 1, and also fix calculation of
length for negative values. (Bug #7774)
sql/field.cc:
Fix handling of negative values and fabs(values> < 1 in Field_str::store
mysql-test/r/type_float.result:
Add results
mysql-test/r/type_float.result.es:
Add results
mysql-test/t/type_float.test:
Add test for conversion of floats to character field
when printing SET @var in mysqlbinlog, backtick the collation (as BINARY is a reserved word)
mysql-test/r/ctype_ucs.result:
backticks added
mysql-test/r/user_var.result:
backticks added
mysql-test/t/user_var.test:
testing a variable with BINARY collation, which needs the backticks
sql/log_event.cc:
when printing SET @var in mysqlbinlog, backtick the collation (as BINARY is a reserved word)
mysql-test/r/func_sapdb.result:
Added test for bug #7586 "TIMEDIFF for sec+microsec not working
properly". Corrected previously wrong results of couple other
statements.
mysql-test/t/func_sapdb.test:
Added test for bug #7586 "TIMEDIFF for sec+microsec not working
properly".
sql/item_timefunc.cc:
Item_func_timediff::val_str():
Use simplier and less error-prone implementation. Now we are counting
difference between time values in microseconds and convert it to time
value (instead of using seconds and taking difference in "second_part"s
into account).
increased timeouts to see if more tests get started automatically
mysql-test/ndb/ndbcluster.sh:
increased timeouts to see if more tests get started automatically
mysql-test/r/ndb_index_ordered.result:
Test scan with invalid table version
mysql-test/t/ndb_index_ordered.test:
Test scan with invalid table version
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Set apiConnectstate= CS_ABORTING when receving a scan req with invalid
table version
mode".
Changed grammar rule for "type" token. Now we have one branch with
optional length specification for TIMESTAMP type instead of two separate
branches.
mysql-test/r/type_timestamp.result:
Added test case for bug #7418 "TIMESTAMP not always converted to DATETIME
in MAXDB mode".
mysql-test/t/type_timestamp.test:
Added test case for bug #7418 "TIMESTAMP not always converted to DATETIME
in MAXDB mode".
sql/sql_yacc.yy:
Changed rule for "type" token. Now we have one branch with optional
length specification for TIMESTAMP type instead of two separate branches.
This also gives us consistent behavior for TIMETSAMP in MAXDB mode.
Catch more fork() errors.
Moved sleep_until_file_created() here from "mysql-test-run.pl".
Improved debug output.
mtr_io.pl:
Improved mtr_get_opts_from_file(), try to mimic some sh.
mysql-test-run.pl:
Cleaned up the timeout handling.
Created new function environment_setup().
Corrected time zone handling.
Moved sleep_until_file_created() to "lib/mtr_process.pl".
Improved debug output.
mysql-test/mysql-test-run.pl:
Cleaned up the timeout handling.
Created new function environment_setup().
Corrected time zone handling.
Moved sleep_until_file_created() to "lib/mtr_process.pl".
Improved debug output.
mysql-test/lib/mtr_io.pl:
Improved mtr_get_opts_from_file(), try to mimic some sh.
mysql-test/lib/mtr_process.pl:
Catch more fork() errors.
Moved sleep_until_file_created() here from "mysql-test-run.pl".
Improved debug output.
mysql-test/r/ndb_index_ordered.result:
wl-1442 fix Time. adds new type id 25
mysql-test/t/ndb_index_ordered.test:
wl-1442 fix Time. adds new type id 25
ndb/include/kernel/signaldata/DictTabInfo.hpp:
wl-1442 fix Time. adds new type id 25
ndb/include/ndbapi/NdbDictionary.hpp:
wl-1442 fix Time. adds new type id 25
ndb/include/util/NdbSqlUtil.hpp:
wl-1442 fix Time. adds new type id 25
ndb/src/common/util/NdbSqlUtil.cpp:
wl-1442 fix Time. adds new type id 25
ndb/src/ndbapi/NdbDictionary.cpp:
wl-1442 fix Time. adds new type id 25
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
wl-1442 fix Time. adds new type id 25
ndb/test/include/NdbSchemaOp.hpp:
wl-1442 fix Time. adds new type id 25
ndb/tools/restore/consumer.cpp:
wl-1442 fix Time. adds new type id 25
sql/ha_ndbcluster.cc:
wl-1442 fix Time. adds new type id 25
mysql-test/r/ndb_index_ordered.result:
wl-1442 fix Date. reuses old unused Timespec type id
mysql-test/t/ndb_index_ordered.test:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/include/kernel/signaldata/DictTabInfo.hpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/include/ndbapi/NdbDictionary.hpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/include/util/NdbSqlUtil.hpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/src/common/util/NdbSqlUtil.cpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/src/ndbapi/NdbDictionary.cpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/test/include/NdbSchemaOp.hpp:
wl-1442 fix Date. reuses old unused Timespec type id
ndb/tools/restore/consumer.cpp:
wl-1442 fix Date. reuses old unused Timespec type id
sql/ha_ndbcluster.cc:
wl-1442 fix Date. reuses old unused Timespec type id
tables that support multiple index types. (Bug #7235)
sql/sql_show.cc:
Always output 'TYPE <indextype>' for indexes on tables with multiple index types
mysql-test/r/ctype_utf8.result:
Fix results for test
with a number of decimals specified. (Bug #7361)
mysql-test/t/type_float.test:
Add test for maximum values of float and double columns with number of decimals
mysql-test/r/type_float.result:
Add results for new test
mysql-test/r/type_float.result.es:
Add results for new test
sql/field.cc:
Use ::store(double nr) from ::store(longlong nr) so we get the same range checking
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_alter_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charlength_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_charset_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_convert_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_db_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_create_tbl_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_enum_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_insert_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_instr_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_join_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_left_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_length_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_like_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_locate_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_lpad_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ltrim_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ps_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_ps_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_replace_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_reverse_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_right_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rpad_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_rtrim_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_select_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_subquery_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_substring_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_trim_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_union_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_update_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_sjis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_ucs2.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_ujis.result:
Change mode to -rw-rw----
mysql-test/suite/jp/r/jp_where_utf8.result:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_sjis.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_ucs2.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_ujis.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0201_utf8.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_sjis.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_sjis2.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_sjis3.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_ucs2.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_ujis.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0208_utf8.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0212_ucs2.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0212_ujis.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/std_data/jisx0212_utf8.dat:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_alter_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charlength_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_charset_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_convert_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_db_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_create_tbl_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_enum_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_insert_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_instr_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_join_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_left_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_length_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_like_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_locate_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_lpad_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ltrim_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ps_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_ps_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_replace_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_reverse_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_right_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rpad_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_rtrim_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_select_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_subquery_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_substring_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_trim_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_union_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_update_utf8.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_sjis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_ucs2.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_ujis.test:
Change mode to -rw-rw----
mysql-test/suite/jp/t/jp_where_utf8.test:
Change mode to -rw-rw----
I have put the tests into a separate "suite", the first one actually.
Currently this can only be run by the Perl version of mysql-test-run
that is not quite finished. It should, or at least will, be able to
be run with the line
./mysql-test-run.pl --suite=jp
The problem was that when a QUICK_SELECT access method is chosen,
test_if_skip_sort_order() discovered that the index being used
by the quick select will not deliver tuples in sorted order.
In this case test_if_skip_sort_order() tried to change the index
used by the quick select, but it didn't properly set the other
members of the quick select, and especially the range flags of
the ranges in QUICK_SELECT::ranges.
The fix re-invokes the function SQL_SELECT::test_quick_select
to correctly create a valid QUICK_SELECT object.
mysql-test/r/order_by.result:
Added test results.
mysql-test/t/order_by.test:
Added test for BUG#7331.
sql/sql_select.cc:
Fix for BUG#7331.