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

Select 1='' results TRUE

    XMLWordPrintable

Details

    Description

      In cli

      SELECT 1='';
      

      It results 1

      Same with

      SELECT 27='';
      

      Looks like the empty string will be converted to numeric.

      Btw. this is mariadb only. MySQL results 0.

      Best Regards,

      Susanne

      Attachments

        Activity

          People

            serg Sergei Golubchik
            miracee miracee
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.