- Notifications
You must be signed in to change notification settings - Fork5
Commit078aaf7
committed
Improve parser error location for cases where an INSERT or UPDATE command
supplies an expression that can't be coerced to the target column type.The code previously attempted to point at the target column name, whichdoesn't work at all in an INSERT with omitted column name list, and isalso not remarkably helpful when the problem is buried somewhere in along INSERT-multi-VALUES command. Make it point at the failed expressioninstead.1 parenta6586c0 commit078aaf7
2 files changed
+20
-9
lines changedLines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
429 |
| - | |
430 |
| - | |
431 |
| - | |
432 |
| - | |
433 |
| - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
434 | 438 |
| |
435 | 439 |
| |
436 | 440 |
| |
|
Lines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
346 | 351 |
| |
347 | 352 |
| |
348 | 353 |
| |
| |||
446 | 451 |
| |
447 | 452 |
| |
448 | 453 |
| |
| 454 | + | |
| 455 | + | |
449 | 456 |
| |
450 | 457 |
| |
451 |
| - | |
| 458 | + | |
452 | 459 |
| |
453 | 460 |
| |
454 | 461 |
| |
| |||
462 | 469 |
| |
463 | 470 |
| |
464 | 471 |
| |
465 |
| - | |
| 472 | + | |
466 | 473 |
| |
467 | 474 |
| |
468 | 475 |
| |
|
0 commit comments
Comments
(0)