3 messages in com.mysql.lists.plusplusRe: Data type
FromSent OnAttachments
Paoletti Vincenzo15 Jun 2005 23:57 
Paoletti Vincenzo16 Jun 2005 01:46 
Warren Young16 Jun 2005 11:24 
Subject:Re: Data type
From:Warren Young (mysq@etr-usa.com)
Date:06/16/2005 11:24:41 AM
List:com.mysql.lists.plusplus

Paoletti Vincenzo wrote:

How can I know the number of byte of a field( using mysql_type_info or other
classes)?

Look at the fieldinf1 example. That will show you how to find out which native MySQL type a column uses, and your MySQL programmer's manual will tell you how many bytes that type requires.