php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44042 Errors returned when trying to generate certain MySQL tests
Submitted: 2008-02-04 17:01 UTC Modified: 2008-02-06 10:57 UTC
From: josmessa at uk dot ibm dot com Assigned: zoe (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5.2CVS-2008-02-04 (snap) OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: josmessa at uk dot ibm dot com
New email:
PHP Version: OS:

 

 [2008-02-04 17:01 UTC] josmessa at uk dot ibm dot com
Description:
------------
When trying to generate tests for certain MySQL functions (so far I've found this happens with the following: mysql_db_name, mysql_freeresult (have to use deprecated name, another problem!) and mysql_listdbs, but there could be more) using the generate_phpt script on command prompt I get the following error messages:

Notice: Undefined index:  desc in ...\generate_phpt.php on line 185
Notice: Undefined index:  arg_det in ...\generate_phpt.php on line 187.

The tests are still created but in the opening comment none of the arguments are in the prototype and the description isn't there at all. The actual test code is also only passing zero arguments as it cannot find any arguments to initiate. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-04 17:56 UTC] zoe@php.net
Hi Josie - I can see what it is. I made an incorrect assumption about how FALIAS is used. I will send you a private copy to check out as I had to change the way the regexs that find teh implementation work.

Thanks for finding this.

Zoe
 [2008-02-06 10:57 UTC] zoe@php.net
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC