• pem@mysql.com's avatar
    Fixed BUG#16896: Stored function: unused AGGREGATE-clause in CREATE FUNCTION · 6f170782
    pem@mysql.com authored
      Check if AGGREGATE was given with a stored (non-UDF) function, and return
      error in that case.
      Also made udf_example/udf_test work again, by adding a missing *_init()
      function. (_init() functions required unless --allow_suspicious_udfs is
      given to the server, since March 2005 - it seems udf_example wasn't updated
      at the time.)
    6f170782
sp-error.test 38.1 KB