def startTxn ( self ):
    """Start a transaction.  Ensure database is in multi-statement mode."""

    if self.conn is not None:
      self.cursor = self.conn.cursor()
      sql = "START TRANSACTION"
      self.cursor.execute ( sql )
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.startTxn/original