tgulacsi / goracle

cx_Oracle translation for Oracle access
Other
47 stars 16 forks source link

Need to close the cursor in driver.go? #4

Closed free1139 closed 11 years ago

free1139 commented 11 years ago

// commits currently opened transaction func (t tx) Commit() error { if t.cx != nil && t.cx.IsConnected() { return t.cx.NewCursor().Execute("COMMIT", nil, nil) } return nil }

tgulacsi commented 11 years ago

I've implemented the (somehow left out) Commit method. Can you try out https://github.com/tgulacsi/goracle/commit/7cb34c4c6618992f2a110e8579a581f98753a486 (ccc branch) ?

Thanks, GThomas