-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDO SQL server fetchfield method fails if default field number requested #251
Labels
Milestone
Comments
mnewnham
added
bug
mssqlnative
Native driver for SQL Server driver (Tier 1)
pdo
The PHP PDO Driver (Tier 2)
labels
May 20, 2016
mnewnham
added a commit
that referenced
this issue
May 20, 2016
…type, see #234 1. The fetchfield method fails if a default value (-1) is sent to the method 2. SQL Server returns driver specific field information which should be used instead of the generic PDO data types 3. Field object information is cached to reduce repetitive reads of field data information
dregad
pushed a commit
to dregad/ADOdb
that referenced
this issue
May 27, 2016
1. The fetchfield method fails if a default value (-1) is sent to the method 2. SQL Server returns driver specific field information which should be used instead of the generic PDO data types 3. Field object information is cached to reduce repetitive reads of field data information Fixes ADOdb#251, ADOdb#234
dregad
pushed a commit
to dregad/ADOdb
that referenced
this issue
Aug 28, 2016
1. The fetchfield method fails if a default value (-1) is sent to the method 2. SQL Server returns driver specific field information which should be used instead of the generic PDO data types 3. Field object information is cached to reduce repetitive reads of field data information Fixes ADOdb#251, ADOdb#234
dregad
added a commit
that referenced
this issue
Sep 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The method fetchField accepts a value of -1, with which it is supposed to return the first entry. If this method is used in the pdo_sqlsrv driver, the method crashes with an 'invalid offset' error.
The text was updated successfully, but these errors were encountered: