mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Possible fix for bug #43861
This commit is contained in:
parent
824b19a4d8
commit
a28b1f6d3a
@ -890,6 +890,10 @@ static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int off
|
||||
DBDATEREC dateinfo;
|
||||
int res_length = dbdatlen(mssql_ptr->link,offset);
|
||||
|
||||
if (res_length == -1) {
|
||||
res_length = 255;
|
||||
}
|
||||
|
||||
if ((column_type != SQLDATETIME && column_type != SQLDATETIM4) || MS_SQL_G(datetimeconvert)) {
|
||||
|
||||
switch (column_type) {
|
||||
|
Loading…
Reference in New Issue
Block a user