> -----Original Message-----
> From: Alex Peshkoff [mailto:peshk...@mail.ru] 
> Sent: Lunes, 07 de Abril de 2014 11:53
> 
> Hi all!
> 
> nbackup in trunk is broken:
> 
> fbs bin # ./nbackup -b 0 employee l0.nbk
> [
> PROBLEM ON "execute history insert".
> System generator RDB$BACKUP_HISTORY cannot be modified
> SQLCODE:-901

Don't worry, soon you will see generators in flames falling from the sky.
;-)

At this time I cannot commit or I would make the problem 10 times worse, so
please try this hack in
ExprNodes.cpp:

dsc* GenIdNode::execute(thread_db* tdbb, jrd_req* request) const
....
-       if (sysGen && change != 0)
+       if (sysGen && change != 0 && generator.id != 9)

It would be nice to use a constant in place of 9.
Unfortunately, rdb$backup_history is the only sys gen that's not modified
from an internal request.

C.


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to