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

dolt 1.50.1 #209603

Merged
merged 2 commits into from
Mar 3, 2025
Merged

dolt 1.50.1 #209603

merged 2 commits into from
Mar 3, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
# Merged PRs

dolt

  • 8910: Report auto increment changes in dolt diff and dolt_diff_summary()
    Potential fix for Why DOLT_DIFF_SUMMARY shows record without data change and schema change? dolthub/dolt#8907
    Previously, diffs would only look at the schema hash when determining whether or not a table had a schema change. However, the auto increment counter, which is considered part of the schema, is not stored in the schema flatbuffer and thus does not affect the schema hash.
    This led to situations where a diff would detect that a table had changed (because the table hash changed), but it reported neither a data change or a schema change (because the data hash and schema hash were the same.) This was confusing.
    Now, dolt_diff_summary will correctly report a schema change when the auto increment counter has changed, and dolt diff will show the autoincrement value in the SHOW CREATE TABLE output.
  • 8905: add pager support to sql shell
    Adds the \pager [on|off] capability to dolt sql.
    Fixes: Feature Request: Add pager support for dolt sql terminal output dolthub/dolt#8883
    Currently no tests. Would require expect, and is probably beyond the investment in time for this feature.
  • 8897: go: Bump to go 1.24. Fix some vet errors related to non-constant format strings.

go-mysql-server

  • 2864: Allow SHOW CREATE to display auto increment for tables that store AutoIncrement but don't support writing it.
    This is the GMS side of an issue to properly display diffs when the autoincrement counter on a table changes.
    We add a new interface, AutoIncrementGetter for tables that store AutoIncrement info, even if they can't generate autoincremented ids (because they're immutable snapshots of a table with an autoincrement column)
  • 2861: Added configurable options for how to quote identifiers in column defaults
  • 2859: server: Add a ContextFactory parameter to the handler, giving integrators control over the *sql.Context creation.

vitess

  • 399: go/mysql: conn.go: Fix read-after-recycle bug of the packet byte buffer in COM_{STMT_SEND_LONG_DATA,REGISTER_REPLICA,BINLOG_DUMP_GTID}.
    Back ports vitessio/vitess@24820d8
  • 398: Add select expressions for the Postgres INSERT ... RETURNING support
    Postgres allows INSERT statements (and also UPDATE and DELETE) to specify a RETURNING clause with select expressions and will then evaluate those expressions against the affected rows and return the results. This change adds initial support for the RETURNING select expressions so that they can be represented in the AST. (PostgreSQL docs)

Closed Issues

  • 8769: last_insert_id gives 0 when 0 is explicitly specified for an auto_increment primary key in an insertion
  • 8883: Feature Request: Add pager support for dolt sql terminal output

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Mar 3, 2025
Copy link
Contributor

github-actions bot commented Mar 3, 2025

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Mar 3, 2025
@BrewTestBot BrewTestBot enabled auto-merge March 3, 2025 20:38
@BrewTestBot BrewTestBot added this pull request to the merge queue Mar 3, 2025
Merged via the queue into master with commit 901ce41 Mar 3, 2025
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-dolt-1.50.1 branch March 3, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants