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

Do not search charset in mysql_real_connect if already set #3249

Merged
merged 9 commits into from
Jan 20, 2021

Commits on Jan 14, 2021

  1. Do not search charset in mysql_real_connect if already set

    In mysql_init() charset is set to NULL .
    In mysql_read_connect() charset is not changed if already set
    
    This allows proxysql to change it outside the library
    renecannao committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    1ecb00f View commit details
    Browse the repository at this point in the history
  2. Do ot use charset_name if not available in SQL3_Free_Connections()

    This fix a crashing bug
    renecannao committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    c27ac75 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Fixed undefined behavior in 'test_ps_large_result-t.cpp-t' due non-vo…

    …id non returning functions
    JavierJF committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    d29cb96 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2021

  1. Correct typo latin1_german1_ci in libmariadbclient

    Collation latin1_german1_ci was incorrectly named latin1_german_ci in libmariadbclient .
    This seems to be fixed in version 3.1 but not in 3.0 .
    Do not port this commit to proxysql 2.1 because it already uses libmariadbclient 3.1
    renecannao committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    7044aca View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. Do not search charset in mysql_change_user if already set

    This is an extension of commit 1ecb00f about mysql_real_connect
    
    It also changes mysql_optionsv() for MYSQL_SET_CHARSET_NAME
    renecannao committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    21d0c8e View commit details
    Browse the repository at this point in the history
  2. When calling mysql_change_user set collation to default for the given…

    … charset if collation ID is greater or equal than 255 (utf8mb4_0900_ai_ci)
    
    We call mysql_options with MYSQL_SET_CHARSET_NAME if collation ID >= 255 .
    This to solve the problem of MySQL server returning an Access denied if the backend doesn't support a collation during mysql_change_user
    renecannao committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    78d3830 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Configuration menu
    Copy the full SHA
    cbcf2a9 View commit details
    Browse the repository at this point in the history
  2. Added new test 'test_set_collation-t' to verify that ProxySQL is prop…

    …erly setting collation specified by the client
    JavierJF committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    e4b85e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92e82cb View commit details
    Browse the repository at this point in the history