Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:22:03

0001 // $Id: MySQLStatementPrivate.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
0002 $Id: MySQLStatementPrivate.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
0003 
0004 #ifndef RDBC_MySQLStatementPrivate_h
0005 #define RDBC_MySQLStatementPrivate_h
0006 
0007 //
0008 // Very private MySQL part of TSQLStatement
0009 //
0010 
0011 #include <mysql.h>
0012 #include <TString.h>
0013 
0014 /////////////////////////////////////////////////////////////////////
0015 class MySQLStatementPrivate
0016 {
0017 friend class TSQLStatement;
0018 friend class TSQLPreparedStatement;
0019 
0020 protected:
0021    UInt_t   fBindType;
0022    UInt_t   fRowsInSet;    //
0023 
0024    ULong_t  fMaxLength;    //
0025    Ulong_t  fMaxRows;      //
0026    Int_t    fQueryTimeout;   // The timeout for a query (not implemented)
0027    TString  fCatalog;
0028    TString  fQuery;     // last executed query
0029 
0030    Int_t    fCursorType;   //
0031 };
0032 
0033 /////////////////////////////////////////////////////////////////////
0034 class MySQLPreparedStatementPrivate: public MySQLStatementPrivate
0035 {
0036 friend class TSQLStatement;
0037 friend class TSQLPreparedStatement;
0038 
0039 private:
0040    UInt_t   fBindType;
0041    UInt_t   fRowsInSet;    //
0042 
0043    ULong_t  fMaxLength;    //
0044    Ulong_t  fMaxRows;      //
0045    Int_t    fQueryTimeout;   // The timeout for a query (not implemented)
0046    TString  fCatalog;
0047    TString  fQuery;     // last executed query
0048 
0049    Int_t    fCursorType;   //
0050 };
0051 
0052 
0053 #endif // RDBC_MySQLStatementPrivate_h