Skip to content

docs: SingleStore catalogue NULL fix merged upstream (#47) - #145

Merged
singhpratech merged 1 commit into
mainfrom
docs/singlestore-47-merged
Sep 24, 2026
Merged

singhpratech merged 1 commit into
mainfrom
docs/singlestore-47-merged

Conversation

@singhpratech

Copy link
Copy Markdown
Owner

The second of the two SingleStore fixes merged: #47, 2026-09-23T14:52:44Z, merge commit e760503629, closing #46 the same minute. Approved with no changes requested.

On a connection opened without Database=, TABLE_CAT fell back to the client library's current-database field, which stays NULL after a USE, so SQLColumns and SQLPrimaryKeys reached strdup(NULL) and took the client process down. The fix answers NULL for TABLE_CAT instead, with a test in test/catalog2.c for that connection shape.

That completes the pair reported on 2026-09-04 — both defects fixed by our pull requests, both merged the same day. #48's row moved in #142; this is #47's.

No compatibility-note change is needed: the crash was never recorded as a matrix caveat, because the entry supplies Database= and so never hit it.

Still unreleased — master is at 1.2.2 with no version bump staged, so the shipped-in line waits for the tag.

Approved and merged 2026-09-23 by the maintainer, merge commit e760503629,
closing memsql/singlestore-odbc-connector#46 the same minute with no changes
requested. That completes the pair reported on 2026-09-04: both defects are
now fixed by our pull requests.

Not in a release yet; master is at 1.2.2 with no version bump staged, so the
shipped-in line waits for the next tag.
@singhpratech
singhpratech merged commit 9cb7101 into main Sep 24, 2026
6 checks passed
@singhpratech
singhpratech deleted the docs/singlestore-47-merged branch September 24, 2026 04:36
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

Successfully merging this pull request may close these issues.

1 participant