-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhk_firebirdactionquery.h
40 lines (36 loc) · 1.42 KB
/
hk_firebirdactionquery.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// ****************************************************************************
// copyright (c) 2000-2005 Horst Knorr <[email protected]>
// This file is part of the hk_sqliteclasses library.
// This file may be distributed and/or modified under the terms of the
// GNU Library Public License version 2 as published by the Free Software
// Foundation and appearing in the file COPYING included in the
// packaging of this file.
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
#ifndef HK_FIREBIRDACTIONQUERY
#define HK_FIREBIRDACTIONQUERY
#include "hk_actionquery.h"
#include <ibase.h>
class hk_firebirddatabase;
class hk_firebirdactionquery:public hk_actionquery
{
friend class hk_firebirddatabase;
friend class hk_firebirddatasource;
public:
protected:
hk_firebirdactionquery(hk_firebirddatabase* db);
bool driver_specific_execute(void);
bool driver_specific_sql(const char* s);
private:
bool is_create_database_query();
bool execute_create_database_query();
hk_firebirddatabase* p_firebirddatabase;
void set_error();
void free_handles(void);
XSQLDA* p_sqlhandle;
isc_tr_handle p_transaction;
isc_stmt_handle p_stmt;
ISC_STATUS_ARRAY p_status;
};
#endif