Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

A UDF library of functions to map relational data to the JSON format.

Notifications You must be signed in to change notification settings

WenjieDu/lib_mysqludf_json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lib_mysqludf_json

Instructions

I forked this repo from mysqludf/lib_mysqludf_json and made some modifications 👇

I renamed functions json_array & json_object as udf_json_array & udf_json_object, because json_array & json_object have became mysql native functions since version 5.7.8. So if you don't change their name, you can't create udf with the same name as native functions'.

And of course, I changed json_array & json_object udf' names in lib_mysqludf_json.sql.

Original readme file

Original readme file is here

Compile lib_mysqludf_json.so

I deleted the old lib_mysqludf_json.so file, not only because it has udf with name like json_array/json_object, but also because it's just a 32-bit version.

So, you can compile it yourself using command gcc $(/your/mysql/bin/path/mysql_config --cflags) -shared -fPIC -o lib_mysqludf_json.so lib_mysqludf_json.c.

About

A UDF library of functions to map relational data to the JSON format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • C 55.9%
  • HTML 44.1%