Re: My Sql C_API(Urgent)

2001-05-11 Thread Shambhu Kumar singh
Hi, Instead of working with the strmov function use pointers to work on it, like I had to Ex: char myQuery[1024]=; CurrentAddress = myQuery; CurrentAddress+= mysql_real_escape_string( MysqlStruct,CurrentAddress, string, strlen(string) ); Best of Luck, S.K. Singh. - Original

change default delimiter

2001-04-12 Thread Shambhu Kumar singh
Hi, Can somebody help me, with changing the default delimiters of MySQL. For Example I want to change the single quotes that enclose a string in an INSERT statement to #. How can it be done. Thanks in advance. Shambhu kumar Singh. _ Chat

Insert Problem in C API

2001-04-12 Thread Shambhu Kumar singh
hen mydata contains a single quote, then that single quote is taken as the end of the column value by the MySQL parser and the data after the quote is ignored resulting in an error. Help is urgently required. Thanks in advance. Shambhu k

Re: How compile a C/C++ program which use API for mysql?

2001-03-30 Thread Shambhu Kumar singh
Make sure you have installed the MySql-shared package At the command prompt type gcc -lmysqlclient -I/usr/include/mysql file.c where file.c will be file that contains the C APIs Best Of Luck Shambhu. _ Chat with your friends as soon as

C API for Create Table

2001-03-12 Thread Shambhu Kumar singh
Hi, Can anyboby help me out. I am in a fix over how to carry out CREATE TABLE using C APIs. The manual is of no help in this matter. So anybody I please help me out. Thanks in advance. Shambhu. _ Chat with your friends as soon as they

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]