Opened 4 years ago

Closed 4 years ago

Last modified 21 months ago

#464 closed defect (fixed)

Oracle DB driver doesn't report an error

Reported by: Maxim Reznik Owned by: Maxim Reznik
Priority: major Milestone: 18.0
Component: Matreshka - SQL Version: 0.7.0
Keywords: oracle oci sql Cc:

Description

Executing statement like this:

declare
  x number;
begin
  select 1 into x from dual where 0=1;
end;

doesn't return any error.

Change History (3)

comment:1 by Maxim Reznik, 4 years ago

Owner: set to Maxim Reznik
Resolution: fixed
Status: newclosed

In 5648:

Indicate error if an OCI function return OCI_NO_DATA

fixes #464

comment:2 by Maxim Reznik, 4 years ago

In 5649:

In Oracle DB driver don't set Error_Message

on empty select. Clear Error_Message on any success operation.
Refs #464

comment:3 by vadim.godunko, 21 months ago

Milestone: 0.8.018.0

Milestone renamed

Note: See TracTickets for help on using tickets.