|
|
| version 1.32, 2003/11/20 15:35:30 | version 1.34, 2003/12/10 14:17:45 |
|---|---|
| Line 8 | Line 8 |
| #ifndef PA_SQL_CONNECTION_H | #ifndef PA_SQL_CONNECTION_H |
| #define PA_SQL_CONNECTION_H | #define PA_SQL_CONNECTION_H |
| static const char* IDENT_SQL_CONNECTION_H="$Date$"; | static const char * const IDENT_SQL_CONNECTION_H="$Date$"; |
| #include "pa_sql_driver.h" | #include "pa_sql_driver.h" |
| Line 34 class SQL_Driver_services_impl: public S | Line 34 class SQL_Driver_services_impl: public S |
| public: | public: |
| SQL_Driver_services_impl(): furl(0) {} | SQL_Driver_services_impl(): furl(0) {} |
| void set_url(const String& aurl) { furl=&aurl;} | void set_url(const String& aurl) { furl=&aurl;} |
| const String& url_without_login() const; | |
| override void *malloc(size_t size) { return pa_malloc(size); } | override void *malloc(size_t size) { return pa_malloc(size); } |
| override void *malloc_atomic(size_t size) { return pa_malloc_atomic(size); } | override void *malloc_atomic(size_t size) { return pa_malloc_atomic(size); } |
| Line 70 public: | Line 71 public: |
| throw fexception; | throw fexception; |
| #endif | #endif |
| } | } |
| private: | |
| const String& url_without_login() const; | |
| }; | }; |
| /// SQL connection. handy wrapper around low level SQL_Driver | /// SQL connection. handy wrapper around low level SQL_Driver |
| Line 93 public: | Line 91 public: |
| time_used(0), | time_used(0), |
| marked_to_rollback(false) { | marked_to_rollback(false) { |
| } | } |
| SQL_Driver_services_impl& services() { return fservices; } | |
| const String& get_url() { return furl; } | const String& get_url() { return furl; } |