Unfortunately, rdb$backup_history is the only sys gen that's not modified
from an internal request.
Time to use triggers and INSERT RETURNING ? :)
Regards,
Vlad
--
Put Bad Developers to Shame
Dominate Development
Unfortunately, rdb$backup_history is the only sys gen
that's not modified
from an internal request.
Time to use triggers and INSERT RETURNING ? :)
Or let VIO_store() handle rel_backup_history and do the
generator increment
from set_metadata_id().
Agree.
In
08.04.2014 11:54, Vlad Khorsun wrote:
Personally, i not consider it as important,
if nbackup v3 will not work with Firebird before v3...
Me neither. But if it can be easily done, why not.
Dmitry
--
Put Bad
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
]
fbs bin # ./isql employee
Database: employee
SQL select gen_id(rdb$backup_history, 1) from rdb$database;