Re: mysqli_fetch_field() mysqlnd & libmysql differences

From: Date: Sat, 21 Jan 2012 13:31:07 +0000
Subject: Re: mysqli_fetch_field() mysqlnd & libmysql differences
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-57465@lists.php.net to get a copy of this message
Hi Johannes: > The documentation tells > > > http://dev.mysql.com/doc/refman/5.5/en/c-api-data-structures.html > > So it is working in bytes and has to hold all possible values. That's how MySQL's internal API works. At the same time, PHP's users expect PHP to behave as documented. http://php.net/mysqli_fetch_field says length is "The width of the field, as specified in the table definition." Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.internals (#57465) next »