07.07.2017 18:12, Dimitry Sibiryakov wrote:
In this particular case it is enough to know parameter value to choose plan. Parameters are known before reading table.
True, but our optimizer is developed for generic cases, not such specific ones. It could be improved, but I'd say we have more important issues to solve there.
Dmitry ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel