Skip to content

Commit

Permalink
change encoding to converting from long to string to UTF8
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiwongky committed Oct 17, 2017
1 parent 9e847c1 commit f67240e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/shared/core_stmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f67240e

Please sign in to comment.