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

LP:778935 - Different types accepted by CAST() and COLUMN_CREATE()

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.1, 5.5.29, 5.3.11
    • Fix Version/s: 5.5
    • Component/s: None
    • Labels:

      Description

      The dynamic columns documentation at

      http://kb.askmonty.org/v/dynamic-columns

      provides a list of data types GET_COLUMN() accepts, as well as the note "Type here can be one of the same ones that you would use in CAST or CONVERT:". However, in practice, the allowed types for CAST and for GET_COLUMN are different and are different from what is specified in the dynamic columns manual.

      GET_COLUMN() accepts DOUBLE while CAST does not
      GET_COLUMN() does not accept SIGNED, UNSIGNED, BINARY and CHAR(N)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                philipstoev Philip Stoev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: