Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

参照先テーブルのキーが座標型なカラムに対する SetValue() が失敗する #22

Open
s-yata opened this issue Jul 31, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@s-yata
Copy link
Contributor

s-yata commented Jul 31, 2015

概要

参照先テーブルのキーが TokyoGeoPoint, WGS84GeoPoint であり,指定された値がキーとして存在しないとき, SetValue() により正しく値を設定することができません.

以下のコメントアウトを解除することで再現できます.

$ go test
--- FAIL: TestRefColumn (0.09s)
    grngo_test.go:558: DeepEqual() failed: value = {132293323 518509152}, storedValue = {0 0}
    grngo_test.go:578: [ fail ] keyType = "TokyoGeoPoint", refType = "Table"
    grngo_test.go:558: DeepEqual() failed: value = {91870030 516000717}, storedValue = {0 0}
    grngo_test.go:578: [ fail ] keyType = "WGS84GeoPoint", refType = "Table"
FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant