Vladislav Vaintroub
57b4295d2b
Bug#43932 myisam index corruption with large index and large
...
key_buffer_size.
The cause of corruption was number overflow when multiplying
two ulong values, number of used keycache blocks with size
of a single block. The result of multiplication exceeded ulong
range (4G) and this lead to incorrectly calculated buffer offset
in the key cache.
The fix is to use size_t for multiplication result.
This patch also fixes pointless cast in safemalloc
(size of allocated block to uint), that creates lot of false
alarm warnings when using big keycache (> 4GB) in debug mode.
2009-04-29 13:51:10 +02:00
..
2009-02-13 11:41:47 -05:00
2009-03-20 16:27:53 +02:00
2007-06-21 20:55:37 +02:00
2009-04-07 11:48:38 +05:00
2009-02-13 11:41:47 -05:00
2008-06-18 13:17:15 -03:00
2009-02-13 11:41:47 -05:00
2009-03-24 15:58:52 +02:00
2009-03-06 17:38:14 +08:00
2009-03-20 13:35:00 +02:00
2007-05-10 12:59:39 +03:00
2006-09-14 23:29:44 -06:00
2006-12-23 20:17:15 +01:00
2008-06-18 13:17:15 -03:00
2009-03-09 20:57:03 +02:00
2007-11-07 15:23:50 -07:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-07-30 11:33:50 +03:00
2009-02-10 17:47:54 -05:00
2007-10-11 18:07:40 +03:00
2009-04-29 13:51:10 +02:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2008-08-18 13:11:55 -04:00
2007-07-30 11:33:50 +03:00
2006-12-23 20:17:15 +01:00
2007-10-17 20:08:58 +04:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-10-18 14:32:43 +04:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2009-02-13 11:41:47 -05:00
2007-10-11 18:07:40 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:20:40 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2008-08-11 10:10:00 -06:00
2009-02-13 11:41:47 -05:00
2007-10-11 18:07:40 +03:00
2007-10-11 18:07:40 +03:00
2007-10-11 18:07:40 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:20:40 +01:00
2009-02-13 11:41:47 -05:00
2009-02-13 11:41:47 -05:00
2009-02-13 11:41:47 -05:00
2006-12-23 20:17:15 +01:00
2008-03-13 23:35:52 +02:00
2007-12-07 22:27:48 +02:00
2007-05-10 12:59:39 +03:00
2007-03-22 20:32:07 +02:00
2009-03-17 15:43:00 -04:00
2006-12-23 20:20:40 +01:00
2007-08-13 16:11:25 +03:00
2009-03-06 17:38:14 +08:00
2006-12-31 01:32:21 +01:00
2007-08-09 14:56:57 +02:00
2006-12-27 02:23:51 +01:00
2009-03-17 18:24:35 +01:00
2006-12-23 20:17:15 +01:00
2008-02-26 18:44:04 +02:00
2009-02-13 11:41:47 -05:00
2008-03-28 18:45:03 +02:00
2008-03-28 18:45:03 +02:00
2009-04-09 12:25:25 -03:00
2007-08-29 19:20:18 +04:00
2007-10-18 14:32:43 +04:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:20:40 +01:00
2007-05-10 12:59:39 +03:00
2007-08-29 19:20:18 +04:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:17:15 +01:00
2009-03-19 17:20:15 -03:00
2007-05-10 12:59:39 +03:00
2007-10-11 18:07:40 +03:00
2006-12-31 01:02:27 +01:00
2009-03-17 16:29:24 -04:00
2007-07-30 20:40:49 +02:00
2009-02-13 11:41:47 -05:00
2009-02-13 11:41:47 -05:00
2007-10-11 18:07:40 +03:00
2007-03-29 22:01:51 +05:00
2007-10-11 18:07:40 +03:00
2007-06-05 03:43:11 +05:00
2006-12-23 20:20:40 +01:00
2009-02-10 17:47:54 -05:00
2008-08-19 15:56:41 +02:00
2007-11-12 15:26:37 +04:00
2008-10-27 19:25:11 +04:00
2007-10-11 18:07:40 +03:00
2008-12-04 19:41:53 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-10-03 21:38:32 +02:00
2009-03-06 17:38:14 +08:00
2007-07-30 11:33:50 +03:00
2007-05-10 12:59:39 +03:00
2008-02-18 23:29:39 +01:00
2006-12-31 01:02:27 +01:00
2009-04-29 13:51:10 +02:00
2007-01-22 14:04:40 +02:00
2008-09-16 15:23:07 +02:00
2009-02-13 11:41:47 -05:00
2007-08-15 17:43:08 +04:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2008-04-28 13:41:12 -04:00
2009-02-03 15:16:24 -02:00
2008-10-15 19:21:00 -03:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-24 19:47:58 +03:00