Bug #5009 Updated: odbc fields are not updated correctly
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:26:31 +0000 |
| Subject: | Bug #5009 Updated: odbc fields are not updated correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10606@lists.php.net to get a copy of this message | ||
ID: 5009
Updated by: sander@php.net
Reported By: gordonl@tts-sf.com
-Status: Open
+Status: Bogus
Bug Type: ODBC related
Operating System: Linux mandrake 7.0
PHP Version: 3.0.16
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2000-06-13 20:48:22] gordonl@tts-sf.com
we ran the odbc_exec function with the string
"INSERT into web_call_results
(wcr_script,wcr_notes,wcr_phone,wcr_result,wcr_input_oper,wcr_date_input,wcr_date_modify,wcr_grade,wcr_activity)
VALUES (1010,'testA',2171866,563,10085,'2000-06-13
11:28:29','2000-06-13 11:28:29',0.0,5)" and it runs okay.
If we run it (the only difference being the placement of the wcr_notes
field) as
"INSERT into web_call_results
(wcr_script,wcr_phone,wcr_result,wcr_input_oper,wcr_date_input,wcr_date_modify,wcr_grade,wcr_activity,wcr_notes)
VALUES (1010,2171866,563,10085,'2000-06-13 11:28:29','2000-06-13
11:28:29',0.0,5,'testA')"
It does not run correctly. Specifically, an internal buffer is used for
certain fields and it is not cleared some of the time. In the database
(informix) the wcr_notes field has the value "testA06-13 11:28:29"
instead of "testA".
We are using the informix odbc driver. The statements run okay from the
informix sql editor. wcr_notes is a blob type field.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=5009&edit=1