|
|
| version 1.12, 2001/07/23 13:59:52 | version 1.17, 2001/09/26 10:32:26 |
|---|---|
| Line 2 | Line 2 |
| Parser: sql driver interface. | Parser: sql driver interface. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) |
| $Id$ | $Id$ |
| Line 42 public: | Line 41 public: |
| virtual void _throw(const char *comment) =0; | virtual void _throw(const char *comment) =0; |
| }; | }; |
| #define SQL_DRIVER_API_VERSION 0x0303 | #define SQL_DRIVER_API_VERSION 0x0304 |
| #define SQL_DRIVER_CREATE create | |
| #define SQL_DRIVER_CREATE_NAME "create" /* could not figure out how to # it :( */ | |
| /// events, occuring when SQL_Driver::query()-ing | /// events, occuring when SQL_Driver::query()-ing |
| class SQL_Driver_query_event_handlers { | class SQL_Driver_query_event_handlers { |
| Line 71 public: | Line 72 public: |
| */ | */ |
| virtual void connect(char *used_only_in_connect_url_cstr, | virtual void connect(char *used_only_in_connect_url_cstr, |
| SQL_Driver_services& services, void **connection) =0; | SQL_Driver_services& services, void **connection) =0; |
| virtual void disconnect( | virtual void disconnect(void *connection) =0; |
| SQL_Driver_services& services, void *connection) =0; | |
| virtual void commit( | virtual void commit( |
| SQL_Driver_services& services, void *connection) =0; | SQL_Driver_services& services, void *connection) =0; |
| virtual void rollback( | virtual void rollback( |