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

SOUNDEX() Algorithm Returns Incorrect Results for Letters With The Same Soundex Code and Vowel Separators

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • Server

    Description

      MariaDB's SOUNDEX() algorithm returns incorrect results when used on character sequences which have only one consonant soundex coding separated by vowels and a starting letter with the same coding as the consonant:

      Ex. The proper result for SOUNDEX("Popoff") is P110: Popoff-> P01011 -> P110 (since zeros are dropped and side by side same letters are reduced). Instead, your system returns P000, which is the same result as SOUNDEX("P"), which is clearly ridiculous.

      I have not seen any proper Soundex() which operates in the way yours currently does.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            dkkolli Venkata Sai Dhakshesh Kolli
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.