Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #1638] OCILIB not parsed error while binding values in object_ids_with_insert #651
This issue has been migrated from Redmine: https://dev.icinga.com/issues/1638
Created by Tommi on 2011-06-12 10:37:14 +00:00
there is a strange error while using ido2db_get_object_id with insert in upcomming idoutils V1.5.
2011-06-12 10:23:44 +00:00 by Tommi db74189
2011-06-12 18:40:39 +00:00 by Tommi 934d920
2011-07-13 17:19:38 +00:00 by Tommi 5ed6a8a
Updated by Tommi on 2011-06-12 18:59:18 +00:00
workaround implemented(reparsing in every call).This is not a real solution.Reason is still unknown
Updated by elippmann on 2011-07-11 15:48:55 +00:00
ocilib 3.9.0 is broken with "returning into" but it is fixed in ocilib 3.9.1.
Further, this workaround opens mass cursors since it does not free the extra prepared statements.
Updated by Tommi on 2011-07-11 20:12:34 +00:00
Well, im checkin this, but we are using "returning" in several places and the "needs prepared" problem occures only with objects.
Expectation from oracle side with prepares are if we generate the same sql the hash with every reparsing in the same session will be equal and then only one cursor should be generated. But looks like its implemented in a different way.
Patch is already written, but needs to be tested before commit.
Updated by Tommi on 2011-08-02 09:15:58 +00:00
for 1.5 i want to stay with the workaround expecting majoriti of users are not upgrading ocilib to safer version 3.9.2. Maybe it can be removed in a later release