[patch_done] Only one record should have been updated...

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

User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

DoctorRoot,

uh it seems you misunderstoud me terrible wrong. You are udating the same columns with equal values or you do not have a primary key. The sleep should only show you that updating different values will ve accpted.

However their is an option to turn off this validation. Have a look to:

http://zeos.firmos.at/viewtopic.php?p=16546#16546

also please switch to the new \testing-branch the old \testing-egonhugeist branch won't be maintained any more.

NEW url for downloads: http://svn.code.sf.net/p/zeoslib/code-0 ... es/testing
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

Indicated for a component the Properties property ValidateUpdateCount FALSE zTable and error is gone! Uninstalled components, removed the line {$ DEFINE WITH_VALIDATE_UPDATE_COUNT} in file Zeos.inc put the component again and now everything works ... Why did you not tell me that it was possible to do? :) Long ago the topic was closed...

Thank you for helping!
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

EgonHugeist,

because i didn't realize this option by my selves for a long times??!. :oops: I'm sorry for that.. :roll:
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

EgonHugeist wrote:EgonHugeist,

because i didn't realize this option by my selves for a long times??!. :oops: I'm sorry for that.. :roll:
And what for this option? Then others will speak that the component works not properly...
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

DoctorZLO,

the component works perfectly! Even more if such an exception is raised it's a warning to you for a not real good database architecture. You do not have primary keys or unique indices neither. And a lot of values a written certain times in to the same table. Think about it: Is that really wanted?

But it's not on me to say you are wrong. All i can do is to point you to the possibility to switch of this validation.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

Well... Let will be so...
Locked