Please sign in to comment.
Replace regex with instanceof check.
The hexadecimal check could get very expensive with big blobs. Instead we can sniff out the Sqlserver class and change behavior based on that. In order for the SQLServer driver to be loadable in environments where pdo_sqlsrv is not installed a constant needed to be replaced with an integer.
- Loading branch information...
Showing with 18 additions and 6 deletions.