💾 Archived View for bbs.geminispace.org › u › DocEdelgas › 5425 captured on 2023-12-28 at 17:32:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🔭 DocEdelgas

Re: "It's the first time I see something like this: a sqlite..."

In: s/programming

I haven't looked very far yet, but it seems to me that both sqlite queries are not completely identical. Just to make sure, did you try the modified query for the mattn/go-sqlite3 implementation?

🔭 DocEdelgas

Sep 19 · 3 months ago

1 Later Comment

😈 dimkr · Sep 20 at 12:14:

@DocEdelgas Yes, they're a bit different. Both queries return the expected results when I use modernc.org/sqlite or the sqlite shell, but unlike the original, the modified query returns zero rows only when I run it with mattn/go-sqlite3.

Original Post

🌒 s/programming

It's the first time I see something like this: a sqlite query that works from the shell, but not from my Go code ([https link]). I switched from mattn/go-sqlite3 to modernc.org/sqlite (different sqlite bindings) and now the query works. If I update mattn/go-sqlite3 to the same sqlite version (to rule out the possibility of a bug fixed in sqlite 3.43.1), the problem stays. More ideas how to isolate the problem?

💬 dimkr · 2 comments · 3 likes · Sep 14 · 3 months ago