Search found 5 matches

by ochnap2
04.01.2007, 14:03
Forum: Bug Reports
Topic: [bug_fixed] TZStoredProc problem
Replies: 8
Views: 5812

Hi, Mark. I downloaded the SVN version today and rerun my tests. I saw no problem, so I think it's ok to close the topic. On the other hand, I got the software tested with delphi 10 to check for the problem in RetrieveParamValues. The exceptions I had with D7 are gone in D10, so I think this confirm...
by ochnap2
29.12.2006, 18:52
Forum: Bug Reports
Topic: [bug_fixed] TZStoredProc problem
Replies: 8
Views: 5812

Hi. Yes the other fixes are OK (The null case in SetStatementParams and the ftFixedChar handing). A poor man implementation of the else clause is included in the attached ZStoredProcedure.pas replacement: It simply fires an EZDatabaseError with the SInternalError string whenever a param data type is...
by ochnap2
28.12.2006, 23:12
Forum: Bug Reports
Topic: [bug_fixed] TZStoredProc problem
Replies: 8
Views: 5812

Hi, you are right, I've been following the code a little and I believe there's no problem in RetrieveParamValues... but I still get the null-pointer-exception. The exception is fired in TZAbstractCallableStatement.GetOutParam when excuting line 1526: Result := OutParamValues[ParameterIndex - 1]; The...
by ochnap2
26.12.2006, 21:31
Forum: Bug Reports
Topic: [bug_fixed] TZStoredProc problem
Replies: 8
Views: 5812

Hi, there was no comment regarding my previous post. I'm new to this community: Is enough to post the bug here? Should I also post a bug in the bugzilla? Moreover: I found another problem with the stored procs parameters, this time in TZStoredProc.RetrieveParamValues. The code in SVN generates an in...
by ochnap2
21.12.2006, 13:31
Forum: Bug Reports
Topic: [bug_fixed] TZStoredProc problem
Replies: 8
Views: 5812

[bug_fixed] TZStoredProc problem

Hi, I think I found two little errors in ZStoredProcedure.pas, in function TZStoredProc.SetStatementParams: - The parameter initialization when the param value is null has a wrong index. It says: [...] if Param.IsNull then Statement.SetNull(I, ConvertDatasetToDbcType(Param.DataType)) [...] but it sh...