|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-01 00:29 UTC] abhargav at in dot ibm dot com
[2015-06-05 12:33 UTC] rahulpriyadarshi@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: rahulpriyadarshi
[2015-06-05 12:33 UTC] rahulpriyadarshi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
Description: ------------ 1. Make "describe param failed" error message consistent with rest. (make text unique becase this message is twice in source code) 2. Add failed parameter number to message Reproduce code: --------------- --- ibm_db2.c.orig 1970-01-01 10:13:08.000000000 +0100 +++ ibm_db2.c 2010-11-30 10:57:27.000000000 +0100 @@ -3977,7 +3977,7 @@ (SQLSMALLINT*)&data_type, &precision, (SQLSMALLINT*)&scale, (SQLSMALLINT*)&nullable); if ( rc == SQL_ERROR ) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Describe Param Failed"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Describe Param %d Failed 2", param_no); _php_db2_check_sql_errors((SQLHSTMT)stmt_res->hstmt, SQL_HANDLE_STMT, rc, 1, NULL, -1, 1 TSRMLS_CC); return rc; }