• MySQL Build Team's avatar
    Backport into build-200907211706-5.0.82sp1 · 924ce229
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 2792
    > revision-id: sergey.glukhov@sun.com-20090703083500-jq8vhw0tqr37j7te
    > parent: bernt.johnsen@sun.com-20090703083610-o7l4s8syz05rc4w0
    > committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
    > branch nick: mysql-5.0-bugteam
    > timestamp: Fri 2009-07-03 13:35:00 +0500
    > message:
    >   Bug#45806 crash when replacing into a view with a join!
    >   The crash happend because for views which are joins
    >   we have table_list->table == 0 and 
    >   table_list->table->'any method' call leads to crash.
    >   The fix is to perform table_list->table->file->extra()
    >   method for all tables belonging to view.
    924ce229
sql_insert.cc 110 KB