Menu

#4 StatementImpl::StatementImpl() can throw

open
nobody
None
5
2021-06-21
2007-12-02
No

This patch changes the factory code to create IBPP::Statement objects in a way that even malformed sql statements will not lead to exceptions being thrown in the StatementImpl constructor. Patch is against SVN trunk (revision 103).

Discussion

  • Michael Hieke

    Michael Hieke - 2007-12-02

    Patch against SVN trunk revision 103

     
  • Michael Hieke

    Michael Hieke - 2007-12-21

    Logged In: YES
    user_id=17524
    Originator: YES

    Just to make this clear: The exceptions lead to crashes later on, because the reference counting of objects gets screwed up. One could probably find another fix for that, but the modified logic seems more natural anyway.

     
  • Lucas Schatz

    Lucas Schatz - 2021-06-21

    Can you please inform a test to this problem?
    I'm working in the Flamerobin project and would like to keep IBPP updated there

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.