mirror of https://github.com/MariaDB/server
Browse Source
The problem was that the view substitute its fields (on prepare) with reverting the change after execution. After prepare on optimization exists2in convertion substituted arguments of '=' with constsnt '1', but then one of the arguments of '=' was reverted to the view field reference.This lead to incorrect WHERE condition on the second execution. To fix the problem we replace whole '=' with '1' permannently.pull/22/head
3 changed files with 53 additions and 9 deletions
Loading…
Reference in new issue