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

LP:778915 - Error "1660 Illegal value used as argument of dynamic column function" is not helpful

    XMLWordPrintable

    Details

      Description

      Error " 1660 Illegal value used as argument of dynamic column function" shows up when one tries to assign two values to the same dynamic column within a single statement. The same operation would be allowed in an INSERT, where the last value would be used. So, either make dynamic columns behave as INSERT, or provide a better error message, e.g. "duplicate field name"

      For example:

       SELECT COLUMN_CREATE( 5 , 1 , 5 , 1 ) ;

        Attachments

          Activity

            People

            Assignee:
            monty Michael Widenius
            Reporter:
            philipstoev Philip Stoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: