• Konstantin Osipov's avatar
    Backport of: · 351b912e
    Konstantin Osipov authored
    ----------------------------------------------------------
    revno: 2617.69.25
    committer: Konstantin Osipov <kostja@sun.com>
    branch nick: 5.4-42546
    timestamp: Fri 2009-08-14 23:52:00 +0400
    message:
      A cleanup in open_tables() and lock_tables():
      change return type of these functions to bool from int,
      to follow convention in the rest of the code.
    (Part of WL#4284 review fixes).
    
    sql/mysql_priv.h:
      Change return type of open_talbes() and lock_tables() from
      int to bool.
    sql/sql_base.cc:
      Change return type of open_tables() and lock_tables() from int to bool.
    sql/sql_handler.cc:
      Use bool now that open_tables() returns bool.
    351b912e
sql_handler.cc 24.6 KB