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

GetExecutionPlan() minor bug [DNET500] #484

Closed
firebird-automations opened this issue Apr 30, 2013 · 2 comments
Closed

GetExecutionPlan() minor bug [DNET500] #484

firebird-automations opened this issue Apr 30, 2013 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: Toni Martir (tonimm)

GetExecutionPlan functions throws exeptions when the query has no plan (ALTER TABLE...)

File StatetementBase.cs Function, GetExecutionPlan

Line:
int len = buffer[1];
throws execption because buffer length is 1

Just before this line the fix may be:
if (buffer[0] == IscCodes.isc_info_end)
return "";
I tested this bugfix and works ok.

Commits: 8e4a21e FirebirdSQL/fbt-repository@f925540

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: vNext [ 10491 ]

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