Re: insert my_ulonglong data with C API

2006-03-15 Thread 古雷
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. It seems that , if I use C API I can only use preapared statement functions to insert bigint

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 windows.h #endif #include mysql.h #include stdio.h 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 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 windows.h #endif #include mysql.h #include stdio.h 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 古雷
: 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 windows.h #endif #include mysql.h #include stdio.h main() { union ull { unsigned char a[8

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

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 or