- 01 Mar, 2006 6 commits
-
-
unknown authored
-
unknown authored
to both the Shell and the Perl vaerion of "mysql-test-run"- mysql-test/mysql-test-run.pl: Manual merge. mysql-test/mysql-test-run.sh: Manual merge
-
unknown authored
mysql-test/mysql-test-run.pl: Add a "--comment=<string>" option (backport from 5.1). Its sole purpose is to get logged, so that test evaluation gets easier. See "Do-compile" for how it is called, and "gen-build-status-page" for its effect.
-
unknown authored
mysql-test/mysql-test-run.sh: Auto merged
-
unknown authored
mysql-test/mysql-test-run.sh : Add a "--comment=<string>" option, to get it logged when the test is run. mysql-test/mysql-test-run.sh: Add a "--comment=<string>" option, to get it logged when the test is run. The purpose is to allow a better analysis when generating the status page ("gen-build-status-page"). See "Do-compile" for how it is used.
-
unknown authored
into mysql.com:/home/gluh/MySQL/Bugs/5.0.17602
-
- 28 Feb, 2006 6 commits
-
-
unknown authored
into sunlight.local:/work_local/14169-bug-5.0-mysql tests/mysql_client_test.c: Auto merged
-
unknown authored
used In a simple queries a result of the GROUP_CONCAT() function was always of varchar type. But if length of GROUP_CONCAT() result is greater than 512 chars and temporary table is used during select then the result is converted to blob, due to policy to not to store fields longer than 512 chars in tmp table as varchar fields. In order to provide consistent behaviour, result of GROUP_CONCAT() now will always be converted to blob if it is longer than 512 chars. Item_func_group_concat::field_type() is modified accordingly. sql/item_sum.h: Fixed bug#14169: type of group_concat() result changed to blob if tmp_table was used The Item_func_group_concat::field_type() now returns FIELD_TYPE_BLOB if the result is longer than 512 chars. tests/mysql_client_test.c: Added test case for bug#14169: type of group_concat() result changed to blob if tmp_table was used
-
unknown authored
into shellback.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
into shellback.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
The table may be corrupted and decimal columns may have invalid values in this case. To prevent crash we need to check that decimal column has allowable value. In case of invalid value generate warning and set the value to 0.
-
- 27 Feb, 2006 14 commits
-
-
unknown authored
into mysql.com:/users/lthalmann/bk/mysql-5.0-bug13418 sql/field.h: Auto merged
-
unknown authored
sql/field.h: Virtualized some functions so that Bit_field class will use correct cmp functions
-
unknown authored
bug #13525 "Rename table does not keep info of triggers". Now we use MYSQLTEST_VARDIR in order to be able to run this test in different vardir. Also improved cleanup after the test. mysql-test/t/trigger.test: Now we use MYSQLTEST_VARDIR in order to be able to run this test in different vardir. Also improved cleanup after the test.
-
unknown authored
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg13525
-
unknown authored
into selena.:H:/MYSQL/src/#15943-mysql-5.0 mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg13525 sql/field.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_select.h: Manual merge.
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug17314-push
-
unknown authored
- Use 'poll' if available - Check that sd <= FD_SETSIZE if using 'select' - Handle case when 'net_data_is_ready' returns -1, ie. sd > FD_SETSIZE and 'select' is used sql/net_serv.cc: Use 'poll' in favor of 'select' if avaliable This is to avoid the limitation with 'select' only being able to handle fd's with numbers <= 1024 as default. If 'poll' is not available use 'select' but check that we are not having a number higher than FD_SETSIZE Handle the case when 'net_data_is_ready' can't check if there is data to read, since the sd number is too high
-
unknown authored
- Use binary charset in acl_cache, to make searches case sensitive - Add testcase mysql-test/r/grant2.result: Update test result mysql-test/t/grant2.test: Add test case for bug#17279, checking that user with access to TESTDB can't create TEStdb sql/sql_acl.cc: Use binary charset for the acl_cache to make the hash lookups case sensitive. Thus denying user with access to "TESTDB" access to "TEStdb"
-
unknown authored
-
unknown authored
- Change && to || - Check for return value != 0 in "ndb->init()" mysql-test/r/ndb_cache_multi2.result: Update test result mysql-test/t/ndb_cache_multi2.test: Update test case - add printouts for what server the queries are from - Run the query from "while" once on server1 to cache it sql/ha_ndbcluster.cc: && => ||, to call both the function "thd->store_global()" and "ndb->init()" ndb_init returns 0 on sucess. Fail if not zero.
-
unknown authored
- Set FD_SETSIZE before including "sys/select.h" include/my_global.h: Define FD_SETSIZE on QNX before including "sys/select.h" or "sys/time.h". This defines number of bits in fd_set type used for 'select'
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug17314
-
- 26 Feb, 2006 6 commits
-
-
unknown authored
mysql-test/mysql-test-run.pl: Let mysqlcheck have it's own trace file
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0 mysql-test/mysql-test-run.sh: Auto merged
-
unknown authored
client/mysqltest.c: Also look for "$MYSQL_TMP_DIR" when looking for paths to convert mysql-test/mysql-test-run.pl: Export $MYSQL_TMP_DIR mysql-test/mysql-test-run.sh: Export $MYSQL_TMP_DIR
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg13525 sql/sql_table.cc: Auto merged
-
unknown authored
after merging fix for it with main tree.
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg13525 sql/sql_table.cc: Auto merged sql/sql_trigger.cc: Auto merged sql/sql_trigger.h: Auto merged sql/sql_yacc.yy: Auto merged mysql-test/r/trigger.result: SCCS merged mysql-test/t/trigger.test: SCCS merged
-
- 25 Feb, 2006 6 commits
-
-
unknown authored
into mysql.com:/home/my/mysql-5.0
-
unknown authored
- Added empty constructors and virtual destructors to many classes and structs - Removed some usage of the offsetof() macro to instead use C++ class pointers configure.in: Added comment ndb/include/ndbapi/NdbDictionary.hpp: Fixed compiler warnings from gcc 4.0.2 sql/field.cc: Fixed compiler warnings from gcc 4.0.2 sql/handler.h: Fixed compiler warnings from gcc 4.0.2 sql/item.h: Fixed compiler warnings from gcc 4.0.2 sql/item_cmpfunc.h: Fixed compiler warnings from gcc 4.0.2 sql/log_event.h: Fixed compiler warnings from gcc 4.0.2 sql/mysql_priv.h: Fixed compiler warnings from gcc 4.0.2 For find_table_in_list I fixed it to use proper C++ class pointers instead of C style pointers sql/opt_range.cc: Fixed compiler warnings from gcc 4.0.2 sql/parse_file.h: Fixed compiler warnings from gcc 4.0.2 sql/sp_rcontext.h: Fixed compiler warnings from gcc 4.0.2 sql/spatial.h: Fixed compiler warnings from gcc 4.0.2 sql/sql_base.cc: Fixed compiler warnings from gcc 4.0.2 sql/sql_cache.h: Fixed compiler warnings from gcc 4.0.2 sql/sql_class.h: Fixed compiler warnings from gcc 4.0.2 sql/sql_parse.cc: Fixed compiler warnings from gcc 4.0.2 (Not pretty, but seams to work...) sql/sql_select.h: Fixed compiler warnings from gcc 4.0.2 sql/sql_update.cc: Fixed compiler warnings from gcc 4.0.2 sql/table.h: Fixed compiler warnings from gcc 4.0.2 sql/tztime.cc: Fixed compiler warnings from gcc 4.0.2 sql/tztime.h: Fixed compiler warnings from gcc 4.0.2
-
unknown authored
-
unknown authored
sql/sql_db.cc: Move LINT_INIT() to correct place
-
unknown authored
into mysql.com:/home/my/mysql-5.0
-
unknown authored
mysql-test/t/binlog.test: Fixed --ps-protocol (Side effect from last patch) sql/sql_db.cc: Removed compiler warning Fixed memory loss on slave tests/mysql_client_test.c: Removed compiler warnings
-
- 24 Feb, 2006 2 commits
-
-
unknown authored
Let us transfer triggers associated with table when we rename it (but only if we are not changing database to which table belongs, in the latter case we will emit error). mysql-test/r/trigger.result: Added test for bug #13525 "Rename table does not keep info of triggers". mysql-test/t/trigger.test: Added test for bug #13525 "Rename table does not keep info of triggers". sql/sql_rename.cc: rename_tables(): Now after renaming table's .FRM file and updating handler data we call Table_triggers_list::change_table_name() which is reponsible for updating .TRG and .TRN files. sql/sql_table.cc: mysql_alter_table(): Now in case when ALTER should rename table we call Table_triggers_list::change_table_name() which is responsible for updating .TRG and .TRN files after renaming table. sql/sql_trigger.cc: Added Table_triggers_list::change_table_name() method and change_table_name_in_triggers()/trignames() methods responsible for updating .TRG and .TRN files for table during its renaming. Two small cleanups - removed versioning for .TRG files (since it was not working before anyway) and emphasized that type of lock specified in tables list is unimportant for DROP TABLE (since this statement uses name-locking). sql/sql_trigger.h: Table_triggers_list: Added on_table_names_list member to store pointers and lenghts of "ON table_name" parts in triggers' definitions to be able easily change them during RENAME TABLE. Added change_table_name() method and change_table_name_in_trignames/triggers() helper methods responsible for updating .TRG and .TRN files. sql/sql_yacc.yy: trigger_tail: To be able properly update triggers' definitions with new table names when renaming tables we need to know where in CREATE TRIGGER statement "ON db_name.table_name" part resides. Small cleanup - let us emphasize that for CREATE TRIGGER statement lock type which is specified in table list is unimportant since name-locking is used.
-
unknown authored
into mysql.com:/home/my/mysql-5.0
-