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

            Assignee:
            serg Sergei Golubchik
            Reporter:
            miracee miracee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: