New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with restore #7499
Comments
Looks like a duplicate for #2149. |
I'm not sure. The procedure compiles without any problems on FB 2.5, backups are restoreable. |
So good I made a copy of the database, I reverted to FB 2.5, commented plans in this procedure and made backup one more time. :-) |
Two possibilities:
The former is not a bug and the latter depends on the real problem. |
A body of the original procedure on FB 2.5: create or alter procedure XXX_OMS_ZI_STATUS_KONTRAH ( SET TERM ; ^ |
Could you provide metadata-only backup of "bad" database ? |
Next week. |
@hvlad, I send you in a sourceforge.net a mail where there is a link to a gbk metadata file. |
Reproduced, thanks |
Should I create a separate issue? Because one thing is lack of reporting about a problem when compiling a procedure and second is broken restore. |
Yes, I agree. Let this ticket be about error on restore and another one about successful compiling of procedure with wrong PLAN(s) used by some of its statement(s). |
Should be fixed now, please check next build |
I checked and the restore completes successfully. Now I see a warning and "restore was performed correctly". Shouldn't be a errorlevel different than 0? Warnings usually mean there are no problems preventing the database from proper functioning. Isnt this the same case as my last reported issue for parallel restore? |
I see no relation with the case of parallel restore. |
@@@ QA issue @@@
Test currently checks only presense of 'gbak: WARNING' when we try to restore from such .fbk |
Hello.
I think this issue will go to @hvlad.
It turned out that still in Firebird 3.0 backup of the database can be unrestoreable, when a procedure has an error:
"Error while parsing procedure ....
Index cannot be used in the specified plan"
DB on FB 2.5, the procedure compiles. The same procedure on FB 3.0 does not compile and restore is stopped.
The text was updated successfully, but these errors were encountered: