Search found 18 matches

by Alfa000
24.05.2013, 22:12
Forum: ZeosLib 7.0 Stable Forum
Topic: [patch_done] Wrong parameter type SmallInt vs. Byte
Replies: 4
Views: 1012

You are welcome. Good work about ZeosLib. In this case i use MySQL 5.5.
by Alfa000
23.05.2013, 15:08
Forum: ZeosLib 7.0 Stable Forum
Topic: [patch_done] Wrong parameter type SmallInt vs. Byte
Replies: 4
Views: 1012

Explain is simple: Interface IZPreparedStatement have this method: procedure SetByte(ParameterIndex: Integer; Value: ShortInt); but correct declaration should by like this: procedure SetByte(ParameterIndex: Integer; Value: Byte); What you say? I don't have time for precise reproducing problem now. B...
by Alfa000
18.05.2013, 13:55
Forum: ZeosLib 7.0 Stable Forum
Topic: [patch_done] Wrong parameter type SmallInt vs. Byte
Replies: 4
Views: 1012

[patch_done] Wrong parameter type SmallInt vs. Byte

Hello. Method IZPreparedStatement.SetByte have wrong datatype for parameter Value. There is ShortInt, but should by Byte or bigger unsigned type. In my case this caused cut of all values bigger than 127 a store them as 0! I replace this datatype and all works well. Sorry for my poor english.