--- parser3/src/include/pa_sql_connection.h 2019/09/11 15:26:09 1.45 +++ parser3/src/include/pa_sql_connection.h 2020/12/15 17:10:32 1.47 @@ -1,14 +1,14 @@ /** @file Parser: sql fconnection decl. - Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_SQL_CONNECTION_H #define PA_SQL_CONNECTION_H -#define IDENT_PA_SQL_CONNECTION_H "$Id: pa_sql_connection.h,v 1.45 2019/09/11 15:26:09 moko Exp $" +#define IDENT_PA_SQL_CONNECTION_H "$Id: pa_sql_connection.h,v 1.47 2020/12/15 17:10:32 moko Exp $" #include "pa_sql_driver.h" @@ -132,11 +132,13 @@ public: SQL_CONNECTION_SERVICED_FUNC_GUARDED( return fdriver.ping(fconnection) ); + return false; // never reached, warning war } const char* quote(const char* str, unsigned int length) { SQL_CONNECTION_SERVICED_FUNC_GUARDED( return fdriver.quote(fconnection, str, length) ); + return NULL; // never reached, warning war } void query(