1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
gshchepa/uchum@gleb.loc 4a7fdf8611 Fixed bug #30396.
Recommit to 5.1.22.
The bug caused memory corruption for some queries with top OR level
in the WHERE condition if they contained equality predicates and 
other sargable predicates in disjunctive parts of the condition.

The corruption happened because the upper bound of the memory
allocated for KEY_FIELD and SARGABLE_PARAM internal structures
containing info about potential lookup keys was calculated incorrectly
in some cases. In particular it was calculated incorrectly when the
WHERE condition was an OR formula with disjuncts being AND formulas
including equalities and other sargable predicates.
2007-08-24 02:23:49 +05:00
..
2007-03-15 23:39:07 -07:00
2006-12-31 01:02:27 +01:00
2006-12-31 02:29:11 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-03-20 17:07:53 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-08-24 02:23:49 +05:00
2007-06-13 16:12:02 +02:00
2007-08-24 01:54:18 +05:00
2007-08-16 16:47:31 +03:00
2007-08-16 16:47:31 +03:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-04-13 19:23:02 +02:00
2007-01-27 03:46:45 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-02-23 13:13:55 +02:00
2007-02-23 13:13:55 +02:00
2006-12-23 20:17:15 +01:00
2007-06-10 14:43:57 +04:00
2007-08-24 02:23:49 +05:00
2006-12-31 02:29:11 +01:00
2007-08-24 01:59:48 +05:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-08-24 02:23:49 +05:00
2007-08-24 02:23:49 +05:00
2007-07-30 19:02:21 +03:00
2007-06-12 18:41:56 +03:00
2007-03-02 08:43:45 -08:00
2007-08-24 02:23:49 +05:00
2007-08-01 18:59:41 -06:00
2007-07-01 15:33:28 -07:00
2006-12-23 20:17:15 +01:00
2007-08-01 18:59:41 -06:00
2007-08-24 01:54:18 +05:00
2007-02-23 13:13:55 +02:00