gbak does not restore SP with plan, when -I switch used
-------------------------------------------------------
Key: CORE-6350
URL: http://tracker.firebirdsql.org/browse/CORE-6350
Project: Firebird Core
Issue Type: Bug
Components: GBAK
Affects Versions: 3.0.6
Environment: FB 3.0.3, Windows Server 2008 R2 (Windows 10)
Reporter: Anatoliy Schegolskiy
When gbak -I used, there is an error appeared, see below. And then the restore
database does not contain any stored procedures.
Error while parsing procedure HP_INSERT_FIOLIST's BLR.
index FIOLIST_NAME1 cannot be used in the specified plan.
there is no index FIOLIST_NAME3 for table FIOLIST.
unknown ISC error 336330835.
I suppose, the reason is usage of plan clause in stored procedure queries.
The proposal is to ignore saved query plan in the stored procedure source,
when. -I or -M switches used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel