Hello.
> This doesn't list BIT at all: >http://dev.mysql.com/doc/refman/5.0/en/c-api-prepared-statement-datatypes.html Have you tried MYSQL_TYPE_BIT? It is listed among others in mysql_com.h. Martijn Tonies wrote: > Hi there, > > Still tracking down the BIT problems. For a simple statement, prefixing it > with > b'<binary value>' works (as written in the documentation). Even with the > STRICT > mode turned ON. > > However, for prepared statements, how do you bind a BIT(1) or BIT(n)? > > This doesn't list BIT at all: > http://dev.mysql.com/doc/refman/5.0/en/c-api-prepared-statement-datatypes.html > > > Any pointers? > > > Martijn Tonies > Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL > Server > Upscene Productions > http://www.upscene.com > Database development questions? Check the forum! > http://www.databasedevelopmentforum.com > > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]