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

UDF - Base64 encode/decode

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Hi guys, could BASE64_ENCODE and BASE64_DECODE be implemented as native functions in mariadb?

      there's some base64 function in source code of mariadb 10.0.0, and a old feature request in mysql bug system (year 2006) but it was removed (maybe oracle problems?)

      some links:
      http://php.net/manual/en/function.base64-encode.php

      inside mariadb-10.0.0 source code directory:

      mariadb-10.0.0# find -iname base64
      ./include/base64.h
      ./mysql-test/t/mysqlbinlog_base64.test
      ./mysql-test/r/mysqlbinlog_base64.result
      ./mysql-test/suite/binlog/t/binlog_base64_flag.test
      ./mysql-test/suite/binlog/r/binlog_base64_flag.result
      ./unittest/mysys/base64-t.c
      ./mysys/base64.c <--- this have encode and decode functions

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rspadim roberto spadim
              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.