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: gokulcoder7/mysql-connector-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e271035
Choose a base ref
...
head repository: mysql/mysql-connector-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5e47983
Choose a head ref
  • 16 commits
  • 67 files changed
  • 4 contributors

Commits on Feb 21, 2025

  1. BUG#37453587: Github links in PyPI project's pages do not work

    Fixed the links displayed in the PyPI project pages that are meant to open metadata files in GitHub such as LICENSE.txt.
    
    Change-Id: I53ecacb3f70f9e86920aeef5d87d5848e7981513
    javier-trevino committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    bbc36d5 View commit details
    Browse the repository at this point in the history
  2. BUG#37418436: Arbitrary File Read in MySQL Python Client library

    Local file access is strengthened on the client side (connector)
    when executing `LOCAL INFILE` statements.
    
    The connector is aware of the `filename` specified in a
    `LOCAL INFILE` statement (client request), and it verifies
    the `filename` got from the server response matches the requested.
    
    Change-Id: I7ff82dc5fdb1e62a97508f31f04ec7887e56b075
    oscpache committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    68a6b51 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2025

  1. WL#16327: Remove Cursors Prepared Raw and Named Tuple

    The cursors deprecated via WL#16318 are being removed in this worklog.
    
    Change-Id: Ic2eef8ecea6f8bb4c912b11998acbd525713a474
    SubCoder1 committed Feb 28, 2025
    Configuration menu
    Copy the full SHA
    a0e6975 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. BUG#37541353: (Contribution) Fix typing annotation of MySQLConnection…

    …Abstract's close function
    
    As part of the connection API, improved the type
    hint of `close()` which is an alias of the instance
    method `disconnect()`. Thanks, Parul Gupta, for the
    contribution!
    
    Additionally, since `close()` is the preferred term (see
    [PEP 249 – Python Database API Specification v2.0]),
    with this patch, we also changed roles by letting
    `disconnect()` now be an alias of `close()`.
    
    From a functional perspective, nothing changes, this
    modification is oriented to provide consistency and
    clarity to the interface declaration.
    
    Change-Id: I61d407186fcc9fa5496c617f05593c4c69bdfac8
    oscpache committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    09db398 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2025

  1. WL#16752: Deprecate class methods to access instance data or to know …

    …instance internal state
    
    Change-Id: I4293ddd909ad45c755f25845dbea0171b3139f79
    SubCoder1 committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    ec430bf View commit details
    Browse the repository at this point in the history
  2. BUG#37447394: Unable to escape a parameter marker (%s) used in a qu…

    …ery that should not
    
    be treated as a parameter marker.
    
    This patch fixes this issue by adding proper regular expression checks to escape the `%s`
    parameter marker when `%%s` is used in the query.
    
    Change-Id: I31fce87821832cefa607105e8e0d20ca3be3f380
    SubCoder1 committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    ed9e248 View commit details
    Browse the repository at this point in the history
  3. WL#16754: The host wildcard no longer applies to localhost

    The unittests are updated to reflect on the fact that the host
    wildcard match behaviour of schema and object level grants are
    not going to be applicable to localhost anymore.
    
    Change-Id: I2cce0a2b7bd266dc0dde84cc03274ad610112476
    SubCoder1 committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    790e6e9 View commit details
    Browse the repository at this point in the history
  4. BUG#37399636: The C-extension has a memory leak when working with pre…

    …pared statements
    
    Fixed a memory leak in the C-extension occurring in
    prepared statements. Prepared statement object
    reference counting was being incremented upon
    instantiation, but never decremented when closing
    the statement.
    
    Change-Id: Icbac790d47362a695f38666cecc79ad8cae1494b
    oscpache committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    936a405 View commit details
    Browse the repository at this point in the history
  5. Added the missing constant DEPRECATED_METHOD_WARNING which was eras…

    …ed while resolving
    
    merge conflicts between WL#16752 and WL#16754.
    
    Change-Id: Ide1db0292f815cba59160cbcd4348708ef60695a
    SubCoder1 committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    0bf204d View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2025

  1. BUG#36098290: mysql-connector-python is distributed without setup.py …

    …or pyproject.toml
    
    The source code distribution (sdist) posted on
    PyPI now is going to include the `setup.py`
    file, which is a must to build a wheel package
    from the sdist.
    
    Change-Id: I3271cc2647468e355aca8a03182fd249641e1669
    oscpache committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    e56c4ec View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2025

  1. BUG#37275524: Exception is not interpreted properly on prepared

    statements when C extension is in use
    
    This patch fixes the issue where incorrect error class is being raised
    by the connector while working with the prepared statements using
    C-Extension by ensuring that correct exception structure is maintained
    while forwarding the exception from C-API to the connector interface.
    
    Change-Id: Idfa0ee340dcd4f4b69cf27893f67278074ae8250
    SubCoder1 committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    a611aee View commit details
    Browse the repository at this point in the history
  2. BUG#37410052: Wrong exception message being shown when

    ConnectionRefusedError is raised by the client
    
    This patch fixes the incorrect error message which is being shown by
    the client when ConnectionRefusedError is being raised while connecting
    with a MySQL server.
    
    Change-Id: I6d99a0ee68e66105c17c975fa9e30717574fea5a
    SubCoder1 committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    ac3a5bf View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2025

  1. Updated the LICENSE files

    nawazn committed Mar 14, 2025
    Configuration menu
    Copy the full SHA
    521cef7 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2025

  1. Added fix for unittest launch and linter issues in the release branch

    This patch fixes the issue where bootstrapped mysql-9.3.0 server is
    trying to initialize to run the unittests by setting a value for the
    non-existent server variable `innodb_log_file_size`. Also, typing
    and linter issues are resolved.
    
    Change-Id: I39266fa3516958a6e875022bfca80e39d0f64b43
    SubCoder1 committed Mar 17, 2025
    Configuration menu
    Copy the full SHA
    149e5eb View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2025

  1. Updated Connector/Python version to 9.3.0

    Change-Id: I252d6714433bf0d5f3b306fb82f78a1e652625fd
    SubCoder1 committed Mar 18, 2025
    Configuration menu
    Copy the full SHA
    f9bdcea View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2025

  1. Update SASL-based LDAP authentication tests

    On Microsoft Windows, the server plugin for SASL-based
    LDAP authentication is not supported for MySQL Server 8.0.X.
    
    NOTE: The server-side LDAP authentication plugins are
    included only in MySQL Enterprise Edition.
    oscpache committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    5e47983 View commit details
    Browse the repository at this point in the history
Loading