Skip to content
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

Execute block fails within execute statement [CORE1371] #1789

Closed
firebird-automations opened this issue Jul 20, 2007 · 9 comments
Closed

Execute block fails within execute statement [CORE1371] #1789

firebird-automations opened this issue Jul 20, 2007 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Viner Mihail (mviner)

Is related to QA171

execute statement 'execute block as begin end';

fails with:

Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements.
Dynamic SQL Error.
SQL error code = -902.
Wrong request type in EXECUTE STATEMENT 'execute block as begin end'.

The walkaround is:
for execute statement 'execute block returns (dummy int) as begin end' into dummy do begin end

Still I think this should be fixed.

Commits: 0c83e28 21de024

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Added missing request type to list of available in EXECUTE STATEMENT.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 Beta 2 [ 10190 ]

Fix Version: 2.0.2 [ 10130 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA171 [ QA171 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Verified, test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12631 ] => Firebird [ 14229 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants