Ilia Alshanetsky
17c806d8b3
ext/pdo: Clear bindings when execute() fails to bind its array ( #23970 )
...
PDOStatement::execute() destroyed bound_params before registering the
entries of its array argument, so a failure part-way through (a value whose
string conversion throws) left the entries registered so far in place, and
a following execute() without arguments ran with them. Drop the partial
table on failure instead. really_register_bound_param() now looks the table
up only after converting the value, and raises the PDO_PARAM_EVT_ALLOC
error after undoing its insert, so a __toString() or error handler that
re-executes the statement no longer frees the table in use.
2026-10-24 19:25:22 -04:00
..
2026-08-06 11:42:56 +02:00
2023-10-28 12:35:57 +01:00
2021-06-11 11:57:42 +02:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2025-02-09 00:35:33 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-29 23:13:30 +00:00
2023-10-29 23:13:30 +00:00
2025-02-04 19:28:47 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-29 23:13:30 +00:00
2025-01-07 09:10:05 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-29 23:13:30 +00:00
2021-06-11 11:57:42 +02:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-29 23:13:30 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2021-06-11 11:57:42 +02:00
2023-10-29 23:13:30 +00:00
2023-10-28 12:35:57 +01:00
2025-06-03 20:08:47 +02:00
2025-06-03 20:08:47 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-09-01 13:54:41 +02:00
2026-09-30 13:20:27 -04:00
2024-01-31 11:20:56 +01:00
2024-11-06 20:30:08 +09:00
2025-12-09 13:46:25 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-29 23:13:30 +00:00
2023-10-29 23:13:30 +00:00
2023-10-29 23:13:30 +00:00
2025-02-11 13:30:35 +00:00
2025-08-26 09:06:19 +02:00
2025-08-26 09:06:19 +02:00
2023-11-27 13:01:24 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2025-08-26 09:06:19 +02:00
2023-10-28 12:35:57 +01:00
2023-10-29 23:13:30 +00:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2026-08-06 11:42:56 +02:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2026-09-29 10:25:06 -04:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2024-02-27 15:30:23 +00:00
2026-08-09 15:27:40 +01:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2022-08-24 14:40:01 +02:00
2026-10-24 19:25:22 -04:00
2026-09-29 11:38:23 -04:00
2026-10-14 09:27:25 -04:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2026-10-24 19:25:22 -04:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2026-01-04 01:27:40 +01:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2025-01-26 23:37:14 +00:00
2025-01-26 13:31:16 +00:00
2025-01-19 20:33:13 +00:00
2025-01-19 20:33:13 +00:00
2025-01-19 20:33:13 +00:00
2025-01-02 23:31:25 +00:00
2025-01-02 23:31:25 +00:00
2025-01-26 13:31:16 +00:00
2025-01-02 23:31:25 +00:00
2025-01-02 23:31:25 +00:00
2025-01-02 23:31:25 +00:00
2025-01-10 17:27:19 +00:00
2025-01-02 23:31:25 +00:00
2025-01-02 23:31:25 +00:00
2025-01-02 23:31:25 +00:00
2025-02-04 11:23:08 +00:00
2025-02-04 11:23:08 +00:00
2026-10-20 07:46:54 -04:00
2026-10-11 08:13:28 -04:00
2026-08-06 11:42:56 +02:00
2021-06-11 11:57:42 +02:00
2025-02-09 00:35:33 +00:00
2026-09-30 13:53:34 -04:00
2026-09-30 13:53:34 -04:00
2026-09-30 13:53:34 -04:00
2025-01-19 23:35:24 +00:00
2025-01-30 18:48:54 +00:00
2025-01-24 20:22:13 +00:00
2025-01-30 18:48:54 +00:00
2025-01-30 18:48:54 +00:00
2026-08-06 11:42:56 +02:00
2026-08-09 15:27:40 +01:00
2020-02-03 22:52:20 +01:00
2021-06-11 11:57:42 +02:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2023-10-28 12:35:57 +01:00
2022-06-13 11:09:12 +02:00