Re: Final optimistic locking patch available / CAY-52 attachments need deleting

From: Mike Kienenberger (mkienen..laska.net)
Date: Sat Mar 20 2004 - 21:04:54 EST

  • Next message: Mike Kienenberger: "Re: Final optimistic locking patch available / CAY-52 attachments need deleting"

    Andrus Adamchik <andru..bjectstyle.org> wrote:
    >
    > On Mar 20, 2004, at 5:32 PM, Mike Kienenberger wrote:
    >
    > >> 4. Refactored DataNode.runBatchUpdateAsIndividualQueries to remove
    > >> redundant code, since the flow is essentially the same no matter
    > >> whether the locking is used or not.
    > >
    > > The trick in DataNode.runBatchUpdateAsIndividualQueries was that
    > > optimistic-locking code required query.next before each sql string
    > > creation.
    >
    > Didn't realize that. Is this because of "x = ?" vs. "x is null"? Then
    > there is not much we can do about. I guess we may need to change it
    > back.

    Yeah, that was exactly the case.

    -Mike



    This archive was generated by hypermail 2.0.0 : Sat Mar 20 2004 - 21:03:25 EST