• unknown's avatar
    Fixed bug #30287. · 380cc93c
    unknown authored
    Recommit to 5.1.22.
    The server created temporary tables for filesort in the working directory
    instead of the specified tmpdir directory.
    
    
    sql/item.cc:
      Fixed bug #30287.
      Recommit to 5.1.22.
      The Item_field::set_field method has been modified to reset the any_privileges
      flag to false in case of system temporary table. This modification prevents the
      server from unnecessary checking of user privileges to access system temporary
      tables.
    sql/sql_select.cc:
      Fixed bug #30287.
      Recommit to 5.1.22.
      Bugfix for #29015 has been removed: TABLE_SHARE::table_name of system
      temporary tables contains full path to table file basename again.
    sql/sql_view.cc:
      Fixed bug #30287.
      Recommit to 5.1.22.
      Commentary has been added.
    380cc93c
sql_select.cc 508 KB