|
|
| version 1.45, 2019/09/11 15:26:09 | version 1.48, 2023/09/26 20:49:07 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: sql fconnection decl. | Parser: sql fconnection decl. |
| Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| #ifndef PA_SQL_CONNECTION_H | #ifndef PA_SQL_CONNECTION_H |
| Line 132 public: | Line 132 public: |
| SQL_CONNECTION_SERVICED_FUNC_GUARDED( | SQL_CONNECTION_SERVICED_FUNC_GUARDED( |
| return fdriver.ping(fconnection) | return fdriver.ping(fconnection) |
| ); | ); |
| return false; // never reached, warning war | |
| } | } |
| const char* quote(const char* str, unsigned int length) { | const char* quote(const char* str, unsigned int length) { |
| SQL_CONNECTION_SERVICED_FUNC_GUARDED( | SQL_CONNECTION_SERVICED_FUNC_GUARDED( |
| return fdriver.quote(fconnection, str, length) | return fdriver.quote(fconnection, str, length) |
| ); | ); |
| return NULL; // never reached, warning war | |
| } | } |
| void query( | void query( |