hi everybody,


i'm trying to add a udf to mysql that itself accesses the database.
anybody ever tried that?

i want a function to dynamically create a database, symbolic links and tables.
i thought it could be as easy as just mix up a "normal udf" with my table-creating thing.
but when i try to create the function mysql says: errno: 2 /usr/lib/myso.so: undefined symbol _Z10mysql_initP8st_mysql
(works fine if i pack it into a main-function and compile/link without the -shared option)
or is it the wrong library? ( -L'/usr/lib/mysql' -lmysqlclient)


or is it just evil to load a shared client into the server? :-)

...btw. does anyone have an example of a working udf written in c++? i had to write everything in c :-|

nobab
northern baltic blue gmbh
[EMAIL PROTECTED]
www.nobab.com
Stammhaus: Maklerstraße 6 - 24159 Kiel
Telefon 0431 33 983 0
Niederlassung West: Siemensring 27 - 47877 Willich
Telefon 02154 48129 00
Büro Haiger (im Hause Pracht): Hansastr. 10 - 35708 Haiger
Niederlassung Südwest (im Hause DPD): Carl-Benz-Straße 15 - 71634 Ludwigsburg
Telefon 07141 300371 980
Büro Freising bei München (im Hause trans-o-flex): Adolf-Kolping-Str. 10 - 85356 
Freising
Zentralfax 0431 33983 20

---------------------------------------------------------------------
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



Reply via email to