1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Adding tests for the fixed ORDER BY 0 bug

This commit is contained in:
unknown
2003-03-10 17:07:39 +02:00
parent 249788280a
commit 462a72b802
4 changed files with 8 additions and 0 deletions

View File

@ -267,3 +267,5 @@ id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 const PRIMARY PRIMARY 4 const 1
2 UNION t1 ref b b 5 const 1 Using where
drop table t1,t2;
(select 1) union (select 2) order by 0;
Unknown column '0' in 'order clause'