createConnection(SqlApiImplType) (SqlFactory.cxx:30) leaks
Main Memory Database Cache
Brought to you by:
prabatuty
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== 16 bytes in 1 blocks are still reachable in loss record 6 of 15
==27383== at 0x4005CCC: operator new(unsigned) (vg_replace_malloc.c:163)
==27383== by 0x40667B9: SqlFactory::createConnection(SqlApiImplType) (SqlFactory.cxx:30)
==27383== by 0x8049A34: main (isql.cxx:98)
refer tools / csql / test089.ksh