[MDEV-3786] LP:778915 - Error "1660 Illegal value used as argument of dynamic column function" is not helpful Created: 2011-05-07 Updated: 2012-10-04 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | Launchpad, MariaDB_5.3 | ||
| Attachments: |
|
| 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 ) ; |
| Comments |
| Comment by Michael Widenius [ 2011-05-10 ] |
|
Re: Error "1660 Illegal value used as argument of dynamic column function" is not helpful |
| Comment by Rasmus Johansson (Inactive) [ 2011-05-10 ] |
|
Launchpad bug id: 778915 |
| Comment by Michael Widenius [ 2011-05-10 ] |
|
Re: Error "1660 Illegal value used as argument of dynamic column function" is not helpful |