• unknown's avatar
    Don't force column header to @@session.var_name if @@local.var_name · f8a6e9d3
    unknown authored
    was used. (Bug #10724)
    
    
    mysql-test/r/key_cache.result:
      Updated results
    mysql-test/r/ps_1general.result:
      Updated results
    mysql-test/r/user_var.result:
      Add new results
    mysql-test/r/variables.result:
      Update results
    mysql-test/t/user_var.test:
      Add new regression test
    sql/item_func.cc:
      Don't set name explicitly in get_system_var(), let it get set by the
      select_item: rule in sql_parse.yy or other callers of get_system_var().
    sql/sql_parse.cc:
      Set the name on the Item returned by get_system_var().
    f8a6e9d3
key_cache.result 7.34 KB