[bug_fixed] ZDbcGenericResolver-FormInsertStatement (REV679)

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
SlavoF
Junior Boarder
Junior Boarder
Posts: 29
Joined: 12.02.2009, 15:31
Location: Nitra, Slovakia
Contact:

[bug_fixed] ZDbcGenericResolver-FormInsertStatement (REV679)

Post by SlavoF »

Old version of this funkcion -> wihout procedure Append.... and SetLength(TempX,...) is OK
new version - with this modification (TESTING_REV679) don't work on D2009:
Dynamic SQL error - unexp. end of command

/DB: FB2.1/
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

This relates to duzenkos patch in http://zeos.firmos.at/viewtopic.php?t=2446
chentishler
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 18.01.2006, 13:45

Post by chentishler »

The new version does not work with UnicodeString: The Append has a bug and Temp1 is created with garbage. The resulting SQL text is corrupted. As result, Post after Insert fails with exception message. Use the old version or fix the Append function.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

chentishler wrote:Use the old version or fix the Append function.
Can't you find a solution that works for D2009? I guess a D2009 user might find out what's going wrong, where and why?

Mark
Image
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

I hope SVN rev 707. Fixes this Issue.

Mark
Image
Locked