i have run ( sql / Join / join6.sql ) with valgrind tool as
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -s
createt1t2.sql
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -s
join6.sql
and found memory leakage as follows.
==15863== Use of uninitialised value of size 4
==15863== at 0x4026D41: AllDataType::compareIntVal(void*, void*, ComparisionOp) (DataType.cxx:820)
==15863== by 0x4028BE7: AllDataType::compareVal(void*, void*, ComparisionOp, DataType, long) (DataType.cxx:769)
==15863== by 0x402E319: PredicateImpl::evaluate(bool&) (PredicateImpl.cxx:296)
==15863== by 0x403C9E9: JoinTableImpl::fetch() (JoinTableImpl.cxx:306)
==15863== by 0x405CD31: SelStatement::fetchAndPrint(bool) (SelStatement.cxx:750)
==15863== by 0x406597C: SqlStatement::fetchAndPrint(bool) (SqlStatement.cxx:151)
==15863== by 0x804975C: getInput(bool) (isql.cxx:342)
==15863== by 0x8049B11: main (isql.cxx:109)
refer test / sql / Join / test006.ksh