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

BIGINT type doesn't work within CAST

    XMLWordPrintable

Details

    • Task
    • Status: Stalled (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • Data types
    • None

    Description

      I need the following for the workaround suggested in MDEV-13297:

      SELECT CAST(NULL AS BIGINT)

      However, this gives a syntax error. Using INT instead works, but I don't know if MariaDB will now cut unioned values for the same column:

      SELECT CAST(NULL AS INT)

      Attachments

        Activity

          People

            Unassigned Unassigned
            doublep Paul Pogonyshev
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.