Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MySQLStatementPrivate.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MySQLStatementPrivate.h
1 // $Id: MySQLStatementPrivate.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
2 $Id: MySQLStatementPrivate.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
3 
4 #ifndef RDBC_MySQLStatementPrivate_h
5 #define RDBC_MySQLStatementPrivate_h
6 
7 //
8 // Very private MySQL part of TSQLStatement
9 //
10 
11 #include <mysql.h>
12 #include <TString.h>
13 
15 class MySQLStatementPrivate
16 {
17 friend class TSQLStatement;
18 friend class TSQLPreparedStatement;
19 
20 protected:
21  UInt_t fBindType;
22  UInt_t fRowsInSet; //
23 
24  ULong_t fMaxLength; //
25  Ulong_t fMaxRows; //
26  Int_t fQueryTimeout; // The timeout for a query (not implemented)
27  TString fCatalog;
28  TString fQuery; // last executed query
29 
30  Int_t fCursorType; //
31 };
32 
34 class MySQLPreparedStatementPrivate: public MySQLStatementPrivate
35 {
36 friend class TSQLStatement;
37 friend class TSQLPreparedStatement;
38 
39 private:
40  UInt_t fBindType;
41  UInt_t fRowsInSet; //
42 
43  ULong_t fMaxLength; //
44  Ulong_t fMaxRows; //
45  Int_t fQueryTimeout; // The timeout for a query (not implemented)
46  TString fCatalog;
47  TString fQuery; // last executed query
48 
49  Int_t fCursorType; //
50 };
51 
52 
53 #endif // RDBC_MySQLStatementPrivate_h