------------------------------------------------------------
revno: 2858 tags: clone-5.0.89-build committer: Georgi Kodinov <joro@sun.com> branch nick: fix-5.0-bugteam timestamp: Wed 2009-12-02 09:58:30 +0200 message: tree name change to -main ------------------------------------------------------------ revno: 2857 committer: Gleb Shchepa <gshchepa@mysql.com> branch nick: mysql-5.0-bugteam timestamp: Tue 2009-12-01 14:24:44 +0400 message: Bug #38883 (reopened): thd_security_context is not thread safe, crashes? The bug 38816 changed the lock that protects THD::query from LOCK_thread_count to LOCK_thd_data, but didn't update the associated InnoDB functions. 1. The innobase_mysql_prepare_print_arbitrary_thd and the innobase_mysql_end_print_arbitrary_thd InnoDB functions have been removed, since now we have a per-thread mutex: now we don't need to wrap several inter-thread access tries to THD::query with a single global LOCK_thread_count lock, so we can simplify the code. 2. The innobase_mysql_print_thd function has been modified to lock LOCK_thd_data in direct way. ------------------------------------------------------------ revno: 2856 committer: Georgi Kodinov <joro@sun.com> branch nick: fix-5.0-bugteam timestamp: Fri 2009-11-27 18:07:31 +0200 message: Addendum to bug #48872: disable output in the test case because errors are dependent on the case mode ------------------------------------------------------------ revno: 2855 committer: Georgi Kodinov <joro@sun.com> branch nick: fix-5.0-bugteam timestamp: Fri 2009-11-27 16:36:22 +0200 message: added the missing remove of the temp file ------------------------------------------------------------ revno: 2854 committer: Georgi Kodinov <joro@sun.com> branch nick: B48872-5.0-bugteam timestamp: Fri 2009-11-27 15:46:54 +0200 message: Addendum to Bug #27884: fixed test incompatibility on windows. ------------------------------------------------------------ revno: 2853 committer: Georgi Kodinov <joro@sun.com> branch nick: B48872-5.0-bugteam timestamp: Fri 2009-11-27 11:59:44 +0200 message: Bug #48872 : Privileges for stored functions ignored if function name is mixed case Transcode the procedure name to lowercase when searching for it in the hash. This is the missing part of the fix for bug #41049. ------------------------------------------------------------ revno: 2852 committer: Satya B <satya.bn@sun.com> branch nick: mysql-5.0-bugteam timestamp: Wed 2009-11-25 15:29:25 +0530 message: Applying InnoDB snapshot 5.0-ss6230, part 2. Fixes BUG#46000 BUG#46000 - using index called GEN_CLUST_INDEX crashes server Detailed revision comments: r6180 | jyang | 2009-11-17 10:54:57 +0200 (Tue, 17 Nov 2009) | 7 lines branches/5.0: Merge/Port fix for bug #46000 from branches/5.1 -r5895 to branches/5.0. Disallow creating index with the name of "GEN_CLUST_INDEX" which is reserved for the default system primary index. Minor adjusts on table name screening format for added tests. ------------------------------------------------------------ revno: 2851 committer: Satya B <satya.bn@sun.com> branch nick: mysql-5.0-bugteam timestamp: Wed 2009-11-25 15:08:52 +0530 message: Applying InnoDB snapshot 5.0-ss6230, Part 1. Fixes BUG#47777 BUG#47777 - innodb dies with spatial pk: Failing assertion: buf <= original_buf + buf_len Detailed revision comments: r6178 | jyang | 2009-11-17 08:52:11 +0200 (Tue, 17 Nov 2009) | 6 lines branches/5.0: Merge fix for bug #47777 from branches/5.1 -r6045 to bracnches/5.0. Treat the Geometry data same as Binary BLOB in ha_innobase::store_key_val_for_row(), since the Geometry data is stored as Binary BLOB in Innodb. ------------------------------------------------------------ revno: 2850 committer: Jim Winstead <jimw@mysql.com> branch nick: mysql-5.0--bug27884 timestamp: Mon 2009-11-23 14:38:08 -0800 message: Backport fix for Bug #27884. ------------------------------------------------------------ revno: 2849 committer: Alexey Kopytov <Alexey.Kopytov@Sun.com> branch nick: mysql-5.0-bugteam timestamp: Mon 2009-11-23 13:05:35 +0300 message: Automerge. ------------------------------------------------------------ revno: 2842.1.1 committer: Alexey Kopytov <Alexey.Kopytov@Sun.com> branch nick: my50-bug48472 timestamp: Tue 2009-11-17 17:07:14 +0300 message: Bug #48472: Loose index scan inappropriately chosen for some WHERE conditions check_group_min_max() checks if the loose index scan optimization is applicable for a given WHERE condition, that is if the MIN/MAX attribute participates only in range predicates comparing the corresponding field with constants. The problem was that it considered the whole predicate suitable for the loose index scan optimization as soon as it encountered a constant as a predicate argument. This is obviously wrong for cases when a constant is the first argument of a predicate which does not satisfy the above condition. Fixed check_group_min_max() so that all arguments of the input predicate are considered to decide if it passes the test, even though a constant has already been encountered. ------------------------------------------------------------ revno: 2848 committer: Georgi Kodinov <joro@sun.com> branch nick: merge-5.0-bugteam timestamp: Fri 2009-11-20 15:38:21 +0200 message: merge ------------------------------------------------------------ revno: 2839.1.2 author: hery.ramilison@sun.com committer: MySQL Build Team <build@mysql.com> branch nick: mysql-5.0 timestamp: Mon 2009-11-09 19:22:35 +0100 message: Raise version number after cloning 5.0.88 ------------------------------------------------------------ revno: 2839.1.1 tags: clone-5.0.88-build, mysql-5.0.88 committer: Georgi Kodinov <joro@sun.com> branch nick: merge-5.0-bugteam timestamp: Wed 2009-11-04 11:13:55 +0200 message: version change ------------------------------------------------------------ revno: 2847 committer: Georgi Kodinov <joro@sun.com> branch nick: test-5.0-bugteam timestamp: Wed 2009-11-18 17:24:10 +0200 message: Bug#48864: MySQL fails to compile on 64 bit Fedora 12 Fixed 2 errors in comp_err executable : 1. Wrong (off by 1) length passed to my_checksum() 2. strmov() was used on overlapping strings. This is not legal according to the docs in stpcpy(). Used the overlap safe memmove() instead. ------------------------------------------------------------ revno: 2846 committer: Kent Boortz <kent.boortz@sun.com> branch nick: mysql-5.0-bugteam timestamp: Tue 2009-11-17 17:49:24 +0100 message: Include the "mysql-test/collections" directory when creating windows ZIP archive ------------------------------------------------------------ revno: 2845 committer: Alexey Kopytov <Alexey.Kopytov@Sun.com> branch nick: mysql-5.0-bugteam timestamp: Thu 2009-11-12 20:13:08 +0300 message: Automerge. ------------------------------------------------------------ revno: 2841.1.2 committer: Alexey Kopytov <Alexey.Kopytov@Sun.com> branch nick: my50-bug48475 timestamp: Thu 2009-11-12 20:11:33 +0300 message: Fixed a gcc warning introduced by the patch for bug #48475. ------------------------------------------------------------ revno: 2844 committer: Georgi Kodinov <joro@sun.com> branch nick: B48458-5.0-bugteam timestamp: Mon 2009-11-09 16:09:46 +0200 message: Bug #48458: simple query tries to allocate enormous amount of memory The server was doing a bad class typecast causing setting of wrong value for the maximum number of items in an internal structure used in equality propagation. Fixed by not doing the wrong typecast and asserting the type of the Item where it should be done. ------------------------------------------------------------ revno: 2843 committer: Georgi Kodinov <joro@sun.com> branch nick: B42760-5.0-bugteam timestamp: Tue 2009-11-10 10:21:41 +0200 message: Bug #42760: Select doesn't return desired results when we have null values We should re-set the access method functions when changing the access method when switching to another index to avoid sorting. Fixed by doing a little re-engineering : encapsulating all the function assignment into a special function and calling it when flipping the indexes. ------------------------------------------------------------ revno: 2842 committer: Alexey Kopytov <Alexey.Kopytov@Sun.com> branch nick: mysql-5.0-bugteam timestamp: Fri 2009-11-06 17:56:51 +0300 message: Automerge. ------------------------------------------------------------ revno: 2841.1.1 committer: Alexey Kopytov <Alexey.Kopytov@Sun.com> branch nick: my50-bug48475 timestamp: Fri 2009-11-06 09:44:01 +0300 message: Bug #48475: DISTINCT is ignored with GROUP BY WITH ROLLUP and only const tables The problem was caused by two shortcuts in the optimizer that are inapplicable in the ROLLUP case. Normally in a case when only const tables are involved in a query, DISTINCT clause can be safely optimized away since there may be only one row produced by the join. Similarly, we don't need to create a temporary table to resolve DISTINCT/GROUP BY/ORDER BY. Both of these are inapplicable when the WITH ROLLUP modifier is present. Fixed by disabling the said optimizations for the WITH ROLLUP case. ------------------------------------------------------------ revno: 2841 committer: Timothy Smith <timothy.smith@sun.com> branch nick: 50 timestamp: Wed 2009-11-04 16:06:49 -0700 message: auto-merge ------------------------------------------------------------ revno: 2838.1.1 committer: Timothy Smith <timothy.smith@sun.com> branch nick: b40700-50 timestamp: Wed 2009-11-04 15:34:42 -0700 message: Fix for Bug#40700: aclocal warnings for missing cache-id's Just change mysql_foo to mysql_cv_foo for one cache-id variable name. There was only one bad variable name, present in 5.0 and 5.1, but not in the -pe branch. ------------------------------------------------------------ revno: 2840 committer: Timothy Smith <timothy.smith@sun.com> branch nick: 50 timestamp: Wed 2009-11-04 14:08:31 -0700 message: auto-merge ------------------------------------------------------------ revno: 2833.1.4 committer: Timothy Smith <timothy.smith@sun.com> branch nick: 50-bugfix timestamp: Tue 2009-11-03 14:34:01 -0700 message: Add a few comments to clarify do_query() return values in mysql_secure_installation.pl ------------------------------------------------------------ revno: 2833.1.3 committer: Timothy Smith <timothy.smith@sun.com> branch nick: 50-bugfix timestamp: Tue 2009-11-03 13:50:28 -0700 message: Bug#48031: mysql_secure_installation -- bash bug regarding passwords with special chars This script failed when the user tried passwords with multiple spaces, \, # or ' characters. Now proper escaping and quoting is used in all contexts. This problem occurs in the Perl version of this script, too, so fix it in both places. ------------------------------------------------------------ revno: 2833.1.2 committer: Timothy Smith <timothy.smith@sun.com> branch nick: 50-bugfix timestamp: Tue 2009-11-03 13:32:12 -0700 message: Bug#48086: mysql_secure_installation does NOT work on Solaris Remove a bash-ism (if ! ...). ------------------------------------------------------------ revno: 2833.1.1 committer: Timothy Smith <timothy.smith@sun.com> branch nick: 5.0-bugteam timestamp: Fri 2009-10-30 14:28:33 -0600 message: Bug#35106: mysql_secure_installation fails on Windows, missing "use Term::ReadKey" Add the missing module import. Also, while here, fix a few glaring problems with the script, and ensure that it behaves properly. It seems this script may have never been working correctly (e.g., reading password didn't chomp() the result, so password was set with \n at the end; comparing the re-typed password to original was done with inverted test). Add END { cleanup(); } block to ensure the script removes temporary working files. Add SIG{INT} / SIG{QUIT} handler. Do a bit of reorganization to make the code easier to understand. Limit failed connection attempts to 3. Use ./bin/mysql if it exists, and then fall back on mysql in PATH (before it assumed 'mysql' in the path). Print a nicer error if 'mysql' can't be called. This has been tested on Windows (ActivePerl from cmd.exe, no cygwin needed) and Linux. |