From 5d68a13139f2547690dfe51487d6a0471975828f Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Thu, 2 May 2019 20:09:33 +0300 Subject: [PATCH] Add order by to multi_shard_update_delete --- src/test/regress/expected/multi_shard_update_delete.out | 6 +++--- src/test/regress/sql/multi_shard_update_delete.sql | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/regress/expected/multi_shard_update_delete.out b/src/test/regress/expected/multi_shard_update_delete.out index 0f2040ed1..56d72ba95 100644 --- a/src/test/regress/expected/multi_shard_update_delete.out +++ b/src/test/regress/expected/multi_shard_update_delete.out @@ -773,16 +773,16 @@ SELECT * FROM test_table_1 ORDER BY 1 DESC, 2 DESC, 3 DESC; (3 rows) UPDATE test_table_1 SET col_3 = 3 WHERE date_col < now(); -SELECT * FROM test_table_1; +SELECT * FROM test_table_1 ORDER BY 1 DESC, 2 DESC, 3 DESC; id | date_col | col_3 ----+------------------------------+------- - 1 | Sat Apr 05 08:32:12 2014 PDT | 3 3 | Mon Jan 12 08:35:19 2111 PST | 9 2 | Sun Feb 01 08:31:16 2015 PST | 3 + 1 | Sat Apr 05 08:32:12 2014 PDT | 3 (3 rows) DELETE FROM test_table_1 WHERE date_col < current_timestamp; -SELECT * FROM test_table_1; +SELECT * FROM test_table_1 ORDER BY 1 DESC, 2 DESC, 3 DESC; id | date_col | col_3 ----+------------------------------+------- 3 | Mon Jan 12 08:35:19 2111 PST | 9 diff --git a/src/test/regress/sql/multi_shard_update_delete.sql b/src/test/regress/sql/multi_shard_update_delete.sql index 6cf0a7ce5..87c580854 100644 --- a/src/test/regress/sql/multi_shard_update_delete.sql +++ b/src/test/regress/sql/multi_shard_update_delete.sql @@ -644,9 +644,9 @@ ROLLBACK; -- Stable functions are supported SELECT * FROM test_table_1 ORDER BY 1 DESC, 2 DESC, 3 DESC; UPDATE test_table_1 SET col_3 = 3 WHERE date_col < now(); -SELECT * FROM test_table_1; +SELECT * FROM test_table_1 ORDER BY 1 DESC, 2 DESC, 3 DESC; DELETE FROM test_table_1 WHERE date_col < current_timestamp; -SELECT * FROM test_table_1; +SELECT * FROM test_table_1 ORDER BY 1 DESC, 2 DESC, 3 DESC; DROP TABLE test_table_1;