diff --git a/src/postgresqlconnector.cpp b/src/postgresqlconnector.cpp index c3a2477..01ede29 100644 --- a/src/postgresqlconnector.cpp +++ b/src/postgresqlconnector.cpp @@ -204,7 +204,7 @@ const char * PostgreSQLConnector::query_last_sequence(const wchar_t * sequence_t { if( last_select_size() == 1 ) { - return get_value(0, 0); + return get_value_from_result(0, 0); } else { @@ -392,7 +392,7 @@ const char * PostgreSQLConnector::get_field_string_value(const wchar_t * column_ -const char * PostgreSQLConnector::get_value(int row, int col) +const char * PostgreSQLConnector::get_value_from_result(int row, int col) { const char * value_str = nullptr; diff --git a/src/postgresqlconnector.h b/src/postgresqlconnector.h index 576138f..856132a 100644 --- a/src/postgresqlconnector.h +++ b/src/postgresqlconnector.h @@ -95,7 +95,7 @@ public: * can return a null pointer if there is no such an item in the last result * */ - const char * get_value(int row, int col); + const char * get_value_from_result(int row, int col); int get_value_length(int row, int col);