• MySQL Build Team's avatar
    Backport into build-200909221805-5.1.37sp1 · 55b0d977
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 3019.1.3
    > revision-id: ramil@mysql.com-20090714150729-xqv7aicsnoz6epy6
    > parent: jimw@mysql.com-20090713191116-c8qxsrjagzbvbytj
    > committer: Ramil Kalimullin <ramil@mysql.com>
    > branch nick: b45998-5.1-bugteam
    > timestamp: Tue 2009-07-14 20:07:29 +0500
    > message:
    >   Fix for bug#45998: database crashes when running
    >   "create as select" (innodb table)
    >   
    >   Problem: code constructing "CREATE TABLE..." statement
    >   doesn't take into account that current database is not set
    >   in some cases. That may lead to a server crash.
    >   
    >   Fix: check if current database is set.
    55b0d977
sql_show.cc 238 KB