GetExecutionPlan() minor bug ---------------------------- Key: DNET-500 URL: http://tracker.firebirdsql.org/browse/DNET-500 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 3.0.2.0 Environment: VS 2010 Windows 7 Firebird 2.5 Reporter: Toni Martir Assignee: Jiri Cincura Priority: Minor
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. -- 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 ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider