[patch_rejected] Patch for TZSQLProcessor
Moderators: gto, cipto_kh, EgonHugeist, mdaems
[patch_rejected] Patch for TZSQLProcessor
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
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
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
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