RE: Error comiling with C Api

2001-02-28 Thread Barry Radloff
... Barry -Original Message- From: Jérémy Cluzel [mailto:[EMAIL PROTECTED]] Sent: 28 February 2001 01:01 To: MySql List Subject: Error comiling with C Api Hi, I need help on compiling with the C APIs. mysql v3.22.30 glibc-2.1.2-11 source code: #include #include #include MYSQL mysql

Error comiling with C Api

2001-02-28 Thread Jérémy Cluzel
Hi, I need help on compiling with the C APIs. mysql v3.22.30 glibc-2.1.2-11 source code: #include #include #include MYSQL mysql; MYSQL_RES *res; MYSQL_ROW row; void exiterr(int exitcode){ fprintf( stderr, "%s\n", mysql_error(&mysql) ); exit( exitcode ); } int main(){ uint i = 0; i