--- parser3/src/sql/pa_sql_driver.h 2003/03/21 16:39:06 1.34.2.4.2.2 +++ parser3/src/sql/pa_sql_driver.h 2003/03/25 13:58:38 1.34.2.4.2.3 @@ -26,7 +26,7 @@ #ifndef PA_SQL_DRIVER_H #define PA_SQL_DRIVER_H -static const char* IDENT_SQL_DRIVER_H="$Date: 2003/03/21 16:39:06 $"; +static const char* IDENT_SQL_DRIVER_H="$Date: 2003/03/25 13:58:38 $"; #include #include @@ -134,12 +134,8 @@ public: /// @returns true to indicate that connection still alive virtual bool ping( SQL_Driver_services& services, void *connection) =0; - struct Quote_result { - char *s; - size_t size; - }; /// encodes the string in 'from' to an escaped SQL string - virtual Quote_result quote( + virtual const char* quote( SQL_Driver_services& services, void *connection, const char* str, unsigned int length) =0; virtual void query(