Varun Gupta
b94e8e4b25
MDEV-23867: insert... select crash in compute_window_func
...
There are 2 issues here:
Issue #1 : memory allocation.
An IO_CACHE that uses encryption uses a larger buffer (it needs space for the encrypted data,
decrypted data, IO_CACHE_CRYPT struct to describe encryption parameters etc).
Issue #2 : IO_CACHE::seek_not_done
When IO_CACHE objects are cloned, they still share the file descriptor.
This means, operation on one IO_CACHE may change the file read position
which will confuse other IO_CACHEs using it.
The fix of these issues would be:
Allocate the buffer to also include the extra size needed for encryption.
Perform seek again after one IO_CACHE reads the file.
2020-10-23 22:36:47 +05:30
..
2015-05-13 14:27:17 +02:00
2019-06-06 12:54:34 +05:30
2019-06-06 12:54:34 +05:30
2019-05-29 08:14:49 +03:00
2020-09-21 16:14:35 +03:00
2020-09-21 16:14:35 +03:00
2020-09-22 13:08:09 +03:00
2020-09-22 13:08:09 +03:00
2015-10-29 10:35:37 +02:00
2018-01-05 10:31:11 +02:00
2017-04-26 15:19:16 +03:00
2018-03-22 18:01:29 +02:00
2015-05-13 14:27:16 +02:00
2017-10-31 09:10:25 +02:00
2019-08-16 18:11:32 +05:30
2019-08-16 18:11:32 +05:30
2017-05-10 09:06:57 +03:00
2016-03-22 22:20:33 +02:00
2016-03-22 22:20:33 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2017-11-01 09:55:00 +02:00
2015-10-10 14:19:02 +02:00
2015-09-17 16:40:31 +03:00
2015-06-27 09:40:54 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-06-02 19:00:23 +02:00
2016-09-27 07:54:27 +03:00
2016-09-27 07:54:27 +03:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2016-09-27 07:54:27 +03:00
2020-08-21 14:48:53 +03:00
2019-05-02 13:31:59 +03:00
2019-05-02 13:31:59 +03:00
2019-09-01 19:17:35 +03:00
2017-02-15 08:07:20 +02:00
2017-08-23 14:40:23 +03:00
2017-09-08 09:38:42 +03:00
2019-06-28 19:07:59 +05:30
2020-07-28 13:00:59 +03:00
2015-09-08 08:38:12 +03:00
2018-04-21 11:58:32 +03:00
2015-09-23 17:34:36 +03:00
2018-04-13 14:03:12 +03:00
2016-03-18 11:48:49 +02:00
2017-05-10 09:06:57 +03:00
2016-09-22 16:38:24 +03:00
2017-05-10 09:06:57 +03:00
2015-05-13 14:27:16 +02:00
2020-05-15 10:44:05 +03:00
2015-05-13 14:27:16 +02:00
2018-02-24 22:39:21 +02:00
2015-10-29 10:46:37 +01:00
2018-03-22 18:01:29 +02:00
2015-05-13 14:27:16 +02:00
2017-05-10 09:06:57 +03:00
2017-04-26 15:19:16 +03:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2018-03-22 18:01:29 +02:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2019-04-03 19:56:03 +03:00
2017-05-10 09:06:57 +03:00
2017-04-26 15:19:16 +03:00
2019-04-03 19:56:03 +03:00
2019-04-03 19:56:03 +03:00
2018-12-13 15:47:38 +02:00
2017-06-01 14:07:48 +03:00
2019-04-03 19:56:03 +03:00
2017-05-10 09:06:57 +03:00
2018-06-21 23:47:39 +02:00
2015-05-15 18:12:02 +02:00
2019-07-01 15:21:17 +05:30
2019-04-03 19:56:03 +03:00
2017-06-09 13:15:39 +03:00
2017-08-31 08:36:56 +03:00
2019-05-29 13:03:32 +03:00
2017-03-14 16:23:10 +02:00
2019-05-02 13:31:59 +03:00
2016-10-29 10:09:06 +03:00
2019-04-03 19:56:03 +03:00
2020-10-17 13:13:01 +03:00
2015-05-14 11:32:24 +03:00
2020-10-17 13:13:01 +03:00
2015-05-13 14:27:16 +02:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2017-01-19 08:19:08 +02:00
2017-01-19 08:19:08 +02:00
2017-04-26 15:19:16 +03:00
2019-09-27 17:46:10 +05:30
2017-04-26 15:19:16 +03:00
2018-06-21 23:47:39 +02:00
2018-04-06 12:59:43 +03:00
2017-01-03 11:22:49 +02:00
2017-01-03 11:22:49 +02:00
2017-02-08 09:05:15 +02:00
2019-02-05 01:34:17 +01:00
2017-08-08 14:52:08 +02:00
2020-10-23 22:36:47 +05:30
2020-10-23 22:36:47 +05:30
2018-02-08 22:54:37 +01:00
2018-02-08 22:54:37 +01:00
2019-09-01 19:17:35 +03:00