|
10 | 10 | [NO_PID]: sqlca: code: 0, state: 00000
|
11 | 11 | [NO_PID]: ecpg_execute on line 20: OK: CREATE TABLE
|
12 | 12 | [NO_PID]: sqlca: code: 0, state: 00000
|
13 |
| -[NO_PID]: ecpg_execute on line 22: query: show standard_conforming_strings; with 0 parameter(s) on connection regress1 |
| 13 | +[NO_PID]: ecpg_execute on line 22: query: set standard_conforming_strings to off; with 0 parameter(s) on connection regress1 |
14 | 14 | [NO_PID]: sqlca: code: 0, state: 00000
|
15 | 15 | [NO_PID]: ecpg_execute on line 22: using PQexec
|
16 | 16 | [NO_PID]: sqlca: code: 0, state: 00000
|
17 |
| -[NO_PID]: ecpg_execute on line 22: correctly got 1 tuples with 1 fields |
| 17 | +[NO_PID]: ecpg_execute on line 22: OK: SET |
18 | 18 | [NO_PID]: sqlca: code: 0, state: 00000
|
19 |
| -[NO_PID]: ecpg_get_data on line 22: RESULT: off offset: -1; array: no |
| 19 | +[NO_PID]: ecpg_execute on line 24: query: show standard_conforming_strings; with 0 parameter(s) on connection regress1 |
20 | 20 | [NO_PID]: sqlca: code: 0, state: 00000
|
21 |
| -[NO_PID]: ecpg_execute on line 26: query: insert into "My_Table" values ( 1 , 'a\\\\b' ); with 0 parameter(s) on connection regress1 |
| 21 | +[NO_PID]: ecpg_execute on line 24: using PQexec |
| 22 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 23 | +[NO_PID]: ecpg_execute on line 24: correctly got 1 tuples with 1 fields |
| 24 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 25 | +[NO_PID]: ecpg_get_data on line 24: RESULT: off offset: -1; array: no |
| 26 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 27 | +[NO_PID]: ecpg_execute on line 28: query: insert into "My_Table" values ( 1 , 'a\\\\b' ); with 0 parameter(s) on connection regress1 |
22 | 28 | [NO_PID]: sqlca: code: 0, state: 00000
|
23 | 29 | [NO_PID]: ECPGnoticeReceiver: nonstandard use of \\ in a string literal
|
24 | 30 | [NO_PID]: sqlca: code: 0, state: 00000
|
25 | 31 | [NO_PID]: raising sqlcode 0
|
26 | 32 | [NO_PID]: sqlca: code: 0, state: 22P06
|
27 |
| -[NO_PID]: ecpg_execute on line 26: using PQexec |
| 33 | +[NO_PID]: ecpg_execute on line 28: using PQexec |
28 | 34 | [NO_PID]: sqlca: code: 0, state: 22P06
|
29 |
| -[NO_PID]: ecpg_execute on line 26: OK: INSERT 0 1 |
| 35 | +[NO_PID]: ecpg_execute on line 28: OK: INSERT 0 1 |
30 | 36 | [NO_PID]: sqlca: code: 0, state: 22P06
|
31 | 37 | SQL error: nonstandard use of \\ in a string literal
|
32 |
| -[NO_PID]: ecpg_execute on line 28: query: insert into "My_Table" values ( 1 , E'a\\\\b' ); with 0 parameter(s) on connection regress1 |
| 38 | +[NO_PID]: ecpg_execute on line 30: query: insert into "My_Table" values ( 1 , E'a\\\\b' ); with 0 parameter(s) on connection regress1 |
33 | 39 | [NO_PID]: sqlca: code: 0, state: 00000
|
34 |
| -[NO_PID]: ecpg_execute on line 28: using PQexec |
| 40 | +[NO_PID]: ecpg_execute on line 30: using PQexec |
35 | 41 | [NO_PID]: sqlca: code: 0, state: 00000
|
36 |
| -[NO_PID]: ecpg_execute on line 28: OK: INSERT 0 1 |
| 42 | +[NO_PID]: ecpg_execute on line 30: OK: INSERT 0 1 |
37 | 43 | [NO_PID]: sqlca: code: 0, state: 00000
|
38 |
| -[NO_PID]: ecpg_execute on line 30: query: set standard_conforming_strings to on; with 0 parameter(s) on connection regress1 |
| 44 | +[NO_PID]: ecpg_execute on line 32: query: set standard_conforming_strings to on; with 0 parameter(s) on connection regress1 |
39 | 45 | [NO_PID]: sqlca: code: 0, state: 00000
|
40 |
| -[NO_PID]: ecpg_execute on line 30: using PQexec |
| 46 | +[NO_PID]: ecpg_execute on line 32: using PQexec |
41 | 47 | [NO_PID]: sqlca: code: 0, state: 00000
|
42 |
| -[NO_PID]: ecpg_execute on line 30: OK: SET |
| 48 | +[NO_PID]: ecpg_execute on line 32: OK: SET |
43 | 49 | [NO_PID]: sqlca: code: 0, state: 00000
|
44 |
| -[NO_PID]: ecpg_execute on line 33: query: insert into "My_Table" values ( 2 , 'a\\\\b' ); with 0 parameter(s) on connection regress1 |
| 50 | +[NO_PID]: ecpg_execute on line 34: query: show standard_conforming_strings; with 0 parameter(s) on connection regress1 |
45 | 51 | [NO_PID]: sqlca: code: 0, state: 00000
|
46 |
| -[NO_PID]: ecpg_execute on line 33: using PQexec |
| 52 | +[NO_PID]: ecpg_execute on line 34: using PQexec |
47 | 53 | [NO_PID]: sqlca: code: 0, state: 00000
|
48 |
| -[NO_PID]: ecpg_execute on line 33: OK: INSERT 0 1 |
| 54 | +[NO_PID]: ecpg_execute on line 34: correctly got 1 tuples with 1 fields |
49 | 55 | [NO_PID]: sqlca: code: 0, state: 00000
|
50 |
| -[NO_PID]: ecpg_execute on line 35: query: insert into "My_Table" values ( 2 , E'a\\\\b' ); with 0 parameter(s) on connection regress1 |
| 56 | +[NO_PID]: ecpg_get_data on line 34: RESULT: on offset: -1; array: no |
51 | 57 | [NO_PID]: sqlca: code: 0, state: 00000
|
52 |
| -[NO_PID]: ecpg_execute on line 35: using PQexec |
| 58 | +[NO_PID]: ecpg_execute on line 38: query: insert into "My_Table" values ( 2 , 'a\\\\b' ); with 0 parameter(s) on connection regress1 |
53 | 59 | [NO_PID]: sqlca: code: 0, state: 00000
|
54 |
| -[NO_PID]: ecpg_execute on line 35: OK: INSERT 0 1 |
| 60 | +[NO_PID]: ecpg_execute on line 38: using PQexec |
55 | 61 | [NO_PID]: sqlca: code: 0, state: 00000
|
56 |
| -[NO_PID]: ECPGtrans on line 37: action "begin"; connection "regress1" |
| 62 | +[NO_PID]: ecpg_execute on line 38: OK: INSERT 0 1 |
57 | 63 | [NO_PID]: sqlca: code: 0, state: 00000
|
58 |
| -[NO_PID]: ecpg_execute on line 40: query: declare C cursor for select * from "My_Table"; with 0 parameter(s) on connection regress1 |
| 64 | +[NO_PID]: ecpg_execute on line 40: query: insert into "My_Table" values ( 2 , E'a\\\\b' ); with 0 parameter(s) on connection regress1 |
59 | 65 | [NO_PID]: sqlca: code: 0, state: 00000
|
60 | 66 | [NO_PID]: ecpg_execute on line 40: using PQexec
|
61 | 67 | [NO_PID]: sqlca: code: 0, state: 00000
|
62 |
| -[NO_PID]: ecpg_execute on line 40: OK: DECLARE CURSOR |
| 68 | +[NO_PID]: ecpg_execute on line 40: OK: INSERT 0 1 |
63 | 69 | [NO_PID]: sqlca: code: 0, state: 00000
|
64 |
| -[NO_PID]: ecpg_execute on line 46: query: fetch C; with 0 parameter(s) on connection regress1 |
| 70 | +[NO_PID]: ECPGtrans on line 42: action "begin"; connection "regress1" |
65 | 71 | [NO_PID]: sqlca: code: 0, state: 00000
|
66 |
| -[NO_PID]: ecpg_execute on line 46: using PQexec |
| 72 | +[NO_PID]: ecpg_execute on line 45: query: declare C cursor for select * from "My_Table"; with 0 parameter(s) on connection regress1 |
67 | 73 | [NO_PID]: sqlca: code: 0, state: 00000
|
68 |
| -[NO_PID]: ecpg_execute on line 46: correctly got 1 tuples with 2 fields |
| 74 | +[NO_PID]: ecpg_execute on line 45: using PQexec |
69 | 75 | [NO_PID]: sqlca: code: 0, state: 00000
|
70 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: 1 offset: -1; array: no |
| 76 | +[NO_PID]: ecpg_execute on line 45: OK: DECLARE CURSOR |
71 | 77 | [NO_PID]: sqlca: code: 0, state: 00000
|
72 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: a\\b offset: -1; array: no |
| 78 | +[NO_PID]: ecpg_execute on line 51: query: fetch C; with 0 parameter(s) on connection regress1 |
73 | 79 | [NO_PID]: sqlca: code: 0, state: 00000
|
74 |
| -[NO_PID]: ecpg_execute on line 46: query: fetch C; with 0 parameter(s) on connection regress1 |
| 80 | +[NO_PID]: ecpg_execute on line 51: using PQexec |
75 | 81 | [NO_PID]: sqlca: code: 0, state: 00000
|
76 |
| -[NO_PID]: ecpg_execute on line 46: using PQexec |
| 82 | +[NO_PID]: ecpg_execute on line 51: correctly got 1 tuples with 2 fields |
77 | 83 | [NO_PID]: sqlca: code: 0, state: 00000
|
78 |
| -[NO_PID]: ecpg_execute on line 46: correctly got 1 tuples with 2 fields |
| 84 | +[NO_PID]: ecpg_get_data on line 51: RESULT: 1 offset: -1; array: no |
79 | 85 | [NO_PID]: sqlca: code: 0, state: 00000
|
80 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: 1 offset: -1; array: no |
| 86 | +[NO_PID]: ecpg_get_data on line 51: RESULT: a\\b offset: -1; array: no |
81 | 87 | [NO_PID]: sqlca: code: 0, state: 00000
|
82 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: a\\b offset: -1; array: no |
| 88 | +[NO_PID]: ecpg_execute on line 51: query: fetch C; with 0 parameter(s) on connection regress1 |
83 | 89 | [NO_PID]: sqlca: code: 0, state: 00000
|
84 |
| -[NO_PID]: ecpg_execute on line 46: query: fetch C; with 0 parameter(s) on connection regress1 |
| 90 | +[NO_PID]: ecpg_execute on line 51: using PQexec |
85 | 91 | [NO_PID]: sqlca: code: 0, state: 00000
|
86 |
| -[NO_PID]: ecpg_execute on line 46: using PQexec |
| 92 | +[NO_PID]: ecpg_execute on line 51: correctly got 1 tuples with 2 fields |
87 | 93 | [NO_PID]: sqlca: code: 0, state: 00000
|
88 |
| -[NO_PID]: ecpg_execute on line 46: correctly got 1 tuples with 2 fields |
| 94 | +[NO_PID]: ecpg_get_data on line 51: RESULT: 1 offset: -1; array: no |
89 | 95 | [NO_PID]: sqlca: code: 0, state: 00000
|
90 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: 2 offset: -1; array: no |
| 96 | +[NO_PID]: ecpg_get_data on line 51: RESULT: a\\b offset: -1; array: no |
91 | 97 | [NO_PID]: sqlca: code: 0, state: 00000
|
92 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: a\\\\b offset: -1; array: no |
| 98 | +[NO_PID]: ecpg_execute on line 51: query: fetch C; with 0 parameter(s) on connection regress1 |
93 | 99 | [NO_PID]: sqlca: code: 0, state: 00000
|
94 |
| -[NO_PID]: ecpg_execute on line 46: query: fetch C; with 0 parameter(s) on connection regress1 |
| 100 | +[NO_PID]: ecpg_execute on line 51: using PQexec |
95 | 101 | [NO_PID]: sqlca: code: 0, state: 00000
|
96 |
| -[NO_PID]: ecpg_execute on line 46: using PQexec |
| 102 | +[NO_PID]: ecpg_execute on line 51: correctly got 1 tuples with 2 fields |
97 | 103 | [NO_PID]: sqlca: code: 0, state: 00000
|
98 |
| -[NO_PID]: ecpg_execute on line 46: correctly got 1 tuples with 2 fields |
| 104 | +[NO_PID]: ecpg_get_data on line 51: RESULT: 2 offset: -1; array: no |
99 | 105 | [NO_PID]: sqlca: code: 0, state: 00000
|
100 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: 2 offset: -1; array: no |
| 106 | +[NO_PID]: ecpg_get_data on line 51: RESULT: a\\\\b offset: -1; array: no |
101 | 107 | [NO_PID]: sqlca: code: 0, state: 00000
|
102 |
| -[NO_PID]: ecpg_get_data on line 46: RESULT: a\\b offset: -1; array: no |
| 108 | +[NO_PID]: ecpg_execute on line 51: query: fetch C; with 0 parameter(s) on connection regress1 |
103 | 109 | [NO_PID]: sqlca: code: 0, state: 00000
|
104 |
| -[NO_PID]: ecpg_execute on line 46: query: fetch C; with 0 parameter(s) on connection regress1 |
| 110 | +[NO_PID]: ecpg_execute on line 51: using PQexec |
105 | 111 | [NO_PID]: sqlca: code: 0, state: 00000
|
106 |
| -[NO_PID]: ecpg_execute on line 46: using PQexec |
| 112 | +[NO_PID]: ecpg_execute on line 51: correctly got 1 tuples with 2 fields |
107 | 113 | [NO_PID]: sqlca: code: 0, state: 00000
|
108 |
| -[NO_PID]: ecpg_execute on line 46: correctly got 0 tuples with 2 fields |
| 114 | +[NO_PID]: ecpg_get_data on line 51: RESULT: 2 offset: -1; array: no |
109 | 115 | [NO_PID]: sqlca: code: 0, state: 00000
|
110 |
| -[NO_PID]: raising sqlcode 100 on line 46: no data found on line 46 |
111 |
| -[NO_PID]: sqlca: code: 100, state: 02000 |
112 |
| -[NO_PID]: ECPGtrans on line 50: action "rollback"; connection "regress1" |
| 116 | +[NO_PID]: ecpg_get_data on line 51: RESULT: a\\b offset: -1; array: no |
113 | 117 | [NO_PID]: sqlca: code: 0, state: 00000
|
114 |
| -[NO_PID]: ecpg_execute on line 51: query: drop table "My_Table"; with 0 parameter(s) on connection regress1 |
| 118 | +[NO_PID]: ecpg_execute on line 51: query: fetch C; with 0 parameter(s) on connection regress1 |
115 | 119 | [NO_PID]: sqlca: code: 0, state: 00000
|
116 | 120 | [NO_PID]: ecpg_execute on line 51: using PQexec
|
117 | 121 | [NO_PID]: sqlca: code: 0, state: 00000
|
118 |
| -[NO_PID]: ecpg_execute on line 51: OK: DROP TABLE |
| 122 | +[NO_PID]: ecpg_execute on line 51: correctly got 0 tuples with 2 fields |
| 123 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 124 | +[NO_PID]: raising sqlcode 100 on line 51: no data found on line 51 |
| 125 | +[NO_PID]: sqlca: code: 100, state: 02000 |
| 126 | +[NO_PID]: ECPGtrans on line 55: action "rollback"; connection "regress1" |
| 127 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 128 | +[NO_PID]: ecpg_execute on line 56: query: drop table "My_Table"; with 0 parameter(s) on connection regress1 |
| 129 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 130 | +[NO_PID]: ecpg_execute on line 56: using PQexec |
| 131 | +[NO_PID]: sqlca: code: 0, state: 00000 |
| 132 | +[NO_PID]: ecpg_execute on line 56: OK: DROP TABLE |
119 | 133 | [NO_PID]: sqlca: code: 0, state: 00000
|
120 | 134 | [NO_PID]: ecpg_finish: connection regress1 closed
|
121 | 135 | [NO_PID]: sqlca: code: 0, state: 00000
|
0 commit comments