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

PS-9190: JS Stored Routines: basic functionality #5449

Open
wants to merge 8 commits into
base: 8.4
Choose a base branch
from

Commits on Oct 10, 2024

  1. Backport of fix for Bug#36430572 Bug#36491859: mysql_stored_program s…

    …ervice for string does not allow setting charset
    
    (commit 21056bf) from Oracle MySQL 9.0 tree.
    
    Bug#36430572 Bug#36491859: mysql_stored_program service for string does not allow setting charset
    
    - Add services for setting string for argument and return value which supports setting charset. However, for existing string types, the charset which is set at creation is used instead of the one set in these services.
    - Set Item name to be empty string for Item_string.
    
    Change-Id: I595a3d6e352af9632bb5473866e1c775f80e15f4
    chi-thang-duong authored and dlenev committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    ae6e9c8 View commit details
    Browse the repository at this point in the history
  2. Backport of fix for Bug#35517611 HCS-8941 SP string argument get does…

    …n't work for non-string types
    
    (commit aabae02) from Oracle MySQL 9.0 tree.
    
    Bug#35517611 HCS-8941 SP string argument get doesn't work for non-string types
    
    - Allocate a buffer from current_thd memroot and copy the string to this buffer. The return value is this buffer.
    
    Change-Id: I831185379fed78698daf95cdf4d60b365d458cb4
    chi-thang-duong authored and dlenev committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    10998c2 View commit details
    Browse the repository at this point in the history
  3. Backport of Postfix for Bug#35517611: SP string argument get doesn't …

    …work for non-string types
    
    (commit 632a740) from Oracle MySQL 9.0 tree:
    
    Postfix Bug#35517611: SP string argument get doesn't work for non-string types
    
    Change-Id: Ica4b6d1fb174cb572e79f6b30e5e0b7ce32889fc
    chi-thang-duong authored and dlenev committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    9d8528a View commit details
    Browse the repository at this point in the history
  4. PS-9190: JS Stored Routines: basic functionality

    https://perconadev.atlassian.net/browse/PS-9190
    
    Implement component that adds to Percona Server for MySQL support
    of Stored Functions and Procedures written in JS language or,
    more formally, ECMAScript by employing Google's V8 engine.
    
    This is the first commit in a series which implements basic
    functionality such as:
    
    - Creation/dropping of JS stored functions and procedures.
    - Execution of stored functions/procedures.
    - Support for return values for stored functions, IN and OUT parameters for procedures,
      including charset and type mapping/conversions.
    - New global dynamic privilege for JS routine creation and its checking.
    - Correct isolation of between different security contexts.
    dlenev committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    08266ae View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. PS-9190: JS Stored Routines: basic functionality

    First pack of post-review fixes.
    dlenev committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    979f144 View commit details
    Browse the repository at this point in the history
  2. PS-9190: JS Stored Routines: basic functionality

    Second pack of post-review fixes.
    dlenev committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    de9e37b View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. PS-9190: JS Stored Routines: basic functionality

    Third pack of post-review fixes.
    dlenev committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    2c5d8e3 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. PS-9190: JS Stored Routines: basic functionality

    Fourth pack of post-review fixes.
    dlenev committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    d3370b5 View commit details
    Browse the repository at this point in the history