[Phpmyadmin-devel] Re: TRUNCATE instead of DELETE
    Rabus 
    rabus at bugfixes.info
       
    Mon Apr 22 12:42:01 CEST 2002
    
    
  
----- Original Message -----
From: "Marc Delisle" <DelislMa at CollegeSherbrooke.qc.ca>
> good idea.  However is it possible to check for locks:
> "Not transaction-safe; you will get an error if you have an active
transaction or an active table
> lock. "
I don't know yet, I'm going to browse a bit through the docs...
But if not, it should work like this: If TRUNCATE fails, try DELETE instead.
Alexander
    
    
More information about the Developers
mailing list