- 15 Jun, 2005 9 commits
-
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
tomas@poseidon.ndb.mysql.com authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
-
tomas@poseidon.ndb.mysql.com authored
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
tulin@dl145c.mysql.com authored
failing tests in 5.0/5.1
-
timour@mysql.com authored
into mysql.com:/home/timka/mysql/src/5.0-dbg
-
-
timour@mysql.com authored
When the GROUP BY clause contains a column reference that can be resolved to both an aliased column in the SELECT list, and to a column in the FROM clause, the group column is resolved to the column in the FROM clause (for ANSI conformance). However, it may be so that the user's intent is just the other way around, and he/she gets the query results grouped by a completely different column than expexted. This patch adds a warning in such cases that tells the user that there is potential ambiguity in the group column. sql/sql_select.cc - Added a warning when a GROUP column is ambiguous due to that there is a column reference with the same name both in the SELECT and FROM clauses. In this case we resolve to the column in FROM clause and warn the user of a possible ambiguity. - More extensive comments. - Changed the function to return bool instead of int (as in other places). mysql-test/t/group_by.test Added test for BUG#11211. mysql-test/r/group_by.result Added test for BUG#11211.
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
- 14 Jun, 2005 23 commits
-
-
petr@mysql.com authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
bell@sanja.is.com.ua authored
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
bell@sanja.is.com.ua authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug3-5.0
-
evgen@moonbone.local authored
into moonbone.local:/work/mysql-5.0-bug-11111
-
evgen@moonbone.local authored
Wrong method for creating temporary field was choosen, which results in sending int field with int header but lonlong data. Test case is added to mysql_client_test.c because client library is required to test the bug.
-
petr@mysql.com authored
-
bell@sanja.is.com.ua authored
-
hf@deer.(none) authored
-
petr@mysql.com authored
-
hf@deer.(none) authored
into deer.(none):/home/hf/work/mysql-5.0.clean
-
hf@deer.(none) authored
-
hf@deer.(none) authored
-
timour@mysql.com authored
into mysql.com:/home/timka/mysql/src/5.0-bug-11044
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-tmp
-
timour@mysql.com authored
into mysql.com:/home/timka/mysql/src/5.0-bug-11044
-
timour@mysql.com authored
The problem was that when there was no MIN or MAX function, after finding the group prefix based on the DISTINCT or GROUP BY attributes we did not search further for a key in the group that satisfies the equi-join conditions on attributes that follow the group attributes. Thus we ended up with the wrong rows, and subsequent calls to select_cond->val_int() in evaluate_join_record() were filtering those rows. Hence - the query result set was empty. The problem occured both for GROUP BY queries without MIN/MAX and for queries with DISTINCT (which were internally executed as GROUP BY queries).
-
ramil@mysql.com authored
into mysql.com:/usr/home/ram/work/mysql-5.0
-
ramil@mysql.com authored
-
igor@rurik.mysql.com authored
into rurik.mysql.com:/home/igor/mysql-5.0
-
ndbdev@dl145b.mysql.com authored
into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
igor@rurik.mysql.com authored
-
- 13 Jun, 2005 8 commits
-
-
ndbdev@dl145b.mysql.com authored
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-4.1
-
igor@igor-inspiron.creware.com authored
-
tulin@dl145c.mysql.com authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-4.1
-
igor@igor-inspiron.creware.com authored
Correction for test case of bug #11142.
-
ndbdev@dl145b.mysql.com authored
into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
-
igor@igor-inspiron.creware.com authored
Added a test case for bug #11142. item_cmpfunc.cc: Fixed bug #11142. Implementation of Item_func_nullif::is_null was corrected.
-
tulin@dl145c.mysql.com authored
Logging to logging@openlogging.org accepted DbtcMain.cpp, testTimeout.cpp: Bug #11290 TransactionInactiveTimeout = 0 does not result in infinite timeout
-