Thread

  1. How to check that I am in transaction inside backend

    Denis Perchine <dyp@perchine.com> — 2000-11-02T05:09:44Z

    Hello,
    
    Having some expirience with catching errors with BLOBs, I realised, that it 
    is really hard to understand that you forget to enclose BLOB operations in 
    transaction...
    
    I would like to add a check for each BLOB operation which will check whether 
    we are in transaction, and if not it will issue a notice.
    
    The question is how correctly check that I am in transaction.
    
    -- 
    Sincerely Yours,
    Denis Perchine
    
    ----------------------------------
    E-Mail: dyp@perchine.com
    HomePage: http://www.perchine.com/dyp/
    FidoNet: 2:5000/120.5
    ----------------------------------
    
    
  2. Re: How to check that I am in transaction inside backend

    Christof Petig <christof.petig@wtal.de> — 2000-11-03T15:17:36Z

    Denis Perchine wrote:
    
    > Hello,
    >
    > Having some expirience with catching errors with BLOBs, I realised, that it
    > is really hard to understand that you forget to enclose BLOB operations in
    > transaction...
    >
    > I would like to add a check for each BLOB operation which will check whether
    > we are in transaction, and if not it will issue a notice.
    >
    > The question is how correctly check that I am in transaction.
    
    simply use IsTransactionBlock()
    
    Christof