• dlenev@mysql.com's avatar
    Implementation of Monty's idea: Now we can open mysql.proc table for lookup · f334ea1f
    dlenev@mysql.com authored
    of stored routines definitions even if we already have some tables open and
    locked. To avoid deadlocks in this case we have to put certain restrictions
    on locking of mysql.proc table.
    
    This allows to use stored routines safely under LOCK TABLES without explicitly
    mentioning mysql.proc in the list of locked tables. It also fixes bug #11554
    "Server crashes on statement indirectly using non-cached function".
    f334ea1f
lock.cc 28.1 KB