• kostja@dipika.(none)'s avatar
    Tentative implementation of · d1f93762
    kostja@dipika.(none) authored
    WL#4165 Prepared statements: validation 
    WL#4166 Prepared statements: automatic re-prepare
    Fixes
    Bug#27430 Crash in subquery code when in PS and table DDL changed after PREPARE
    Bug#27690 Re-execution of prepared statement after table was replaced with a view crashes
    Bug#27420 A combination of PS and view operations cause error + assertion on shutdown
    
    The basic idea of the patch is to keep track of table metadata between
    prepared statement prepare and execute. If some table used in the statement
    has changed, the prepared statement is re-prepared before execution.
    
    See WL#4165 and WL#4166 contents and comments in the code for details
    of the implementation.
    d1f93762
item.cc 196 KB