MySQL C problem with 4.1.0 Alpha

2003-09-12 Thread David Ritter
Hello all, I am running into a problem with the C client and I would like to know if the error I am seeing is expected or not. The application I am running does not know anything about the SQL statements it is running. So I don't know whether I am executing a statement with bound parameters or n

Re: UDF in c++ problem

2002-09-06 Thread Gelu Gogancea
] [EMAIL PROTECTED] - Original Message - From: "Fei Chen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 06, 2002 7:03 PM Subject: UDF in c++ problem > Dear list, > > I have a version of a shared lib, say udf_test

UDF in c++ problem

2002-09-06 Thread Fei Chen
Dear list, I have a version of a shared lib, say udf_test.so, written in C, that loads using "mysql> CREATE FUNCTION ..." without a problem. Now say I create another lib, udf_test1.so, that's written in C++ and includes code from udf_test.so (declared using extern "C"{}), MySQL complains ERROR 11

RE: C problem

2001-01-26 Thread indrek siitan
Hi, just #include "mysql.h" and when compiling, add -I/usr/local/mysql/include/mysql flag to the compiler options. Rgds, Indrek --- Indrek Siitan, tegevjuht eMotion OÜ [http://www.eMotion.ee] e-mail: [EMAIL

RE: C problem

2001-01-26 Thread Evan James Dembskey
Hi, > CLOS ?? Corel Linux. :-) > Did you install just a precompiled version of MySQL? Sometimes there exist > separate packages for developpers including the header files and > libraries. Nope - I installed from source! mysql.h is in the /usr/local/mysql/include/mysql directory, but I don'

Re: C problem

2001-01-26 Thread Remco van den Berg
On Fri, Jan 26, 2001 at 02:28:37PM +0200, Evan James Dembskey wrote: > > It appears as if I have installed MySQL successfuly (under CLOS 1.2). CLOS ?? > However, everytime I try to > > #includeOR #include "mysql.h" OR #include >ETC > > I get a "No such file or directory" error.

C problem

2001-01-26 Thread Evan James Dembskey
Hi, It appears as if I have installed MySQL successfuly (under CLOS 1.2). However, everytime I try to #includeOR #include "mysql.h" OR #include ETC I get a "No such file or directory" error. Okay - so what library do I include then? Regards, Evan