cli api to store explain in repository and few more changes. -- new api to stored packed explain in repository SQL_EXEC_StoreExplainData. -- storage of packed explain in encoded form to mask out any null characters. This helps with treating of explain data as a string. -- bug fix in cleanup code -- fix to handle input param values greater than short max. -- test code in sqlci frontend to test explain get/store apis. -- fixed udr/TEST001
Fixes for a few scalar UDF bugs LP 1426605: change in NormRelExpr.cpp. When left linearizing a join backbone sufficients inputs were not being provided. The change ensures that inputs from the old tree and still marked as required inputs for a node in the new tree. LP 1420530: Error handling added to BiArith::bindNode. LP 1420938: Error handling to CREATE FUNCTION statement to flag more than 32 parameters. LP 1421438: showddl [function | procedure | table_mapping function] <name>; now works. If one of the optional tokens is not specified then we will look for a table called <name>.
Patch Set 1 Changes to address comments by Dave. One more fix in ExUdr.cpp. There is no LP for this bug. If a dll is missing at runtime or other LOAD errors during UDF fixup could lead to an assertion, since we try to place an error in UDF's up queue, before there are entries in the corresponding down queue. Fix is to remove this line and let existing error handling report this error. Thanks for your help Hans. Couple of items that I forgot to mention before 1) Changes in Analyzer.cpp related to printing predecessorJBBC are due to Hans. 2) Showddl code is mostly refactored from previous versions.