• unknown's avatar
    Bug#17261 Passing a variable from a stored procedure to UDF crashes mysqld · 79258e44
    unknown authored
     - Pass "buffers[i]" to val_str() in udf_handler::fix_fields insteead of NULL.
     - Add testcase for UDF that will load and run the udf_example functions 
       if available
    
    
    sql/item_func.cc:
      Instead of passing a NULL pointer into val_str, use the "buffers" array to provide a temp string buffer.
    sql/udf_example.cc:
      Spelling error"on"->"one"
    mysql-test/include/have_udf.inc:
      New BitKeeper file ``mysql-test/include/have_udf.inc''
    mysql-test/r/have_udf.require:
      New BitKeeper file ``mysql-test/r/have_udf.require''
    mysql-test/r/udf.result:
      New BitKeeper file ``mysql-test/r/udf.result''
    mysql-test/t/udf.test:
      New BitKeeper file ``mysql-test/t/udf.test''
    79258e44
have_udf.require 65 Bytes