summaryrefslogtreecommitdiff
path: root/VC++Files/isamchk
diff options
context:
space:
mode:
authorunknown <dlenev@brandersnatch.localdomain>2004-08-20 17:53:46 +0400
committerunknown <dlenev@brandersnatch.localdomain>2004-08-20 17:53:46 +0400
commitf9c3cb5f2e764955890c9a4db8d791a47561d130 (patch)
tree65bfed51926a7496b1598c32ff98e04e45df07a7 /VC++Files/isamchk
parente21380034c00f3edb0ed0a7a3cfc196cff3c56d2 (diff)
downloadmariadb-git-f9c3cb5f2e764955890c9a4db8d791a47561d130.tar.gz
Fix for bug#4302 "ambiguos order by when renamed column is identical to another in result"
When in find_item_in_list() we are looking for item we should take into account unaliased names of the fields but only if item with such aliased name is not found. Also we should ignore aliases when looking for fully specified field. mysql-test/r/order_by.result: Fixed wrong (non-standard) test results Added test case for bug #4302 Added tests for other ambiguos and potentially ambigous cases in order by clause mysql-test/t/order_by.test: Fixed wrong (non-standard) test results Added test case for bug #4302 Added tests for other ambiguos and potentially ambigous cases in order by clause sql/sql_select.cc: We should ignore only not_found_item errors when searching for item in find_order_in_list() to be able to catch ambiguities.
Diffstat (limited to 'VC++Files/isamchk')
0 files changed, 0 insertions, 0 deletions