How to use C++ code in udf eg I want to use std::map in udf
24 views
Skip to first unread message
Tariq
unread,
Mar 14, 2008, 9:43:26 AM3/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to The UDF Repository for MySQL
Hello,
I am creating a udf in mysql and I want to use some c++ code
in it. Infact I want to use std::map in my udf to improve my udf
performance. Please tell me how can i call c++ code in c to create a
udf or the other way where i can create a complete c++ based udf
function in which i can use c++ features such as std::map or
std::vector etc. I will appreciate if u help me in this regard.
Thank you
Regards,
Tariq.
Jess Balint
unread,
Mar 14, 2008, 10:53:44 AM3/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tariq, The UDF Repository for MySQL
Tariq,
You have to export your UDF function as 'extern "C"'.