• Michael Widenius's avatar
    Added function last_value() which returns the last value but evalutes all... · d618dfe3
    Michael Widenius authored
    Added function last_value() which returns the last value but evalutes all arguments as a side effect.
    Original patch by Eric Herman
    
    client/mysql.cc:
      Added LAST_VALUE
    mysql-test/r/last_value.result:
      Testing of LAST_VALUE
    mysql-test/t/last_value.test:
      Testing of LAST_VALUE
    sql/item_func.cc:
      Added LAST_VALUE()
    sql/item_func.h:
      Added LAST_VALUE()
    sql/lex.h:
      Added LAST_VALUE()
    sql/sql_yacc.yy:
      Added LAST_VALUE()
    d618dfe3
item_func.h 58.3 KB