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

unset params in --ps --embedded

    XMLWordPrintable

    Details

      Description

      here's a simple test case:

      select ?+1
      

      in normal mtr mode it fails with a syntax error. In --ps mode it fails because no values was supplied for a parameter. But in --ps --embedded it crashes, because the value was still not supplied, MYSQL_BIND is not initialized, but embedded doesn't know it, and accesses uninitialized structure.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: