summaryrefslogtreecommitdiff
path: root/src/test/extended-query-test/tests/query-cache-notrans.data
blob: 1ed6c36c9fc40de9fc02cd17fa2e3e63b460abde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# query cache test without transaction
#
##memory_cache_enabled = on

# Create test table
'Q'	"DROP TABLE IF EXISTS pgproto_test1"
'Y'
'Q'	"CREATE TABLE pgproto_test1(i INT)"
'Y'
'Q'	"INSERT INTO pgproto_test1 VALUES(1)"
'Y'

# Issue SELECT
'P'	"S2"	"SELECT 1 FROM pgproto_test1"	0
'B'	""	"S2"	0	0	0
'D'	'S'	"S2"
'E'	""	0
'C'	'S'	"S2"

# Issue SELECT
'P'	"S3"	"SELECT 1 FROM pgproto_test1"	0
'B'	""	"S3"	0	0	0
'D'	'S'	"S3"	
'E'	""	0
'C'	'S'	"S3"

'S'
'Y'

# DROP test table
'Q'	"DROP TABLE pgproto_test1"
'Y'

'X'