Linking libmysqlclient.a into shared libraries on HPUX 11.00

2006-05-19 Thread ianc
Hi, This is driving me crazy. When we were using MySQL 4.0.x we could create a shared library with libmysqlclient.a bound in. With MySQL 4.1 onwards, we get the error, /usr/ccs/bin/ld: Invalid loader fixup in text space needed in output file for symbol "$003A" in input file "/usr/local/my

Handler and flush tables with read lock

2006-05-17 Thread ianc
Hi, If you "open" a table using, HANDLER tablename OPEN; and then (in another MySQL command windows), execute, flush tables with read lock; The flush tables "hangs" until you execute a HANDLER tablename CLOSE; command. Is this a bug? Can anyone explain this? Many Regards, Ian Collins. -

help: I need to check if a connection_id is still alive (for advisory locking system).

2002-03-29 Thread ianc
I am trying to implement a simple advisory locking system for my application. It is trying to mimic the functionality of a legacy inhouse database application, and the mysql GET_LOCK or LOCK TABLE does not seem sufficient for our purposes, as our application requires tables to be locked/unlocked