Menu

Exceptions in CMySqlDatabase.getNextOIDAvalue

2004-06-28
2004-06-29
  • Eric Mckenna

    Eric Mckenna - 2004-06-28

    I'm seeing Exceptions being throw during calls to getNextOIDAvalue() in CMySqlDatabase.vb.  Is the follow correct?
    Dim x As New OIDException
    ...
    ...
    try
    ...
    catch
    ...
    Finally
          Me.freeConnection(conn)
          If Not x Is Nothing Then
            Throw x
          End If

    Doesn't x get thrown on every call??
    should the declaration be
    Dim x As OIDException

     
    • Richard Banks

      Richard Banks - 2004-06-29

      Oh Bugger!

      That's what you get for a rush job :-(

      I'll refresh the 0.1.9 release and update CVS...

      Thanks,
      Richard.

       
    • Eric Mckenna

      Eric Mckenna - 2004-06-29

      heh.. no worries. I'm sure you got 100 other things going on.

       

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.