change FT field_type in PostgreSQLConnector

This commit is contained in:
Tomasz Sowa 2021-05-12 05:39:31 +02:00
parent aadc5be350
commit 179be2864f
2 changed files with 4 additions and 4 deletions

View File

@ -560,7 +560,7 @@ void PostgreSQLConnector::log_unsupported_bin_format()
size_t PostgreSQLConnector::unescape_bin_char(const char * str, wchar_t & field_value, FT field_type)
size_t PostgreSQLConnector::unescape_bin_char(const char * str, wchar_t & field_value, const FT & field_type)
{
if( str[0]!='\\' || str[1]!='x' )
{
@ -588,7 +588,7 @@ void PostgreSQLConnector::unescape_bin_string(const char * str, std::string & ou
}
void PostgreSQLConnector::unescape_bin_string(const char * str, std::wstring & out, FT field_type)
void PostgreSQLConnector::unescape_bin_string(const char * str, std::wstring & out, const FT & field_type)
{
if( str[0]!='\\' || str[1]!='x' )
{

View File

@ -100,9 +100,9 @@ protected:
void log_unsupported_bin_format();
size_t unescape_bin_char(const char * str, wchar_t & field_value, FT field_type);
size_t unescape_bin_char(const char * str, wchar_t & field_value, const FT & field_type);
void unescape_bin_string(const char * str, std::string & out);
void unescape_bin_string(const char * str, std::wstring & out, FT field_type);
void unescape_bin_string(const char * str, std::wstring & out, const FT & field_type);
};