Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-sql-driver/mysql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.3
Choose a base ref
...
head repository: go-sql-driver/mysql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 14 commits
  • 23 files changed
  • 7 contributors

Commits on Apr 8, 2025

  1. Configuration menu
    Copy the full SHA
    c84f49d View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2025

  1. modernize for Go 1.22 (#1695)

    $ go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix ./...
    methane authored Apr 11, 2025
    Configuration menu
    Copy the full SHA
    879eb11 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2025

  1. test stability improvement.

    * ensuring performance schema is enabled when testing some performance schema results
    * Added logic to check if the default collation is overridden by the server character_set_collations
    * ensure using IANA timezone in test, since tzinfo depending on system won't have deprecated tz like "US/Central" and "US/Pacific"
    rusher authored and methane committed Apr 20, 2025
    Configuration menu
    Copy the full SHA
    f433f1f View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2025

  1. simplify collation tests

    methane committed Apr 21, 2025
    Configuration menu
    Copy the full SHA
    8a2f873 View commit details
    Browse the repository at this point in the history
  2. add Diego Dupin to AUTHORS

    methane committed Apr 21, 2025
    Configuration menu
    Copy the full SHA
    c786d41 View commit details
    Browse the repository at this point in the history
  3. ColumnTypeScanType() returns sql.Null[uint64] for bigint unsigned (#1612

    )
    
    Co-authored-by: elonnzhang <[email protected]>
    Co-authored-by: Inada Naoki <[email protected]>
    3 people authored Apr 21, 2025
    Configuration menu
    Copy the full SHA
    e02b809 View commit details
    Browse the repository at this point in the history
  4. Transaction Commit/Rollback returns conn's cached error, if present (#…

    …1691)
    
    If a transaction connection has a cached error, return it
    instead of ErrInvalidConn during Commit/Rollback operations.
    Fix #1690
    brad-defined authored Apr 21, 2025
    Configuration menu
    Copy the full SHA
    7da50ff View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2025

  1. add BenchmarkReceive10kRowsCompress (#1704)

    * Rename BenchmarkReceiveMassiveRows to BenchmarkReceive10kRows
    * Add BenchmarkReceive10kRowsCompress that run BenchmarkReceiveMassiveRows with compression
    * Other tiny benchmark improvements.
    methane authored Apr 23, 2025
    Configuration menu
    Copy the full SHA
    f7d94ec View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. optimize readPacket (#1705)

    Avoid unnecessary allocation.
    methane authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    0fd55eb View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2025

  1. MariaDB Metadata skipping and DEPRECATE_EOF (#1708)

    [MariaDB metadata skipping](https://mariadb.com/kb/en/mariadb-protocol-differences-with-mysql/#prepare-statement-skipping-metadata).
    
    With this change, MariaDB server won't send metadata when they have not changed, saving client parsing metadata and network.
    
    This feature rely on these changes:
    * extended capabilities support 
    * EOF packet deprecation makes current implementation to be revised
    
    A benchmark BenchmarkReceiveMetadata has been added to show the difference.
    rusher authored Apr 26, 2025
    Configuration menu
    Copy the full SHA
    6e944e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2025

  1. Optimization: statements reuse previous column name (#1711)

    #1708 added `[]mysqlField` cache to stmt. It was used only for MariaDB cached metadata.
    
    This commit allows MySQL to also benefit from the metadata cache. If the
    column names are the same as the cached metadata, it reuses them instead
    of allocating new strings.
    
    goos: darwin
    goarch: arm64
    pkg: github.com/go-sql-driver/mysql
    cpu: Apple M1 Pro
                      │ master.txt  │           reuse.txt           │
                      │   sec/op    │   sec/op     vs base          │
    ReceiveMetadata-8   1.273m ± 2%   1.269m ± 2%  ~ (p=1.000 n=10)
    
                      │  master.txt  │              reuse.txt              │
                      │     B/op     │     B/op      vs base               │
    ReceiveMetadata-8   88.17Ki ± 0%   80.39Ki ± 0%  -8.82% (p=0.000 n=10)
    
                      │  master.txt  │             reuse.txt              │
                      │  allocs/op   │ allocs/op   vs base                │
    ReceiveMetadata-8   1015.00 ± 0%   16.00 ± 0%  -98.42% (p=0.000 n=10)
    methane authored Apr 29, 2025
    Configuration menu
    Copy the full SHA
    2356566 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2025

  1. Configuration menu
    Copy the full SHA
    af56fba View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2025

  1. fix PING on compressed connections (#1721)

    Add missing mc.syncSequence()
    
    Fix #1718
    methane authored Jun 12, 2025
    Configuration menu
    Copy the full SHA
    bf7afb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2025

  1. add DeepWiki badge (#1722)

    methane authored Jun 13, 2025
    Configuration menu
    Copy the full SHA
    76c00e3 View commit details
    Browse the repository at this point in the history
Loading