https://bugs.documentfoundation.org/show_bug.cgi?id=105220

--- Comment #14 from Robert Großkopf <rob...@familiegrosskopf.de> ---
(In reply to Julien Nabet from comment #13)
> 
> We only expect the number of rows inserted here.
> I thought we could add a test here to check if it contains RETURNING but no
> idea then how to retrieve the returned values.

This is the same behavior in Basic macros: You could execute the INSERT with
the executeQuery method and will get "*Cursor is not open" when trying to
receive the result:
*Cursor is not open
caused by
'isc_dsql_fetch'

/home/buildslave/source/libo-core/connectivity/source/drivers/firebird/Util.cxx:68.

You could start the INSERT with executeUpdate and get a number, which is count
wrong for Firebird: 0. But you won't get any other result.

Seems returning content when inserting values is a special beahvior of
Firebird, which can't work with this construction of executeQuery and
executeUpdate.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to