File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 11
11
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres PG_FAST_CONNECTION=true
12
12
13
13
node_js :
14
- - lts/dubnium
15
- - lts/erbium
16
- # node 13.7 seems to have changed behavior of async iterators exiting early on streams
17
- # if 13.8 still has this problem when it comes down I'll talk to the node team about the change
18
- # in the mean time...peg to 13.6
19
- - 13.6
20
14
- 14
21
15
22
16
addons :
23
- postgresql : " 10 "
17
+ postgresql : ' 10 '
24
18
25
19
matrix :
26
20
include :
@@ -42,25 +36,25 @@ matrix:
42
36
43
37
- node_js : lts/carbon
44
38
addons :
45
- postgresql : " 9.5"
39
+ postgresql : ' 9.5'
46
40
dist : precise
47
41
48
42
# different PostgreSQL versions on Node LTS
49
43
- node_js : lts/erbium
50
44
addons :
51
- postgresql : " 9.3"
45
+ postgresql : ' 9.3'
52
46
- node_js : lts/erbium
53
47
addons :
54
- postgresql : " 9.4"
48
+ postgresql : ' 9.4'
55
49
- node_js : lts/erbium
56
50
addons :
57
- postgresql : " 9.5"
51
+ postgresql : ' 9.5'
58
52
- node_js : lts/erbium
59
53
addons :
60
- postgresql : " 9.6"
54
+ postgresql : ' 9.6'
61
55
62
56
# PostgreSQL 9.2 only works on precise
63
57
- node_js : lts/carbon
64
58
addons :
65
- postgresql : " 9.2"
59
+ postgresql : ' 9.2'
66
60
dist : precise
Original file line number Diff line number Diff line change 10
10
" packages/*"
11
11
],
12
12
"scripts" : {
13
- "test" : " yarn lint && yarn lerna exec yarn test" ,
13
+ "test" : " yarn lerna exec --scope pg-cursor yarn test" ,
14
14
"build" : " yarn lerna exec --scope pg-protocol yarn build" ,
15
15
"pretest" : " yarn build" ,
16
16
"lint" : " if [ -x ./node_modules/.bin/prettier ]; then eslint '*/**/*.{js,ts,tsx}'; fi;"
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ export class Parser {
91
91
combinedBuffer = Buffer . allocUnsafe ( this . remainingBuffer . byteLength + buffer . byteLength )
92
92
this . remainingBuffer . copy ( combinedBuffer )
93
93
buffer . copy ( combinedBuffer , this . remainingBuffer . byteLength )
94
+ console . log ( 'byteLength' , buffer . byteLength )
94
95
}
95
96
let offset = 0
96
97
while ( offset + HEADER_LENGTH <= combinedBuffer . byteLength ) {
You can’t perform that action at this time.
0 commit comments