1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00

Fixed 'Unknown error' when doing ORDER BY on reference table which

was used with NULL value on NOT NULL column. (Bug #479)


mysql-test/r/order_by.result:
  Update of results
mysql-test/t/order_by.test:
  Test of new code
sql/sql_select.cc:
  Fixed problem with lookup on NULL
This commit is contained in:
unknown
2003-06-29 21:15:51 +03:00
parent 7143815557
commit caddb5ea53
3 changed files with 40 additions and 1 deletions

View File

@@ -142,3 +142,7 @@ t3 eq_ref PRIMARY PRIMARY 2 t1.gid 1 where used
table type possible_keys key key_len ref rows Extra
t1 ALL NULL NULL NULL NULL 6 Using temporary; Using filesort
t3 eq_ref PRIMARY PRIMARY 2 t1.skr 1 where used
t2_id str
112633 t2 112633
112634 t2 112634
t2_id str