mirror of
https://github.com/MariaDB/server.git
synced 2025-11-15 09:02:33 +03:00
DISTINCT wasn't optimized away and caused creation of tmp table in wrong case. This result in integer overrun and running out of memory. Fix backported from 4.1. Now if optimizer founds that in result be only 1 row it removes distinct.
121 KiB
121 KiB