-
Notifications
You must be signed in to change notification settings - Fork 432
Commit 5b14653
Make
We allow disabling the statement cache to circumvent a proxy's inability to
cope with them, however there are still some holes where the use of a named
statement is attempted: `prepare()` with the default arguments, and
`copy_in()`. Fix both so that the use of a named statement is dependent
upon whether the prepared statement cache is enabled.
Fixes: #1219
Closes: #1218 prepare()
not use named statements by default when cache is disabled (#1245)1 parent 0525b53 commit 5b14653
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
405 | 405 |
| |
406 | 406 |
| |
407 | 407 |
| |
408 | - | ||
408 | + | ||
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
| |||
639 | 639 |
| |
640 | 640 |
| |
641 | 641 |
| |
642 | - | ||
643 | 642 |
| |
644 | 643 |
| |
645 | 644 |
| |
646 | 645 |
| |
647 | 646 |
| |
648 | 647 |
| |
649 | 648 |
| |
650 | - | ||
649 | + | ||
651 | 650 |
| |
652 | 651 |
| |
653 | 652 |
| |
654 | 653 |
| |
655 | 654 |
| |
655 | + | ||
656 | + | ||
656 | 657 |
| |
657 | 658 |
| |
658 | 659 |
| |
659 | - | ||
660 | + | ||
660 | 661 |
| |
661 | 662 |
| |
662 | 663 |
| |
| |||
1115 | 1116 |
| |
1116 | 1117 |
| |
1117 | 1118 |
| |
1118 | - | ||
1119 | + | ||
1119 | 1120 |
| |
1120 | 1121 |
| |
1121 | 1122 |
| |
|
0 commit comments