mariadb/BitKeeper
unknown 154c6e0677 Bug#18761: constant expression as UDF parameters not passed in as constant
The code that set up data to be passed to user-defined functions was very
old and analyzed the "Type" of the data that was passed into the UDF, when
it really should analyze the "return_type", which is hard-coded for simple
Items and works correctly for complex ones like functions.
---
Added test at Sergei's behest.


mysql-test/r/udf.result:
  Verify that various arguments work.
  ---
  Added test at Sergei's behest.
mysql-test/t/udf.test:
  Verify that various arguments work.
  ---
  Added test at Sergei's behest.
sql/item_func.cc:
  For function-Items, test whether it is constant and set the struct members 
  for the UDF parameter appropriately.
  
  Replace tabs with spaces in affected code.
sql/udf_example.c:
  Include a simple function that is useful in testing.
2006-11-13 13:13:44 -05:00
..
etc Bug#18761: constant expression as UDF parameters not passed in as constant 2006-11-13 13:13:44 -05:00
triggers /usr/sbin not always in PATH environment variable. 2006-09-14 10:57:00 -04:00
post-outgoing post-outgoing BitKeeper file /home/sasha/src/bk/mysql/BitKeeper/post-outgoing 2000-10-18 18:50:38 -06:00