|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12962 odbc field name too long
Submitted: 2001-08-25 23:00 UTC Modified: 2002-07-23 11:34 UTC
Avg. Score:4.6 ± 0.6
Reproduced:11 of 11 (100.0%)
Same Version:2 (18.2%)
Same OS:3 (27.3%)
From: alon at anayadesign dot com Assigned:
Status: Wont fix Package: ODBC related
PHP Version: 4.0.6 OS: win2000
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.
Block user comment
Status: Assign to:
Bug Type:
From: alon at anayadesign dot com
New email:
PHP Version: OS:


 [2001-08-25 23:00 UTC] alon at anayadesign dot com
if I have a field name longer than 31 characters, the 
odbc_field_name function cuts it to 31 characters.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-24 22:47 UTC]
There is really no way to extend this that I can see at this time.  The SQLColAttributes (which populates the field) requires the length to be passed to it.  

This may require a lot more hacking around to implement a longer version.  In the meantime I believe a simple hack of just making the[32] to be a[64] or some higher number.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Mar 02 21:01:29 2024 UTC