Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26906

New capability flag for not sending parameter metadata

    XMLWordPrintable

    Details

      Description

      In response to COM_STMT_PREPARE the server sends back metadata (24 bytes) for each parameter in prepared statement. The metadata information is incomplete, has wrong values and cannot be used. Therefore the client api function mysql_stmt_param_metadata always returns a hardcoded NULL.

      Proposal:
      Add a new extended capability flag MARIADB_CLIENT_SKIP_PARAM_METADATA. If this flag is set/supported both by client and server, the server will send only the number of parameters, but not parameter metadata.

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.