Niels Dossche
a96b05e63f
Fix GH-19300: Nested array_multisort invocation with error breaks
...
There are 2 issues:
1. When a MULTISORT_ABORT happens, it frees func, but func may point to
ARRAYG(multisort_func), which would be a problem with nested
invocations as it can destroy that of the "parent" invocation.
To solve this, delay assigning to the globals.
2. The old globals were not restored which means that nested invocations
with different flags will cause a wrong sorting function to be used.
Closes GH-19319.
2025-07-31 19:00:45 +02:00
..
2025-01-29 19:12:18 +09:00
2024-01-31 11:20:44 +01:00
2025-06-23 11:46:10 +01:00
2024-11-29 16:30:01 +01:00
2025-07-02 18:42:50 +02:00
2025-05-26 19:40:41 +02:00
2024-12-06 19:01:50 +01:00
2025-03-14 10:45:17 +01:00
2025-05-19 19:10:27 +02:00
2025-06-01 18:21:23 +02:00
2024-10-13 21:12:46 +02:00
2025-02-17 10:27:11 +03:00
2025-05-27 20:40:35 +02:00
2025-04-11 23:35:00 +02:00
2025-07-25 11:56:30 +02:00
2025-07-28 11:54:19 +01:00
2024-12-19 18:26:35 +01:00
2024-11-27 19:54:06 +00:00
2025-07-22 15:52:29 +02:00
2025-06-18 20:47:18 +02:00
2025-03-06 15:24:35 +01:00
2025-07-28 15:35:31 +01:00
2024-10-24 15:56:25 +02:00
2025-07-17 13:44:21 +02:00
2025-07-20 17:19:43 +02:00
2025-06-22 13:07:43 +02:00
2025-03-13 16:47:20 +01:00
2024-11-20 11:12:19 +01:00
2025-07-03 21:09:44 +09:00
2025-06-09 11:24:13 +02:00
2025-07-30 09:23:12 +02:00
2025-07-15 20:37:33 +02:00
2025-06-27 15:46:20 +02:00
2025-03-13 07:46:18 +01:00
2025-05-27 20:40:35 +02:00
2024-11-20 11:12:19 +01:00
2025-04-15 09:01:40 +09:00
2024-05-21 12:21:46 +01:00
2025-05-05 19:30:23 +02:00
2025-06-09 11:24:48 +02:00
2025-07-27 12:54:43 +01:00
2025-03-20 23:13:42 +01:00
2025-07-01 19:46:48 +03:00
2025-07-07 16:28:18 +02:00
2024-12-30 12:40:32 -04:00
2025-06-01 15:45:36 +02:00
2025-07-27 15:33:48 +02:00
2025-02-21 09:32:10 +01:00
2025-01-24 14:04:58 +00:00
2024-06-28 20:14:20 +02:00
2025-04-11 23:33:58 +02:00
2025-04-11 23:33:58 +02:00
2025-07-20 19:49:22 +02:00
2025-07-17 21:50:35 +02:00
2024-05-23 22:40:54 +02:00
2025-07-11 12:27:41 +02:00
2025-06-21 20:13:09 +02:00
2025-07-31 19:00:45 +02:00
2024-11-03 13:39:41 +00:00
2024-10-26 15:07:57 +02:00
2025-06-04 20:32:21 +01:00
2025-07-16 18:26:54 +02:00
2025-07-20 17:19:43 +02:00
2024-10-12 15:12:40 +02:00
2024-10-12 15:12:40 +02:00
2025-06-09 11:23:29 +02:00
2025-07-02 18:43:25 +02:00
2025-02-14 23:09:57 +01:00