--- parser3/src/include/pa_sql_connection.h 2019/09/11 15:26:09 1.45 +++ parser3/src/include/pa_sql_connection.h 2023/09/26 20:49:07 1.48 @@ -1,14 +1,14 @@ /** @file Parser: sql fconnection decl. - Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #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.48 2023/09/26 20:49:07 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(