Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8009c41

Browse files
author
Vladimir Ershov
committed
fix tests
1 parent77ebfaa commit8009c41

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

‎expected/sr_plan.out

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
CREATE EXTENSION sr_plan;
2-
set client_min_messages = LOG;
32
CREATE TABLE test_table(test_attr1 int, test_attr2 int);
43
SET sr_plan.write_mode = true;
54
SELECT * FROM test_table WHERE test_attr1 = _p(10);
@@ -35,19 +34,16 @@ SELECT * FROM test_table WHERE test_attr1 = 15;
3534

3635
UPDATE sr_plans SET enable = true;
3736
SELECT * FROM test_table WHERE test_attr1 = _p(10);
38-
LOG: Ok we find saved plan.
3937
test_attr1 | test_attr2
4038
------------+------------
4139
(0 rows)
4240

4341
SELECT * FROM test_table WHERE test_attr1 = _p(15);
44-
LOG: Ok we find saved plan.
4542
test_attr1 | test_attr2
4643
------------+------------
4744
(0 rows)
4845

4946
SELECT * FROM test_table WHERE test_attr1 = 10;
50-
LOG: Ok we find saved plan.
5147
test_attr1 | test_attr2
5248
------------+------------
5349
(0 rows)
@@ -83,4 +79,3 @@ SELECT * FROM test_table WHERE test_attr1 = 15;
8379
------------+------------
8480
(0 rows)
8581

86-
RESET client_min_messages;

‎sql/sr_plan.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
CREATE EXTENSION sr_plan;
2-
set client_min_messages= LOG;
32

43
CREATETABLEtest_table(test_attr1int, test_attr2int);
54
SETsr_plan.write_mode= true;
@@ -26,5 +25,3 @@ SELECT * FROM test_table WHERE test_attr1 = _p(10);
2625
SELECT*FROM test_tableWHERE test_attr1=10;
2726
SELECT*FROM test_tableWHERE test_attr1=10;
2827
SELECT*FROM test_tableWHERE test_attr1=15;
29-
30-
RESET client_min_messages;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp