Skip to content

[Build-deps]: Bump github.com/dolthub/go-mysql-server from 0.14.0 to 0.20.0#5172

Draft
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0
Draft

[Build-deps]: Bump github.com/dolthub/go-mysql-server from 0.14.0 to 0.20.0#5172
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2025

Bumps github.com/dolthub/go-mysql-server from 0.14.0 to 0.20.0.

Release notes

Sourced from github.com/dolthub/go-mysql-server's releases.

May 2025 Release

This is a periodic rollup release of features, bug fixes, and performance improvements. Interfaces are not guaranteed to stabilize until 1.0.

Merged PRs

go-mysql-server

  • 2974: fixval.TextStorage panic fixes: dolthub/dolt#9202
  • 2973: implement quote MySQL Docs: https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_quote
  • 2972: make bit type columns with default values round trippable fixes: dolthub/dolt#9194
  • 2967: Unwrap wrapped values before computing their hash. (This PR changes the types in one of the tables used in tests. This improves the test coverage for TEXT columns, especially when they're used in conjunction with other tables with VARCHAR columns. None of the existing tests were testing the original type: this should be strictly increasing our test coverage.) The following plans involve computing a hash of rows to store in an in-memory hash set:
    • Intersect, Except, and Distinct
    • HashLookup
    • InSubquery
    • HashSubquery
    • FullJoinIter
    • ConcatJoin
    • Recursive CTE
    • UpdateJoinIter We weren't previously unwrapping wrapped values before computing hashes. The default hash implementation used the struct's %v representation to compute the hash, which has two problems:
    • The hash of the %v representation of a wrapper struct is not the same as the hash of the value that the wrapper is semantically equivalent to.
    • The hash of the %v representation of a wrapper struct depends on internal state, such as whether the wrapped has already been unwrapped once before (and cached the unwrapped value in an internal buffer) The simplest fix is to unwrap values before computing a row hash in the HashOf function. However, this fix comes at a cost: it now requires the engine to unwrap all values if they get used in any of the above plans. This will hurt performance for any of the above plans if they don't actually need to unwrap the value. For example, an UpdateJoinIter on a table with a TEXT column will now load that column from disk, even if its value is never used. A better fix might be to use the Hash() function that is already defined on the sql.Wrapper interface. For all existing Wrapper implementations, this returns the Dolt content address of the value, and is the same regardless of whether or not that address has previously been resolved. However, this would still return a different hash than an equivalent string. If we wanted them to return the same hash, Dolt would need to define a custom hash for strings that computes the Dolt content address of the string if it were to be stored as a Dolt chunk. This would likely be slower than Go's builtin hash for strings, although the performance might be comparable? This would likely result in worse performance for plans that don't use TEXT columns.
  • 2966: Fix float to bigint conversion result Fixes: dolthub/dolt#9178 Test to be added to dolt engine tests
  • 2964: Unwrap inputs to REGEXP_LIKE, REPLACE, and RPAD/LPAD functions. These are a couple more functions whose inputs aren't being unwrapped. If the inputs come from a column with a TEXT type, then they won't be converted to strings and the functions will fail. This PR fixes this by making sure that the inputs are converted. We missed this previously because although we have tests for these functions, none of them tested getting the inputs from TEXT columns of a table.
  • 2963: From unixtime Merged main from dolthub/go-mysql-server#2910
  • 2962: fix infinite recursion with recursive stored procedures fixes: dolthub/dolt#8763
  • 2961: fix prepare statements and user vars in stored procedures This PR adds tests for user variables within Stored Procedures. Additionally, this PR has changes so that we don't double parse PREPARE ... FROM ... statements, which also allows them to be used in the updated Stored Procedures call. fixes: dolthub/dolt#8911
  • 2959: Doltgres literal support This makes literal expression implement the sqlparser.Injectable interface so they can be used in Doltgres AST conversion. Also exports fields so literals can be edited in place (required for how Doltgres processes these in a couple places). This is an alternative to dolthub/go-mysql-server#2946.
  • 2958: Correctly map enum values when altering an enum column. When altering the possible values of an enum column, the mapping between enum strings and their indexes may change. In order to alter the column correctly, we need to map the old indexes onto the new ones.

... (truncated)

Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot requested review from glpatcern, gmgigi96 and labkode May 19, 2025 00:48
@dependabot dependabot Bot requested a review from diocas as a code owner May 19, 2025 00:48
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 19, 2025
@dependabot dependabot Bot requested a review from jessegeens as a code owner May 19, 2025 00:48
@dependabot dependabot Bot added the go Pull requests that update Go code label May 19, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 19, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch from 39a1e35 to 5430ee8 Compare May 22, 2025 06:42
@glpatcern glpatcern marked this pull request as draft May 22, 2025 15:28
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch 2 times, most recently from c2caabd to e40d5a3 Compare June 2, 2025 13:40
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch from e40d5a3 to 6abf4ed Compare June 12, 2025 14:32
@glpatcern
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch from 6abf4ed to 07a1ea3 Compare July 28, 2025 06:41
@glpatcern
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch from 07a1ea3 to 7f3ad5f Compare September 8, 2025 08:19
@glpatcern
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch from 7f3ad5f to 2f8b95c Compare September 9, 2025 15:03
@jessegeens
Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [github.com/dolthub/go-mysql-server](https://github.com/dolthub/go-mysql-server) from 0.14.0 to 0.20.0.
- [Release notes](https://github.com/dolthub/go-mysql-server/releases)
- [Commits](dolthub/go-mysql-server@v0.14.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/dolthub/go-mysql-server
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/dolthub/go-mysql-server-0.20.0 branch from 2f8b95c to dee85a9 Compare May 8, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants