i run null7.sql uder the directory ( tool / csql /) with csql -s
through valgrind tool as
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -u
root -p manager -s null7.sql
and found Memory Leak
Error Summary :
==27383== 4 bytes in 1 blocks are still reachable in loss record 1 of 15
==27383== at 0x4005CCC: operator new(unsigned) (vg_replace_malloc.c:163)
==27383== by 0x401FED2: DatabaseManagerImpl::registerThread() (DatabaseManagerImpl.cxx:1214)
==27383== by 0x402F38C: SessionImpl::open(char const*, char const*) (SessionImpl.cxx:129)
==27383== by 0x401E6AE: Connection::open(char const*, char const*) (Connection.cxx:46)
==27383== by 0x4066E97: SqlConnection::connect(char*, char*) (SqlConnection.h:39)
==27383== by 0x8049A61: main (isql.cxx:99)
refer tools / csql / test089.ksh