Demonstrates the use of class StdAllocator to register a custom dynamic memory allocator to substitute standard C runtime function
malloc()
andfree()
for SQL statement execution.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory:api_sql_02_open_allocatorBut it is more instructive to run it in your development environment debugger, stepping through the code.