change encoding to converting from long to string to UTF8

This commit is contained in:
v-kaywon 2017-10-17 16:02:12 -07:00
parent 9e847c1ca8
commit f67240e566

View file

@ -386,7 +386,7 @@ void core_sqlsrv_bind_param( _Inout_ sqlsrv_stmt* stmt, _In_ SQLUSMALLINT param_
}
if( zval_was_long ){
convert_to_string( param_z );
encoding = SQLSRV_ENCODING_UTF8;
match = Z_TYPE_P( param_z ) == IS_STRING;
}
else {