From 5bccb056d7a5966daa8da8e9ab993f3b6e8ee58a Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Thu, 19 Apr 2018 11:37:10 +0000 Subject: [PATCH] =?UTF-8?q?poprawka:=20get=5Fvalue()=20z=20postgresqlconne?= =?UTF-8?q?ctor=20zamienione=20na=20get=5Fvalue=5Ffrom=5Fresult()=20w=20kl?= =?UTF-8?q?asie=20bazowej=20mamy=20virtualne=20get=5Fvalue()=20z=20innymi?= =?UTF-8?q?=20parametrami=20(ostrze=C5=BCenie=20kompilatora)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://ttmath.org/publicrep/morm/trunk@1087 e52654a7-88a9-db11-a3e9-0013d4bc506e --- src/postgresqlconnector.cpp | 4 ++-- src/postgresqlconnector.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);