Commit graph

33903 commits

Author SHA1 Message Date
sergefp@mysql.com
acdc038a44 Bug#19136: Manual 5.0->5.1 merge 2006-05-11 20:41:11 +04:00
sergefp@mysql.com
d2efab4d6f Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/psergey/mysql-5.1-merge5
2006-05-11 20:06:34 +04:00
sergefp@mysql.com
22c71d3db8 Merge mysql.com:/home/psergey/tmp_merge
into  mysql.com:/home/psergey/mysql-5.1-merge5
2006-05-11 18:41:53 +04:00
jmiller@mysql.com
2efbd96b8e Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
2006-05-11 13:46:43 +02:00
kroki@mysql.com
0499b30151 Merge mysql.com:/home/tomash/src/mysql_ab/tmp_merge
into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.1-merge
2006-05-11 11:28:56 +04:00
jmiller@mysql.com
79293053c4 Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
2006-05-11 01:41:39 +02:00
jmiller@mysql.com
2ef6dffebf rpl_log.test:
Remove comments not needed
2006-05-11 00:59:34 +02:00
jmiller@mysql.com
0ab18c91f4 rpl_log.test:
Correct fix for test bug #19158
2006-05-11 00:58:13 +02:00
msvensson@neptunus.(none)
14a6cacec4 Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-10 21:44:11 +02:00
msvensson@neptunus.(none)
41f1206b62 Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-10 21:38:48 +02:00
msvensson@neptunus.(none)
3b9891716c Add missing drop table 2006-05-10 21:35:05 +02:00
msvensson@neptunus.(none)
6420483d6b Update test results for 5.1 2006-05-10 20:39:26 +02:00
msvensson@neptunus.(none)
c5debaa64a Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-10 20:01:35 +02:00
serg@sergbook.mysql.com
6158fc15d8 apparently "sinclude" is consireded by aclocal (up to 1.9.5)
by a dirty word, and it complains about it, even in a comment.
2006-05-10 13:57:58 -04:00
joerg@mysql.com
77024900fa Merge mysql.com:/M51/unittest-5.1 into mysql.com:/M51/mysql-5.1 2006-05-10 18:10:50 +02:00
joerg@mysql.com
74f750486d Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/M51/mysql-5.1
2006-05-10 18:08:50 +02:00
serg@sergbook.mysql.com
389491834c Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.1
2006-05-10 11:45:40 -04:00
joerg@mysql.com
e11c7eb071 Several "unittest" files : Ensure that the configure result is used when compiling them. 2006-05-10 17:29:28 +02:00
serg@sergbook.mysql.com
f15dde450c a workaround for aclocal-1.8 bug 2006-05-10 11:27:38 -04:00
msvensson@neptunus.(none)
efea82bfba Update results to 5.1 format 2006-05-10 16:58:44 +02:00
msvensson@neptunus.(none)
9da86d4521 Merge 5.0 to 5.1 2006-05-10 15:54:51 +02:00
joerg@mysql.com
26395c7e7d Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/M51/mysql-5.1
2006-05-10 15:52:45 +02:00
msvensson@neptunus.(none)
4736d8d53c Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-10 15:49:33 +02:00
msvensson@neptunus.(none)
f5cbfceb93 Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-10 09:21:58 +02:00
serg@sergbook.mysql.com
dc6f9ccbc8 fix HA_ERR_RECORD_DELETED for falcon 2006-05-09 15:14:29 -04:00
gkodinov@mysql.com
baba405cfa Merge mysql.com:/home/kgeorge/mysql/5.0/B18068
into  mysql.com:/home/kgeorge/mysql/5.1/B18068
2006-05-09 18:47:29 +03:00
serg@sergbook.mysql.com
c4f3410449 results fixed 2006-05-09 11:14:31 -04:00
gkodinov@mysql.com
7bae0de398 BUG#18068: SELECT DISTINCT (with duplicates and covering index)
When converting DISTINCT to GROUP BY where the columns are from the covering
index and they are quoted twice in the SELECT list the optimizer is creating
improper processing sequence. This is because of the fact that the columns
of the covering index are not recognized as such and treated as non-index
columns.

