build | ||
sql | ||
src | ||
test | ||
.editorconfig | ||
.gitignore | ||
.kateconfig | ||
.kateproject | ||
CMakeLists.txt | ||
compile_flags.txt | ||
Readme.md | ||
VERSION.txt | ||
workspace.code-workspace | ||
write_build_no.sh |
MyFirstUDRKit
Building the kit
cd builds
make
Installation
run the sql on the target database
Decide whether to install the functions globally or as part of a package
Testing
- create a test db
- add functions
- write some simple tests
Stress testing
- compile fb for valgrind
- stress test for leakage
When things go wrong
Errors when registering a function
Invalid index 1 in function IMetadataBuilder::setType
This error indicates that the parameters in the sql function declaration do not match the parameters in the actual function. Check your sql with the FB_UDR_MESSAGE declarations.