Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1290

php mysqli use vtable name in returned array rather than actual table

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 1.1.3
    • Icebox
    • MariaDB Server
    • None

    Description

      If you have a php application that uses the mysqli function mysqli_fetch_field_direct then the table name array element uses the vtable name rather than actual name.

      This is more problematic in the case where you have a query with a join where you have a column with the same name from 2 different tables being projected.

      Here is an example output, don't have an actual php test case at this point.

      Array
      (
          [0] => Array
              (
                  [$vtable_482] => Array
                      (
                          [a] => 6
                          [b] => 5
                      )
       
              )
       
      )
      

      Attachments

        Activity

          People

            LinuxJedi Andrew Hutchings (Inactive)
            dthompson David Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.