|
|
| version 1.27, 2002/08/15 10:38:18 | version 1.28, 2002/09/04 14:59:54 |
|---|---|
| Line 17 static const char* IDENT_SQL_CONNECTION_ | Line 17 static const char* IDENT_SQL_CONNECTION_ |
| // defines | // defines |
| /// @see SQL_Driver_services_impl::_throw | /// @see SQL_Driver_services_impl::_throw |
| #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \ | #ifdef PA_WITH_SJLJ_EXCEPTIONS |
| if(!fservices || !setjmp(fservices->mark)) { \ | #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) actions |
| actions; \ | #else |
| } else \ | #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \ |
| fservices->propagate_exception(); | if(!fservices || !setjmp(fservices->mark)) { \ |
| actions; \ | |
| } else \ | |
| fservices->propagate_exception(); | |
| #endif | |
| /// SQL connection. handy wrapper around low level SQL_Driver | /// SQL connection. handy wrapper around low level SQL_Driver |
| class SQL_Connection : public Pooled { | class SQL_Connection : public Pooled { |