CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
api_compat.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008 Search Solution Corporation
3
* Copyright 2016 CUBRID Corporation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
/*
20
* api_compat.h -
21
*/
22
23
#ifndef _API_COMPAT_H_
24
#define _API_COMPAT_H_
25
26
struct
db_session
27
{
28
char
*
stage
;
/* vector of statements' stage */
29
char
include_oid
;
/* NO_OIDS, ROW_OIDS */
30
int
dimension
;
/* Number of statements */
31
int
stmt_ndx
;
/* 0 <= stmt_ndx < DIM(statements) */
32
/* statements[stmt_ndx] will be processed by next call to db_compile_statement. */
33
int
line_offset
;
/* amount to add to parsers line number */
34
int
column_offset
;
/* amount to add to parsers column number */
35
PARSER_CONTEXT
*
parser
;
/* handle to parser context structure */
36
DB_QUERY_TYPE
**
type_list
;
/* for storing "nice" column headings */
37
/* type_list[stmt_ndx] is itself an array. */
38
PT_NODE
**
statements
;
/* statements to be processed in this session */
39
40
bool
is_subsession_for_prepared
;
/* whether this session is created for running a prepared statement, as a
41
* sub-session of a "true" client session */
42
DB_SESSION
*
next
;
/* subsessions for prepared statements */
43
};
44
45
#endif
/* _API_COMPAT_H_ */
db_session::column_offset
int column_offset
Definition:
api_compat.h:34
db_session::statements
PT_NODE ** statements
Definition:
api_compat.h:38
db_session::next
DB_SESSION * next
Definition:
api_compat.h:42
parser_node
Definition:
parse_tree.h:3437
db_session
Definition:
api_compat.h:26
db_session::dimension
int dimension
Definition:
api_compat.h:30
db_session::is_subsession_for_prepared
bool is_subsession_for_prepared
Definition:
api_compat.h:40
db_session::stmt_ndx
int stmt_ndx
Definition:
api_compat.h:31
db_query_type
Definition:
db_query.h:52
parser_context
Definition:
parse_tree.h:3530
db_session::include_oid
char include_oid
Definition:
api_compat.h:29
db_session::type_list
DB_QUERY_TYPE ** type_list
Definition:
api_compat.h:36
db_session::parser
PARSER_CONTEXT * parser
Definition:
api_compat.h:35
db_session::line_offset
int line_offset
Definition:
api_compat.h:33
db_session::stage
char * stage
Definition:
api_compat.h:28
src
api
api_compat.h
Generated by
1.8.11