Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-273

-1 for length in mysql_stmt_prepare isn't documented

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.0.2
    • None
    • None
    • None

    Description

      Using -1 for the third, length parameter of mysql_stmt_prepare seems to work and is also used in the sample on this page:
      https://mariadb.com/kb/en/mariadb/bulk-insert-row-wise-binding/
      But it is not documented here:
      https://mariadb.com/kb/en/mariadb/mysql_stmt_prepare/

      I don't see MySQL documenting -1 as a valid value either, so either we document this as valid (which can potentially break MySQL compatibility) or we don't use it in the samples.

      Attachments

        Activity

          People

            georg Georg Richter
            karlsson Anders Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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