1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
unknown 9a0da055fd Fix for BUG#14662: view column in ORDER BY considered ambiguous if SELECT contains
the same column as an aliased and as a non-aliased column.

The problem was that Item_direct_view_ref::eq() was first comparing view columns
by name, and in this case the name of one of them is different since it is aliased.


mysql-test/r/select.result:
  Added test for BUG#14662.
mysql-test/t/select.test:
  Added test for BUG#14662.
sql/item.cc:
  Changed the way view column refenreces are compared. Two view columns are
  equal if they resolve to the same result field of a view.
2005-11-11 11:40:35 +02:00
..
2005-11-05 22:41:36 -08:00
2005-09-30 14:03:55 +02:00
2005-10-31 09:22:33 +03:00
2005-11-03 22:42:25 +02:00
2005-08-12 13:54:42 +03:00
2005-07-25 12:57:23 -07:00
2005-10-21 14:41:56 +05:00
2005-09-09 10:54:59 +04:00
2005-11-01 19:47:53 +03:00
2005-06-07 00:31:53 +03:00
2005-05-06 11:39:30 +03:00
2005-10-27 15:15:01 +03:00
2005-11-03 17:43:03 +03:00
2005-10-19 01:52:06 +04:00
2005-10-12 00:58:22 +03:00
2005-10-12 00:58:22 +03:00
2005-06-07 00:31:53 +03:00
2005-10-19 01:52:06 +04:00
2005-10-21 13:08:00 +02:00
2005-11-01 19:47:53 +03:00
2005-10-31 22:14:27 +02:00
2005-05-26 21:01:55 +02:00
2005-08-12 17:57:19 +03:00
2005-11-04 10:54:51 +01:00
2005-06-07 00:31:53 +03:00
2005-11-05 22:41:36 -08:00
2005-11-02 14:43:25 +02:00
2005-07-31 12:49:55 +03:00
2005-06-01 16:35:09 +03:00
2005-08-27 01:50:38 +02:00