#143 GNU.DB.MYSQL.NO_QUERY_RESULT does not free its resources

GNADE 1.X
closed
5
2005-05-11
2005-05-11
Anonymous
No

Hi!

when I get an empty set (using query ( .. "select .."))
the exception GNU.DB.MYSQL.NO_QUERY_RESULT
does not free its resources.

The qID returned by a successful Query() gets lager after every
NO_QUERY_RESULT exception :-(

I use Drop_Query for successful Queries.

Is this a known problem?

Thanks,
Greg <gregjones@despammed.com>

Discussion

  • Michael Erdmann

    Michael Erdmann - 2005-05-11

    Logged In: YES
    user_id=146097

    The bug you reported has been analyzed and accepted as fault.

     
  • Michael Erdmann

    Michael Erdmann - 2005-05-11

    Logged In: YES
    user_id=146097

    In fact it is a fault. Any exception in the Query method
    would lead
    to such a problem.

     
  • Michael Erdmann

    Michael Erdmann - 2005-05-11
    • status: open --> closed
     
  • Michael Erdmann

    Michael Erdmann - 2005-05-12

    Logged In: YES
    user_id=146097

    Since i don't have any running mysql installation, pls. test
    the attached file.

     
  • Michael Erdmann

    Michael Erdmann - 2005-05-12

    Corrected file for testing

     
  • Nobody/Anonymous

    Logged In: NO

    It solves the qID getting lager problem,
    put it leaks about 4500 byte per exception.

    BTW, the makefile system recompiles almost everything if I just run 'make'
    again.

    Thanks,
    Greg

     

Log in to post a comment.