• unknown's avatar
    Bugs#20392: INSERT_ID session variable has weird value · 4af5e597
    unknown authored
    sys_var_insert_id returned LAST_INSERT_ID instead of INSERT_ID.
    
    
    mysql-test/r/variables.result:
      Adding test case
    mysql-test/t/variables.test:
      Adding test case
    sql/set_var.cc:
      Fixed that sys_var_insert_id returned last_indert_id instead of insert_id.
    4af5e597
variables.test 19.2 KB