Diff for /sql/odbc/parser3odbc.C between versions 1.22 and 1.23

version 1.22, 2004/05/25 07:07:28 version 1.23, 2004/06/23 07:32:07
Line 169  public: Line 169  public:
                 return result;                  return result;
         }          }
         void query(void *aconnection,           void query(void *aconnection, 
                 const char *statement, unsigned long offset, unsigned long limit,                  const char *statement, 
                   size_t placeholders_count, Placeholder* placeholders, 
                   unsigned long offset, unsigned long limit,
                 SQL_Driver_query_event_handlers& handlers) {                  SQL_Driver_query_event_handlers& handlers) {
   
                 Connection& connection=*static_cast<Connection*>(aconnection);                  Connection& connection=*static_cast<Connection*>(aconnection);
                 CDatabase *db=connection.db;                  CDatabase *db=connection.db;
                 SQL_Driver_services& services=*connection.services;                  SQL_Driver_services& services=*connection.services;
   
                   if(placeholders_count>0)
                           services._throw("bind variables not supported (yet)");
   
                 // transcode from $request:charset to connect-string?client_charset                  // transcode from $request:charset to connect-string?client_charset
                 if(const char* cstrClientCharset=connection.cstrClientCharset) {                  if(const char* cstrClientCharset=connection.cstrClientCharset) {
                         size_t transcoded_statement_size;                          size_t transcoded_statement_size;

Removed from v.1.22  
changed lines
  Added in v.1.23


E-mail: