Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157322 Details for
Bug 244736
varchar fields with empty string return NULL
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch based off of 5.1.6 to fix the issue.
nullfix.diff (text/plain), 773 bytes, created by
Edward Rudd
on 2007-06-18 20:19:53 UTC
(
hide
)
Description:
Patch based off of 5.1.6 to fix the issue.
Filename:
MIME Type:
Creator:
Edward Rudd
Created:
2007-06-18 20:19:53 UTC
Size:
773 bytes
patch
obsolete
>--- mssql/php_mssql.c.orig 2006-04-04 14:49:12.000000000 -0400 >+++ mssql/php_mssql.c 2006-10-24 16:41:18.000000000 -0400 >@@ -818,7 +818,7 @@ > > static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC) > { >- if (dbdatlen(mssql_ptr->link,offset) == 0) { >+ if (dbdatlen(mssql_ptr->link,offset) == 0 && dbdata(mssql_ptr->link,offset) == NULL) { > ZVAL_NULL(result); > return; > } >@@ -941,7 +941,7 @@ > > static void php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int offset,zval *result, int column_type TSRMLS_DC) > { >- if (dbdatlen(mssql_ptr->link,offset) == 0) { >+ if (dbdatlen(mssql_ptr->link,offset) == 0 && dbdata(mssql_ptr->link,offset) == NULL) { > ZVAL_NULL(result); > return; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244736
:
157322
|
157325