Re: C API : Problem using multi-statements

2005-05-06 Thread Jeremiah Gowdy
doh! need another redbull. :) - Original Message - From: "Reggie Burnett" <[EMAIL PROTECTED]> To: "'Jeremiah Gowdy'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; Sent: Friday, May 06, 2005 9:31 AM Subject: RE: C API : Problem using mu

RE: C API : Problem using multi-statements

2005-05-06 Thread Javier Diaz
: Re: C API : Problem using multi-statements Answer is simple. Can't do that. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, May 06, 2005 5:40 AM Subject: C API : Problem using multi-statements Hello, I have some problems using multiple queries in a datab

RE: C API : Problem using multi-statements

2005-05-06 Thread Reggie Burnett
Jeremiah I don't use the client library in my work but this should work from 4.1 on. -Reggie -Original Message- From: Jeremiah Gowdy [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 11:19 AM To: [EMAIL PROTECTED]; mysql@lists.mysql.com Subject: Re: C API : Problem

Re: C API : Problem using multi-statements

2005-05-06 Thread Jeremiah Gowdy
Answer is simple. Can't do that. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, May 06, 2005 5:40 AM Subject: C API : Problem using multi-statements Hello, I have some problems using multiple queries in a databased driven project, therefore I wrote a little testprogra

Re: C API problem, CREATE TABLE SELECT & SELECT

2001-11-23 Thread Attila Soki
| query_len = sprintf(query, "CREATE TEMPORARY TABLE temp SELECT "); try it out with asprintf(). but you have to define at compile time the following -D_GNU_SOURCE maybe you allocates not enough place for query. asprintf do it for you. char *query; int query_len; query_len=asprintf(&query

Re: C API problem

2001-04-19 Thread Laurent Oget
On Thu, Apr 19, 2001 at 11:12:23PM +0800, john1 wrote: > > /home/MySQL/MySQL/lib/libmysqlclient.a(my_open.o)In function 'my_open': > my_open.o(.text+0x14):undefined reference to 'open64' > /home/MySQL/MySQL/lib/libmysqlclient.a(mf_format.o)In function 'fn_format': > mf_format.o(.text+0x201):undef

Re: C API problem

2001-03-19 Thread Gerald L. Clark
You clibs are too old. You are probably running a very old version of Linux. john1 wrote: > > Dear Sir : > > MySQL 3.22.32 on my linux 486 PC seems work so good. When I compile > a simple C API program which catched from MySQL tutorial, it > chokes at the end of compile process . The program is

Re: C API problem

2001-03-07 Thread Gerald L. Clark
Your clibs are too old. You need to update. john1 wrote: > > dear Sir : > > MySQL 3.22 on my linux 486 PC seems work so good. when I compile > a simple C API program which catched from the MySQL tutorial, it > chokes at the end of compile process . the program is as follows: > > #include > #i

RE: C API problem

2001-03-05 Thread Quentin Bennett
Hi, Check for open64 in the archives for the last month, and you will find your answer (which is to upgrade your gcc). Regards Quentin -Original Message- From: john1 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 6 March 2001 4:47 a.m. To: [EMAIL PROTECTED] Subject: C API problem dear Sir

Re: C API problem

2001-03-05 Thread Boulat Khakimov
john1 wrote: > > dear Sir : > > MySQL 3.22 on my linux 486 PC seems work so good. when I compile > a simple C API program which catched from the MySQL tutorial, it > chokes at the end of compile process . the program is as follows: > > #include > #include > > #define def_host_name NULL > #de

Re: C API problem

2001-03-05 Thread john1
dear Sir, It's so exiting receive your mail. For months it's the first and perhaps the only mail I receive. Thank you. There are quetions remain: Isn't it the complete 3.22 package I installed ? I've read several text books about Mysql, that they don't mention the Mysql-devel package, and the a

Re: C API problem

2001-03-01 Thread Shambhu Kumar singh
Hi John, I had faced a similar problem earlier, I solved it my instaling MySQL-devel package and include the libmyclient library stored in /usr/lib (not in /usr/lib/mysql/)in the compile command. Best of Luck, Shambhu. - Original Message -- john1 <[EMAIL PROTECTED]> wr

Re: C API problem

2001-03-01 Thread Sinisa Milivojevic
Laurent Oget writes: > I am not sure this will solve your probleme but you need to add -lnsl and -lsocket >to the compile command line. > > On Thu, Mar 01, 2001 at 11:03:11PM +0800, john1 wrote: > > dear Sir : > > > > MySQL 3.22 on my linux 486 PC seems work so good. when I compile > >

Re: C API problem

2001-03-01 Thread Laurent Oget
I am not sure this will solve your probleme but you need to add -lnsl and -lsocket to the compile command line. On Thu, Mar 01, 2001 at 11:03:11PM +0800, john1 wrote: > dear Sir : > > MySQL 3.22 on my linux 486 PC seems work so good. when I compile > a simple C API programe which catched from