Ticket #142 (closed enhancement: wontfix)

Opened 8 months ago

Last modified 2 months ago

out_of_range exception suggestion

Reported by: Dragomir Ivanov Assigned to: jtv
Priority: normal Milestone: 3.0
Component: transactions Version:
Severity: normal Keywords:
Cc:

Description

Make out_of_range exception thrown in result.cxx:136, a sql_error successor, so one can get SQL query(and may be a work's name) causing this exception.

Attachments

Change History

05/15/08 06:39:20 changed by jtv

It's a useful idea, but I'm not sure it would be appropriate. Requesting an out-of-range tuple is not really an error directly related to the query. Not only has the query already been performend, but the transaction and even the connection may not exist anymore by the time it happens! An sql_error normally means "something went wrong while executing this query," whereas here it would mean "there is a bug in your program while processing the results of this query."

11/02/08 01:34:52 changed by jtv

  • status changed from new to closed.
  • resolution set to wontfix.

Add/Change #142 (out_of_range exception suggestion)




Change Properties
Action