• timour/timka@lamia.home's avatar
    Fix for BUG#21774: Column count doesn't match value count at row x · 38a450b4
    timour/timka@lamia.home authored
    The cause of the bug was an incomplete fix for bug 18080.
    The problem was that setup_tables() unconditionally reset the
    name resolution context to its 'tables' argument, which pointed
    to the first table of an SQL statement.
    
    The bug fix limits resetting of the name resolution context in
    setup_tables() only in the cases when the context was not set
    by earlier parser/optimizer phases.
    38a450b4
sql_insert.cc 88.3 KB