mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-4028 - Converted rdiff files to uniform
MDEV-11 - Modifed tests and result files to use explicit column lists in INSERT and SELECT statements
This commit is contained in:
@ -24,16 +24,16 @@ if ($mysql_errname)
|
||||
if (!$mysql_errname)
|
||||
{
|
||||
--sorted_result
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b FROM t1;
|
||||
|
||||
UPDATE t1 SET a=a-100, b=DEFAULT WHERE a>100;
|
||||
--sorted_result
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b FROM t1;
|
||||
|
||||
# ORDER BY and LIMIT
|
||||
UPDATE t1 SET b = 'update' WHERE a <= 4 ORDER BY b DESC, a ASC LIMIT 1;
|
||||
--sorted_result
|
||||
SELECT * FROM t1;
|
||||
SELECT a,b FROM t1;
|
||||
}
|
||||
|
||||
# Cleanup
|
||||
|
Reference in New Issue
Block a user