File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ const fields1 = [
39
39
catalog : 'def' ,
40
40
characterSet : 63 ,
41
41
columnType : 8 ,
42
+ type : 8 ,
42
43
decimals : 0 ,
43
44
flags : 129 ,
44
45
name : '1' ,
@@ -53,6 +54,7 @@ const nr_fields = [
53
54
catalog : 'def' ,
54
55
characterSet : 63 ,
55
56
columnType : 3 ,
57
+ type : 3 ,
56
58
decimals : 0 ,
57
59
flags : 0 ,
58
60
name : 'test' ,
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ const server = common.createServer(
61
61
characterSet : 63 ,
62
62
columnLength : 1 ,
63
63
columnType : 8 ,
64
+ type : 8 ,
64
65
flags : 129 ,
65
66
decimals : 0
66
67
}
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ const expectedFields = [
53
53
orgTable : '' ,
54
54
characterSet : 63 ,
55
55
columnType : 8 ,
56
+ type : 8 ,
56
57
flags : 161 ,
57
58
decimals : 0
58
59
} ,
@@ -65,6 +66,7 @@ const expectedFields = [
65
66
orgTable : '' ,
66
67
characterSet : 224 ,
67
68
columnType : 253 ,
69
+ type : 253 ,
68
70
flags : 1 ,
69
71
decimals : 31
70
72
} ,
@@ -77,6 +79,7 @@ const expectedFields = [
77
79
orgTable : '' ,
78
80
characterSet : 224 ,
79
81
columnType : 253 ,
82
+ type : 253 ,
80
83
flags : 0 ,
81
84
decimals : 31
82
85
} ,
@@ -89,6 +92,7 @@ const expectedFields = [
89
92
orgTable : '' ,
90
93
characterSet : 224 ,
91
94
columnType : 250 ,
95
+ type : 250 ,
92
96
flags : 0 ,
93
97
decimals : 31
94
98
} ,
@@ -101,6 +105,7 @@ const expectedFields = [
101
105
orgTable : '' ,
102
106
characterSet : 224 ,
103
107
columnType : 253 ,
108
+ type : 253 ,
104
109
flags : 0 ,
105
110
decimals : 31
106
111
} ,
@@ -113,6 +118,7 @@ const expectedFields = [
113
118
orgTable : '' ,
114
119
characterSet : 224 ,
115
120
columnType : 253 ,
121
+ type : 253 ,
116
122
flags : 0 ,
117
123
decimals : 31
118
124
} ,
@@ -125,6 +131,7 @@ const expectedFields = [
125
131
orgTable : '' ,
126
132
characterSet : 224 ,
127
133
columnType : 253 ,
134
+ type : 253 ,
128
135
flags : 0 ,
129
136
decimals : 31
130
137
} ,
@@ -137,6 +144,7 @@ const expectedFields = [
137
144
orgTable : '' ,
138
145
characterSet : 224 ,
139
146
columnType : 253 ,
147
+ type : 253 ,
140
148
flags : 0 ,
141
149
decimals : 31
142
150
} ,
@@ -149,6 +157,7 @@ const expectedFields = [
149
157
orgTable : '' ,
150
158
characterSet : 224 ,
151
159
columnType : 253 ,
160
+ type : 253 ,
152
161
flags : 0 ,
153
162
decimals : 31
154
163
} ,
@@ -161,6 +170,7 @@ const expectedFields = [
161
170
orgTable : '' ,
162
171
characterSet : 63 ,
163
172
columnType : 8 ,
173
+ type : 8 ,
164
174
flags : 160 ,
165
175
decimals : 0
166
176
} ,
@@ -173,6 +183,7 @@ const expectedFields = [
173
183
orgTable : '' ,
174
184
characterSet : 63 ,
175
185
columnType : 5 ,
186
+ type : 5 ,
176
187
flags : 128 ,
177
188
decimals : 2
178
189
} ,
@@ -185,6 +196,7 @@ const expectedFields = [
185
196
orgTable : '' ,
186
197
characterSet : 224 ,
187
198
columnType : 253 ,
199
+ type : 253 ,
188
200
flags : 1 ,
189
201
decimals : 31
190
202
}
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const fields1 = [
38
38
catalog : 'def' ,
39
39
characterSet : 63 ,
40
40
columnType : 8 ,
41
+ type : 8 ,
41
42
decimals : 0 ,
42
43
flags : 129 ,
43
44
name : '1' ,
@@ -52,6 +53,7 @@ const nr_fields = [
52
53
catalog : 'def' ,
53
54
characterSet : 63 ,
54
55
columnType : 3 ,
56
+ type : 3 ,
55
57
decimals : 0 ,
56
58
flags : 0 ,
57
59
name : 'test' ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ let packet = ColumnDefinition.toPacket(
19
19
columnLength : 500 ,
20
20
flags : 32896 ,
21
21
columnType : 0x8 ,
22
+ type : 0x8 ,
22
23
decimals : 1
23
24
} ,
24
25
sequenceId
@@ -42,6 +43,7 @@ packet = ColumnDefinition.toPacket(
42
43
columnLength : 500 ,
43
44
flags : 32896 ,
44
45
columnType : 0x8 ,
46
+ type : 0x8 ,
45
47
decimals : 1
46
48
} ,
47
49
sequenceId
@@ -64,6 +66,7 @@ const inputColDef = {
64
66
columnLength : 0x1c ,
65
67
flags : 0 ,
66
68
columnType : 0xfd ,
69
+ type : 0xfd ,
67
70
decimals : 0x1f
68
71
}
69
72
packet = ColumnDefinition . toPacket ( inputColDef , sequenceId ) ;
You can’t perform that action at this time.
0 commit comments