--- parser3/src/sql/pa_sql_driver.h 2019/09/11 15:26:09 1.50 +++ parser3/src/sql/pa_sql_driver.h 2020/12/15 17:10:37 1.52 @@ -1,7 +1,7 @@ /** @file Parser: sql driver interface. - 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) @@ -26,7 +26,7 @@ #ifndef PA_SQL_DRIVER_H #define PA_SQL_DRIVER_H -#define IDENT_PA_SQL_DRIVER_H "$Id: pa_sql_driver.h,v 1.50 2019/09/11 15:26:09 moko Exp $" +#define IDENT_PA_SQL_DRIVER_H "$Id: pa_sql_driver.h,v 1.52 2020/12/15 17:10:37 moko Exp $" #include #include @@ -102,7 +102,7 @@ public: /// throw C++ exception from prepared virtual void propagate_exception() =0; /// helper func - void _throw(const char* comment) { _throw(SQL_Error(comment)); } + void _throw(const char* comment) { _throw(SQL_Error("sql.connect", comment)); } public: /// regretrully public, because can't make stack frames: "nowhere to return to" jmp_buf mark;