Skip to content
New issue

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

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

Already on GitHub? # to your account

[BL-8235] Fix a connection leak in PingContext #240

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

jackyhu-db
Copy link
Collaborator

Connection.Ping does not close the result set from query, which leads to open result set

@kravets-levko kravets-levko merged commit 12eeae8 into databricks:main Jul 30, 2024
2 of 3 checks passed
atzoum pushed a commit to rudderlabs/sqlconnect-go that referenced this pull request Aug 20, 2024
….5.7 to 1.6.0 (#154)

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps
[github.com/databricks/databricks-sql-go](https://github.com/databricks/databricks-sql-go)
from 1.5.7 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/databricks/databricks-sql-go/releases">github.com/databricks/databricks-sql-go's
releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<ul>
<li><code>databricks/databricks-sql-go#233</code><a
href="https://github.com/anthonycrobinson"><code>@​anthonycrobinson</code></a>)</li>
<li>Expose
<code>dbsql.ConnOption</code><code>databricks/databricks-sql-go#202</code><a
href="https://github.com/shelldandy"><code>@​shelldandy</code></a>)</li>
<li><code>databricks/databricks-sql-go#240</code><a
href="https://github.com/jackyhu-db"><code>@​jackyhu-db</code></a>)</li>
</ul>
<p><strong>Full changelog:</strong> <a
href="https://github.com/databricks/databricks-sql-go/compare/v1.5.7...v1.6.0">https://github.com/databricks/databricks-sql-go/compare/v1.5.7...v1.6.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/databricks/databricks-sql-go/blob/main/CHANGELOG.md">github.com/databricks/databricks-sql-go's
changelog</a>.</em></p>
<blockquote>
<h2>v1.6.0 (2024-07-31)</h2>
<ul>
<li><code>databricks/databricks-sql-go#233</code><a
href="https://github.com/anthonycrobinson"><code>@​anthonycrobinson</code></a>)</li>
<li>Expose
<code>dbsql.ConnOption</code><code>databricks/databricks-sql-go#202</code><a
href="https://github.com/shelldandy"><code>@​shelldandy</code></a>)</li>
<li><code>databricks/databricks-sql-go#240</code><a
href="https://github.com/jackyhu-db"><code>@​jackyhu-db</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/databricks/databricks-sql-go/commit/93222abd7f5be64af98bd90fe8d60972d365eda6"><code>93222ab</code></a>
Prepare release v1.6.0 (<a
href="https://github.com/databricks/databricks-sql-go/issues/241">#241</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sql-go/commit/12eeae81ea89bc7b75301aa49fbab1ef3ba52e0d"><code>12eeae8</code></a>
[BL-8235] Fix a connection leak in PingContext (<a
href="https://github.com/databricks/databricks-sql-go/issues/240">#240</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sql-go/commit/fe1beeae91153da14fdeea105a03d0cf169a2ddc"><code>fe1beea</code></a>
Fix missed connOption when exporting ConnOption type (<a
href="https://github.com/databricks/databricks-sql-go/issues/238">#238</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sql-go/commit/f0e3a08475e58316c2f6141590eba5899a4ef693"><code>f0e3a08</code></a>
Expose dbsql.connOption type (<a
href="https://github.com/databricks/databricks-sql-go/issues/202">#202</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sql-go/commit/a21b1248382f7132da5aa4cdcba8eedc1a920a67"><code>a21b124</code></a>
Remove secrets (<a
href="https://github.com/databricks/databricks-sql-go/issues/236">#236</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sql-go/commit/bd10b6262c88da22a7ba09737fe64b1091c2476c"><code>bd10b62</code></a>
fix(security): Bump x/net to v0.17 to resolve vulnerability (<a
href="https://github.com/databricks/databricks-sql-go/issues/233">#233</a>)</li>
<li>See full diff in <a
href="https://github.com/databricks/databricks-sql-go/compare/v1.5.7...v1.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/databricks/databricks-sql-go&package-manager=go_modules&previous-version=1.5.7&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants