mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Fix bad string length
This commit is contained in:
parent
22e2302e78
commit
3e12c6174d
@ -230,7 +230,6 @@ static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr,
|
||||
memcpy(tmp_ptr, *ptr, *len);
|
||||
tmp_ptr[*len] = '\0';
|
||||
*ptr = tmp_ptr;
|
||||
++(*len);
|
||||
break;
|
||||
case SQLMONEY:
|
||||
case SQLMONEY4:
|
||||
|
Loading…
Reference in New Issue
Block a user