|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57276 Integer parameter to database procedures
Submitted: 2006-10-04 05:17 UTC Modified: 2017-10-24 08:42 UTC
From: h dot pool at nibble dot nl Assigned:
Status: Suspended Package: ingres (PECL)
PHP Version: 5.1.2 OS: Fedora Core II
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-10-04 05:17 UTC] h dot pool at nibble dot nl
O.S.: Fedora Core II
Ingres: Ingres 2006 Linux Version II 9.0.4 (int.lnx/104)NPTL login
PHP: 5.1.2
Pecl: Ingres Extension Version 	1.2.1

Configure Command 	 './configure' '--prefix=/usr/local/php-5.1.2' '--enable-track-vars' '--with-png-dir' '--with-java=/usr/local/j2sdk1.4.2_05' '--with-freetype-dir' '--with-jpeg-dir' '--with-gd' '--with-zlib-dir' '--with-apxs=/usr/local/apache_1.3.34/bin/apxs' '--with-openssl=/usr/local/ssl' '--enable-soap' '--with-ingres=/opt/Ingres/IngresII/ingres'

Passing of integer parameters to database procedures fails.
Passing of character parameters to database procedures succeed.

Reproduce code:
The examples and output:

Expected result:
The passing of integer parameters to database procedures is not correct.
I can only pass characters parameters to database procedures.

When I pass characters to the database procedures, it gives the expected value.

The workaround:
I have to pass all parameters as characters and cast them to their original format in the database procedure.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-30 10:46 UTC]
-Assigned To: +Assigned To: grantc
 [2017-10-24 07:04 UTC]
-Status: Assigned +Status: Open -Assigned To: grantc +Assigned To:
 [2017-10-24 08:42 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 08:42 UTC]
The ingres package has not had any activity for 4 years, so its safe to say that its no longer in active development, if activity picks backup then the maintainer can re-open this report
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 06:01:30 2024 UTC