forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit551e0aa
committed
Fix parameter handling.
Fix a bug where cs.execute('select %d + %d', (1, 2)) would get interpretedas cs.executemany('select %d + %d', (1, 2))1 parent37d67eb commit551e0aa
1 file changed
+36
-2
lines changedLines changed: 36 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
| |||
175 | 176 |
| |
176 | 177 |
| |
177 | 178 |
| |
178 |
| - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 |
| |
180 | 185 |
| |
| 186 | + | |
181 | 187 |
| |
182 | 188 |
| |
183 | 189 |
| |
| |||
190 | 196 |
| |
191 | 197 |
| |
192 | 198 |
| |
193 |
| - | |
| 199 | + | |
194 | 200 |
| |
195 | 201 |
| |
196 | 202 |
| |
| |||
251 | 257 |
| |
252 | 258 |
| |
253 | 259 |
| |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
254 | 288 |
| |
255 | 289 |
| |
256 | 290 |
| |
|
0 commit comments
Comments
(0)