Wang Yuan
1ef014ee6b
Fix applying zero offset to null pointer when creating moduleFreeContextReusedClient ( #7323 )
...
Before this fix we where attempting to select a db before creating db the DB, see: #7323
This issue doesn't seem to have any implications, since the selected DB index is 0,
the db pointer remains NULL, and will later be correctly set before using this dummy
client for the first time.
As we know, we call 'moduleInitModulesSystem()' before 'initServer()'. We will allocate
memory for server.db in 'initServer', but we call 'createClient()' that will call 'selectDb()'
in 'moduleInitModulesSystem()', before the databases where created. Instead, we should call
'createClient()' for moduleFreeContextReusedClient after 'initServer()'.
2020-08-08 14:36:41 +03:00
..
2019-12-17 07:15:04 +00:00
2020-07-15 12:38:22 +03:00
2020-04-08 12:55:57 +02:00
2020-04-08 12:55:57 +02:00
2019-10-07 21:06:30 +03:00
2020-05-14 08:49:11 -07:00
2020-05-14 08:49:11 -07:00
2019-10-07 21:06:13 +03:00
2019-10-07 21:06:13 +03:00
2020-07-21 08:13:05 +03:00
2020-03-07 19:38:27 +08:00
2018-10-16 15:48:03 +08:00
2020-05-02 21:19:47 +08:00
2019-11-20 20:39:04 -05:00
2020-07-10 08:20:27 +03:00
2020-05-04 11:40:42 +03:00
2019-07-17 16:40:24 +03:00
2020-08-07 13:01:14 -07:00
2020-06-16 11:45:11 +02:00
2020-08-06 16:47:27 +03:00
2020-06-06 11:42:45 +02:00
2020-07-28 11:32:47 +03:00
2020-05-14 10:06:27 +02:00
2020-03-22 14:42:03 +02:00
2019-03-01 17:53:14 +01:00
2020-05-05 10:20:48 +02:00
2020-04-24 17:00:03 -07:00
2020-04-24 17:11:21 -07:00
2020-04-24 17:11:21 -07:00
2020-07-29 17:54:37 -07:00
2020-08-06 16:47:27 +03:00
2020-07-21 08:13:05 +03:00
2020-05-07 11:04:08 +08:00
2019-02-18 18:27:18 +01:00
2018-07-03 18:19:46 +02:00
2020-04-30 15:54:14 +08:00
2020-07-10 10:02:37 +03:00
2020-04-21 10:51:46 +02:00
2017-07-03 19:38:31 +02:00
2020-04-09 17:48:29 +08:00
2019-02-24 21:38:15 +01:00
2020-06-12 12:16:19 +02:00
2020-04-21 10:51:46 +02:00
2018-10-16 15:48:03 +08:00
2020-07-15 12:38:22 +03:00
2019-10-24 14:24:55 +03:00
2020-04-09 10:24:46 +02:00
2017-12-01 10:24:24 +01:00
2020-06-16 17:50:38 +08:00
2017-12-01 10:24:24 +01:00
2018-09-18 17:04:00 +08:00
2019-10-07 18:24:34 +02:00
2019-10-28 11:10:58 +01:00
2019-10-07 18:24:34 +02:00
2020-05-05 23:35:08 -04:00
2018-09-28 13:00:44 +02:00
2017-11-19 16:23:42 +00:00
2020-07-10 10:30:09 +03:00
2019-11-19 17:23:47 +08:00
2020-08-08 14:36:41 +03:00
2020-06-23 12:01:33 +03:00
2020-07-29 08:46:44 +03:00
2020-02-03 15:43:44 +05:30
2020-08-02 13:59:51 +03:00
2020-03-31 12:40:08 +02:00
2020-04-02 23:43:47 +08:00
2020-02-18 17:22:32 +02:00
2020-06-18 17:28:26 +08:00
2018-10-13 14:17:38 +02:00
2020-07-23 12:38:51 +03:00
2020-04-09 12:10:10 +02:00
2020-07-10 16:37:11 +03:00
2019-05-08 12:13:45 +01:00
2020-04-09 10:24:46 +02:00
2020-08-05 18:30:43 +03:00
2018-07-13 10:51:58 +02:00
2018-07-03 18:19:46 +02:00
2020-07-23 12:38:51 +03:00
2019-10-02 11:30:20 +02:00
2020-08-06 16:53:06 +03:00
2020-07-24 14:40:19 +08:00
2019-10-07 21:06:30 +03:00
2020-04-06 19:27:06 +08:00
2020-08-08 00:19:18 +03:00
2019-12-21 11:47:31 -08:00
2020-02-22 11:38:51 -05:00
2020-07-29 08:25:56 +03:00
2020-08-08 14:36:41 +03:00
2020-08-08 14:36:41 +03:00
2020-05-12 21:21:22 +01:00
2018-11-11 18:49:55 +00:00
2019-09-12 12:21:37 +02:00
2019-09-12 12:21:37 +02:00
2019-09-04 12:14:25 +00:00
2019-01-09 17:00:29 +01:00
2019-12-02 00:28:41 -05:00
2020-04-21 10:51:46 +02:00
2020-05-04 11:40:42 +03:00
2020-04-21 10:51:46 +02:00
2020-06-24 09:09:43 +02:00
2020-07-11 15:52:41 +03:00
2020-07-29 08:22:54 +03:00
2020-06-12 12:43:40 +02:00
2020-08-04 17:49:33 +03:00
2020-07-21 08:13:05 +03:00
2020-07-28 11:32:47 +03:00
2020-07-15 10:53:41 -07:00
2020-05-06 16:18:21 +02:00
2019-11-21 10:06:15 +01:00
2020-07-11 14:51:44 -05:00
2020-07-31 13:01:39 +03:00
2019-12-02 09:13:29 +01:00