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

sqlite: collation breaks randomly #955

Open
flimzy opened this issue Apr 29, 2024 · 0 comments
Open

sqlite: collation breaks randomly #955

flimzy opened this issue Apr 29, 2024 · 0 comments

Comments

@flimzy
Copy link
Member

flimzy commented Apr 29, 2024

--- FAIL: TestDBQuery (0.75s)
    --- FAIL: TestDBQuery/default_CouchDB_collation (0.09s)
        query_test.go:756: Unexpected rows:
              []sqlite.rowResult{
                ... // 19 identical elements
                {ID: "array: [b, d, e]", Key: `["b","d","e"]`, Value: "null"},
                {ID: "object: {a:1}", Key: `{"a":1}`, Value: "null"},
                {
            -           ID:    "object: {a:2}",
            +           ID:    "object: {b:1}",
                        Rev:   "",
            -           Key:   `{"a":2}`,
            +           Key:   `{"b":1}`,
                        Value: "null",
                        Doc:   "",
                        Error: "",
                },
                {
            -           ID:    "object: {b:1}",
            +           ID:    "object: {a:2}",
                        Rev:   "",
            -           Key:   `{"b":1}`,
            +           Key:   `{"a":2}`,
                        Value: "null",
                        Doc:   "",
                        Error: "",
                },
                {ID: "object: {b:2, c:2}", Key: `{"b":2,"c":2}`, Value: "null"},
              }
@flimzy flimzy changed the title sqlite: collatoin breaks randomly sqlite: collation breaks randomly May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant