i run expression.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 expresion.sql
and found Conditional jump or move depends on uninitialised value(s)
Error Summary :
==20972== Conditional jump or move depends on uninitialised value(s)
==20972== at 0xA84F7A: vfprintf (in /lib/libc-2.7.so)
==20972== by 0xA8B9B2: printf (in /lib/libc-2.7.so)
==20972== by 0x4026A27: AllDataType::printVal(void*, DataType, int) (DataType.cxx:1853)
==20972== by 0x405CEBF: SelStatement::fetchAndPrint(bool) (SelStatement.cxx:795)
==20972== by 0x406597C: SqlStatement::fetchAndPrint(bool) (SqlStatement.cxx:151)
==20972== by 0x804975C: getInput(bool) (isql.cxx:342)
==20972== by 0x8049B11: main (isql.cxx:109)
hi i habe written the file name wrongly
It is expression.sql
refer tools / csql / test049.ksh