[patch_rejected] Patch for TZSQLProcessor

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
Ostfriese
Junior Boarder
Junior Boarder
Posts: 25
Joined: 12.05.2009, 10:48
Location: Coburg
Contact:

[patch_rejected] Patch for TZSQLProcessor

Post by Ostfriese »

I've extended the TZSQLProcessor with a filename property which keeps the filename of the current loaded script for easy access (i.e. execution logging).
You do not have the required permissions to view the files attached to this post.
Thomas Jefferson wrote:Information ist die Währung der Demokratie
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi,

I don't agree on this one. I think it isn't consistent. When someone loads a file using LoadFromFile the value is set indeed. But when loading a file and then setting SQL with it's content isn't taken into account. Also when updating the scrpt after loading the flename keeps the same, even if the script may be different.

So, honestly, this should be handled by the user program I think.

Mark
Image
Post Reply