Annotation of parser3/src/sql/mysql/parser3mysql.C, revision 1.1
1.1 ! paf 1: /** @file
! 2: Parser: MySQL driver.
! 3:
! 4: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
! 5:
! 6: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
! 7:
! 8: $Id: pa_pool.C,v 1.3 2001/03/23 19:25:17 paf Exp $
! 9: */
! 10:
! 11: #include "pa_sql_driver.h"
! 12:
! 13: class MySQL_Driver : public SQL_Driver {
! 14: public:
! 15:
! 16: MySQL_Driver() : SQL_driver() {}
! 17:
! 18: /// get api version
! 19: int api_version() { return SQL_API_VERSION; }
! 20: /// connect
! 21: virtual void *connect(const char *url) {
! 22: return 0;
! 23: }
! 24: /// disconnect
! 25: virtual void disconnect(void *info) {
! 26: ;
! 27: }
! 28: };
! 29:
! 30: extern "C" SQL_Driver *create() {
! 31: return new MySQL_Driver();
! 32: }
E-mail: