|
|
| version 1.50, 2019/09/11 15:26:09 | version 1.53, 2023/09/26 20:49:10 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: sql driver interface. | Parser: sql driver interface. |
| 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> |
| driver dynamic library must look like this: | driver dynamic library must look like this: |
| Line 102 public: | Line 102 public: |
| /// throw C++ exception from prepared | /// throw C++ exception from prepared |
| virtual void propagate_exception() =0; | virtual void propagate_exception() =0; |
| /// helper func | /// helper func |
| void _throw(const char* comment) { _throw(SQL_Error(comment)); } | void _throw(const char* comment) { _throw(SQL_Error("sql.connect", comment)); } |
| public: | public: |
| /// regretrully public, because can't make stack frames: "nowhere to return to" | /// regretrully public, because can't make stack frames: "nowhere to return to" |
| jmp_buf mark; | jmp_buf mark; |