[patch_done] Error if param is null
Posted: 27.06.2012, 16:05
hi,
I' have a problem when the param of query is Null
If the param is null "example: zquery1.parambyname('id').clear" when call de fuction LoadOracleVars in de line 413 of ZdbcOracleUtils (CurrentVar.Data := nil;) the reserved memory is lost and when other call the param have a value give an error.
If delete this line its ok, but i' dont know is CurrentVar.Indicator := -1 is suficient for detect all type that is null.
Sorry for my english.
I' have a problem when the param of query is Null
If the param is null "example: zquery1.parambyname('id').clear" when call de fuction LoadOracleVars in de line 413 of ZdbcOracleUtils (CurrentVar.Data := nil;) the reserved memory is lost and when other call the param have a value give an error.
If delete this line its ok, but i' dont know is CurrentVar.Indicator := -1 is suficient for detect all type that is null.
Sorry for my english.