[MDEV-251] USEFULL FUNCTION WITH WEB APPLICATIONS Created: 2012-05-04  Updated: 2013-04-11  Resolved: 2013-04-11

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Trivial
Reporter: roberto spadim Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-4387 UDF - Base64 encode/decode Closed

 Description   

Hi guys again
reading my old mysql feature requests i read about a interesting and very very used function
BASE64_ENCODE and BASE64_DECODE
this is very usefull with files to store than using a text free of sql injection and a very bad compression but usefull
check here http://bugs.mysql.com/bug.php?id=18861
the function is used in mysql client code, but not appended to mysql server, it can be done at client side but use a lot of network (when using BASE64_DECODE function, for BASE64_ENCODE is just needed when update/insert)
there´s a sql implementation and a pluging available at google and dev team, but they aren´t fast, and the plugin is a bit old
well if it´s still nice to implement....



 Comments   
Comment by Sergei Golubchik [ 2012-05-16 ]

Thanks for your suggestion, we'll consider it.

Comment by roberto spadim [ 2012-05-16 ]

nice sergei, if you look at bugs.mysql there's a patch (or a function) i don't remember now, with source and working (at last for mysql 4.xx) maybe this could help....
there's a base64 lib in mysql client too or mysqldump (i don't remember now)

maybe this could help developing faster =) bye thanks

Comment by roberto spadim [ 2013-04-11 ]

sorry, please close this i have duplicated it (MDEV-4387)

Generated at Thu Feb 08 06:27:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.