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

Implement ConnBeginTx as replacement for deprecated Begin #1255

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

FelipeLema
Copy link
Contributor

@FelipeLema FelipeLema commented Mar 25, 2024

Summary

Implement missing method for dabase/sql/driver per drivers.ConnBeginTx interface. This interface is a replacement for Begin(), which is deprecated

Checklist

Delete items not relevant to your PR:

  • A human-readable description of the changes was provided to include in CHANGELOG
    • use description under Summary above

fixes pressly/goose#730 & #733

@CLAassistant
Copy link

CLAassistant commented Mar 25, 2024

CLA assistant check
All committers have signed the CLA.

@FelipeLema FelipeLema changed the title implement drivers.ConnBeginTx replace deprecated method in database/sql/driver Mar 25, 2024
@jkaflik jkaflik self-requested a review March 26, 2024 07:52
@jkaflik jkaflik changed the title replace deprecated method in database/sql/driver Implement ConnBeginTx as replacement for deprecated Begin Mar 27, 2024
Copy link
Contributor

@jkaflik jkaflik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jkaflik jkaflik merged commit b3f481c into ClickHouse:main Mar 27, 2024
12 checks passed
@FelipeLema FelipeLema deleted the implement-BeginTx branch March 27, 2024 14:37
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Apr 2, 2024
….23.0 (#32099)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://togithub.com/ClickHouse/clickhouse-go)
| `v2.22.4` -> `v2.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.22.4/v2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.22.4/v2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ClickHouse/clickhouse-go
(github.com/ClickHouse/clickhouse-go/v2)</summary>

###
[`v2.23.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2230-2024-03-27----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)

[Compare
Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.22.4...v2.23.0)

#### What's Changed

##### Enhancements 🎉

- Implement `ConnBeginTx` as replacement for deprecated `Begin` by
[@&#8203;FelipeLema](https://togithub.com/FelipeLema) in
[https://github.com/ClickHouse/clickhouse-go/pull/1255](https://togithub.com/ClickHouse/clickhouse-go/pull/1255)

##### Other Changes 🛠

- Align error message assertion to new missing custom setting error
formatting by [@&#8203;jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1256](https://togithub.com/ClickHouse/clickhouse-go/pull/1256)
- CI chores by [@&#8203;jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1258](https://togithub.com/ClickHouse/clickhouse-go/pull/1258)

#### New Contributors

- [@&#8203;FelipeLema](https://togithub.com/FelipeLema) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1255](https://togithub.com/ClickHouse/clickhouse-go/pull/1255)

**Full Changelog**:
ClickHouse/clickhouse-go@v2.22.4...v2.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clickhouse: getting a sql.ErrSkip at createVersionTable()
3 participants