func (fc *firebirdsqlConn) Begin() (driver.Tx, error) { tx, err := newFirebirdsqlTx(fc.wp) fc.tx = tx fc.isAutocommit = false return driver.Tx(tx), err }
func (fc *firebirdsqlConn) begin(isolationLevel int) (driver.Tx, error) { tx, err := newFirebirdsqlTx(fc, isolationLevel, false) fc.tx = tx return driver.Tx(tx), err }