CVS update: php3/doc/functions
| From: | ssb | Date: | Wed, 14 Oct 1998 17:43:43 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1842@lists.php.net to get a copy of this message | ||
Date: Wednesday October 14, 1998 @ 13:43
Author: ssb
Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv6341
Modified Files:
uodbc.sgml
Log Message:
added constants for odbc_binmode()
Index: php3/doc/functions/uodbc.sgml
diff -c php3/doc/functions/uodbc.sgml:1.15 php3/doc/functions/uodbc.sgml:1.16
*** php3/doc/functions/uodbc.sgml:1.15 Wed Oct 14 13:29:31 1998
--- php3/doc/functions/uodbc.sgml Wed Oct 14 13:43:42 1998
***************
*** 64,71 ****
When binary SQL data is converted to character C data, each byte
(8 bits) of source data is represented as two ASCII characters.
These characters are the ASCII character representation of the
! number in its hexadecimal form. For example, a binary 00000001
! is converted to "01" and a binary 11111111 is converted to "FF".
<table>
<title>LONGVARBINARY handling</title>
--- 64,72 ----
When binary SQL data is converted to character C data, each byte
(8 bits) of source data is represented as two ASCII characters.
These characters are the ASCII character representation of the
! number in its hexadecimal form. For example, a binary 00000001 is
! converted to <literal>"01"</literal> and a binary 11111111 is
! converted to <literal>"FF"</literal>.
<table>
<title>LONGVARBINARY handling</title>
***************
*** 79,115 ****
</thead>
<tbody>
<row>
<entry>0</entry>
- <entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>1</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>2</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>0</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>0</entry>
<entry>>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>1</entry>
<entry>>0</entry>
<entry>return as is</entry>
</row>
<row>
! <entry>2</entry>
<entry>>0</entry>
<entry>return as char</entry>
</row>
--- 80,116 ----
</thead>
<tbody>
<row>
+ <entry>ODBC_BINMODE_PASSTHRU</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>ODBC_BINMODE_RETURN</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>ODBC_BINMODE_CONVERT</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>ODBC_BINMODE_PASSTHRU</entry>
<entry>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>ODBC_BINMODE_PASSTHRU</entry>
<entry>>0</entry>
<entry>passthru</entry>
</row>
<row>
! <entry>ODBC_BINMODE_RETURN</entry>
<entry>>0</entry>
<entry>return as is</entry>
</row>
<row>
! <entry>ODBC_BINMODE_CONVERT</entry>
<entry>>0</entry>
<entry>return as char</entry>
</row>
***************
*** 118,133 ****
</table>
<para>
! * if odbc_fetch_into is used, passthru means that an empty string
! * is returned for these columns.
<para>
! If result_id is 0, the settings apply as default for new results.
! <note><simpara>
! Default for longreadlen is 4096 and binmode defaults to 1.
! Handling of binary Long columns is also affected by
! <function>odbc_longreadlen</function>
</simpara>
</note>
</refsect1>
--- 119,136 ----
</table>
<para>
! If <function>odbc_fetch_into</function> is used, passthru means
! that an empty string is returned for these columns.
<para>
! If <parameter>result_id</parameter> is <literal>0</literal>, the
! settings apply as default for new results.
! <note><simpara> Default for longreadlen is
! <literal>4096</literal> and binmode defaults to
! <literal>ODBC_BINMODE_RETURN</literal>. Handling of binary
! long columns is also affected by
! <function>odbc_longreadlen</function>
</simpara>
</note>
</refsect1>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net