change encoding to converting from long to string to UTF8
This commit is contained in:
parent
9e847c1ca8
commit
f67240e566
|
@ -386,7 +386,7 @@ void core_sqlsrv_bind_param( _Inout_ sqlsrv_stmt* stmt, _In_ SQLUSMALLINT param_
|
||||||
}
|
}
|
||||||
if( zval_was_long ){
|
if( zval_was_long ){
|
||||||
convert_to_string( param_z );
|
convert_to_string( param_z );
|
||||||
|
encoding = SQLSRV_ENCODING_UTF8;
|
||||||
match = Z_TYPE_P( param_z ) == IS_STRING;
|
match = Z_TYPE_P( param_z ) == IS_STRING;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue