Tamás Gulácsi
Tamás Gulácsi
Hmmm. I cannot reproduce it (see TestLobSelectString, add a longer example). How long is that CLOB? Trond Kandal ezt írta (időpont: 2017. febr. 23., Cs, 6:48): > Hallo again, Sir!...
Sorry, I cannot reproduce the Marshal error: Check out master branch (2847fcc), and first test TestLobIssue156 (set GO_ORA_DRV_TEST_USERNAME, GO_ORA_DRV_TEST_PASSWORD and GO_ORA_DRV_TEST_DB environment variables, then run `go run -test=Issue156 -v`). If...
My first bet is that resultsets are "magically" closed when exhausted iff Rset.autoClose is true - otherwise, explicit close is needed. But I don't have time right now to investigate...
go get -u gopkg.in/rana/ora.v4 Copy the right oci8.pc under `%PKG_CONFIG_PATH%`: cp %GOPATH%\src\gopkg.in\rana\ora.oci8_windows_amd64.pc %PKG_CONFIG_PATH%\oci8.pc Customize `oci8.pc` till pkg-config --libs --cflags oci8 Shows the right directories for your installation of Oracle InstantClient...
Thanks a lot, @oqamar ! I do have Windows, but no dev env on it... So suggestions like this helps a lot!
Sorry, the other way around: `go test -run=156` But I've found that you MUST read your *ora.Lob RIGHT AFTER you've received it, you CANNOT gather them or close the result...
Even with 63101e74dd2131c16a3eb8b330bb856de4d1f976? Please uncomment the Printf in defLob.go, line 81 and run with that.
AsbI wrote: you cannot do anything on the same session with the Lob reading - use a Pool with a separate session per http request. Trond Kandal ezt írta (időpont:...
Either use go1.9 (1.7 is enough, but 1.9 is better) or replace all "context" import with "golang.org/x/net/context". On 2017. szept. 2., Szo 17:38 vk1818 wrote: > go version go1.6.2 linux/amd64...
Yes, exactly.