Bug #14407 SQLColumns gives wrong information of not nulls
| Submitted: | 27 Oct 2005 20:18 | Modified: | 7 Aug 2007 4:46 |
|---|---|---|---|
| Reporter: | Henning Andersen | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S2 (Serious) |
| Version: | 3.51.12 | OS: | Windows (Windows XP) |
| Assigned to: | Jim Winstead | CPU Architecture: | Any |
[27 Oct 2005 20:18]
Henning Andersen
[27 Oct 2005 20:21]
Henning Andersen
Hello, It also puzzles me a bit when looking at the output from the describe of table XX that it has a default value of "NULL" but is not allowed to have NULLs. Maybe that is related to my bug report. Best regards, Henning
[27 Oct 2005 20:27]
Henning Andersen
Hi, FYI: I just realized that a previous bug report #10130 is similar yet slightly different. Best regards, Henning
[30 Oct 2005 9:16]
Vasily Kishkin
Could youo please say me SQLColumns returns other attributes correctly ? I tried to reproduce the bug in my test case but there are garbage instead of correct values.
[30 Oct 2005 16:35]
Henning Andersen
Hello, yes it also give wrong information of ordinal numbers, which I reported previously as bug # 10141. But other than that it gives me the information that I need and it seems to be correct. Best regards, Henning
[31 Oct 2005 8:34]
Vasily Kishkin
Verified. My test case is attached.
[31 Oct 2005 8:35]
Vasily Kishkin
Test case
Attachment: test.c (text/plain), 6.56 KiB.
[30 Jul 2007 21:43]
Jim Winstead
Fix reporting of NULLABLE and IS_NULLABLE for AUTO_INCREMENT fields
Attachment: bug14407.patch (text/plain), 4.31 KiB.
[30 Jul 2007 21:44]
Jim Winstead
The attached patch also includes the fix for Bug #14414.
[3 Aug 2007 15:29]
Jim Winstead
The fix for this bug has been committed to the source repository, and will be in the 3.51.18 release. Thanks for the bug report.
[7 Aug 2007 4:46]
MC Brown
A note has been added to the 3.51.18 changelog: The SQLColumns() function could return incorrect information about AUTO_INCREMENT columns, indicating that the field was not nullable
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.