Generally speaking duplicate columns can safely be removed from the GROUP
BY/DISTINCT list because this will not add or remove new rows in the
resulting set. Duplicates can be removed even if they are not consecutive
(as is the case for ORDER BY, where the duplicate columns can be removed
only if they are consecutive).

So we can safely transform "SELECT DISTINCT a,a FROM ... ORDER BY a" to
"SELECT a,a FROM ... GROUP BY a ORDER BY a" instead of 
"SELECT a,a FROM .. GROUP BY a,a ORDER BY a". We can even transform 
"SELECT DISTINCT a,b,a FROM ... ORDER BY a,b" to
"SELECT a,b,a FROM ... GROUP BY a,b ORDER BY a,b".

The fix to this bug consists of checking for duplicate columns in the SELECT
list when constructing the GROUP BY list in transforming DISTINCT to GROUP
BY and skipping the ones that are already in.
2006-05-09 18:13:01 +03:00
msvensson@neptunus.(none)
c422ffc404 Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-09 16:38:49 +02:00
midom@flute.local
994ab2dcea Fix InnoDB building on MacOSX when autorun.sh is used 2006-05-09 16:24:57 +03:00
mskold@mysql.com
9bde189d55 Changed to use new syntax for PRIMARY/UNIQUE KEY USING HASH 2006-05-09 12:06:50 +02:00
msvensson@neptunus.(none)
af47f9092c Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-05-09 09:44:47 +02:00
serg@sergbook.mysql.com
f7a56c0b4d typo fixed 2006-05-08 18:14:39 -04:00
serg@sergbook.mysql.com
1f24bffe11 innodb also need libtoolize 2006-05-08 18:02:05 -04:00
joerg@mysql.com
61748a0ca2 Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/M51/mysql-5.1
2006-05-08 23:36:22 +02:00
joerg@mysql.com
7ace714142 configure.in : Now that 5.1.10 has been cloned, bump up the version. 2006-05-08 23:34:54 +02:00
serg@sergbook.mysql.com
7b2ed1143a bootstrap is not using BUILD/autorun.sh :( 2006-05-08 17:10:04 -04:00
serg@sergbook.mysql.com
28dcd3ad49 autorun.sh:
autotool-ize plugins before the main source tree
2006-05-08 16:50:29 -04:00
serg@sergbook.mysql.com
976f1da21f don't introduce a deprecated syntax 2006-05-08 16:06:16 -04:00
serg@sergbook.mysql.com
147f43d774 merged 2006-05-08 13:41:43 -04:00
tomas@poseidon.ndb.mysql.com
792f7383ac Bug #19572 Memory leaks in cluster when running make test 2006-05-08 18:09:01 +02:00
tomas@poseidon.ndb.mysql.com
e1430449e6 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2006-05-08 14:19:32 +02:00
tomas@poseidon.ndb.mysql.com
6ee824ad01 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2006-05-08 14:15:33 +02:00
tomas@poseidon.ndb.mysql.com
0f9be0afe5 removed lead of ndb eventoperations on ndb object delete 2006-05-08 14:11:15 +02:00
mskold@mysql.com
289d4f4595 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/marty/MySQL/mysql-5.1-new
2006-05-08 08:55:50 +02:00
aelkin@mysql.com
f384cfe33c Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0-bug19136
2006-05-07 20:03:08 +03:00
aelkin@mysql.com
49bc52e5c9 Bug#19136: Crashing log-bin and uninitialized user variables in a derived table
recalculating results
2006-05-07 19:54:57 +03:00
sergefp@mysql.com
a6619a74d6 BUG#16798: Merge into 5.0: s/used_tables()/!const_item()/, added comment about its effects. 2006-05-07 19:01:49 +04:00
aelkin@mysql.com
899cf9b584 Merge mysql.com:/usr_rh9/home/elkin.rh9/4.1
into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0-bug19136
2006-05-07 16:02:55 +03:00
aelkin@mysql.com
7dcd1383a8 Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1
into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/FIXES/4.1-bug19136_unass_user_var
2006-05-07 11:43:27 +03:00