Re: insert my_ulonglong data with C API

2006-03-15 Thread 古雷
arch 15, 2006 11:27 PM Subject: Re: insert my_ulonglong data with C API > In the last episode (Mar 15), ?? said: >> Thanks a lot! But my test is not successful. Please help me. This is >> my test code: >> >> #ifdef WIN32 >> #include >> #endif >> &

Re: insert my_ulonglong data with C API

2006-03-15 Thread Dan Nelson
In the last episode (Mar 15), ?? said: > Thanks a lot! But my test is not successful. Please help me. This is > my test code: > > #ifdef WIN32 > #include > #endif > > #include "mysql.h" > #include > main() > { > union ull { > unsigned char a[8]; > my_ulonglong id; > } ull; > for(int

Re: insert my_ulonglong data with C API

2006-03-15 Thread Pooly
Hi, 2006/3/15, 古雷 <[EMAIL PROTECTED]>: > Thanks a lot! > But my test is not successful. Please help me. > This is my test code: > > #ifdef WIN32 > #include > #endif > > #include "mysql.h" > #include > main() > { > union ull { > unsigned char a[8]; > my_ulonglong id; > } ull; > for(int i=

Re: insert my_ulonglong data with C API

2006-03-15 Thread 古雷
]> Cc: Sent: Wednesday, March 15, 2006 3:34 PM Subject: Re: insert my_ulonglong data with C API > In the last episode (Mar 15), said: >> Hello,everyone! >> >> My table has a bigint column which needs store 8bytes integer. >> >> I looked up in Mysql Menual.

Re: insert my_ulonglong data with C API

2006-03-14 Thread Dan Nelson
In the last episode (Mar 15), said: > Hello,everyone! > > My table has a bigint column which needs store 8bytes integer. > > I looked up in Mysql Menual. It seems that , if I use C API I can > only use preapared statement functions to insert bigint values. > > I can not use mysql_real_query

insert my_ulonglong data with C API

2006-03-14 Thread 古雷
Hello,everyone! My table has a bigint column which needs store 8bytes integer. I looked up in Mysql Menual. It seems that , if I use C API I can only use preapared statement functions to insert bigint values. I can not use mysql_real_query or mysql_query to insert bigint values because I do not