InnoDB Plugin
1.0
Main Page
Data Structures
Files
File List
Globals
include
api0api.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 2011, 2013, Oracle and/or its affiliates. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc.,
15
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
27
#ifndef api0api_h
28
#define api0api_h
29
30
#include "
db0err.h
"
31
#include <stdio.h>
32
33
#ifdef _MSC_VER
34
#define strncasecmp _strnicmp
35
#define strcasecmp _stricmp
36
#endif
37
38
#if defined(__GNUC__) && (__GNUC__ > 2) && ! defined(__INTEL_COMPILER)
39
#define UNIV_NO_IGNORE __attribute__ ((warn_unused_result))
40
#else
41
#define UNIV_NO_IGNORE
42
#endif
/* __GNUC__ && __GNUC__ > 2 && !__INTEL_COMPILER */
43
44
/* See comment about ib_bool_t as to why the two macros are unsigned long. */
46
#define IB_TRUE 0x1UL
47
48
#define IB_FALSE 0x0UL
49
50
/* Basic types used by the InnoDB API. */
52
typedef
enum
dberr_t
ib_err_t
;
54
typedef
unsigned
char
ib_byte_t
;
56
typedef
unsigned
long
int
ib_ulint_t
;
57
58
/* We assume C99 support except when using VisualStudio. */
59
#if !defined(_MSC_VER)
60
#include <stdint.h>
61
#endif
/* _MSC_VER */
62
63
/* Integer types used by the API. Microsft VS defines its own types
64
and we use the Microsoft types when building with Visual Studio. */
65
#if defined(_MSC_VER)
66
67
typedef
__int8
ib_i8_t
;
68
#else
69
70
typedef
int8_t
ib_i8_t
;
71
#endif
72
73
#if defined(_MSC_VER)
74
75
typedef
unsigned
__int8
ib_u8_t
;
76
#else
77
78
typedef
uint8_t
ib_u8_t
;
79
#endif
80
81
#if defined(_MSC_VER)
82
83
typedef
__int16
ib_i16_t
;
84
#else
85
86
typedef
int16_t
ib_i16_t
;
87
#endif
88
89
#if defined(_MSC_VER)
90
91
typedef
unsigned
__int16
ib_u16_t
;
92
#else
93
94
typedef
uint16_t
ib_u16_t
;
95
#endif
96
97
#if defined(_MSC_VER)
98
99
typedef
__int32
ib_i32_t
;
100
#else
101
102
typedef
int32_t
ib_i32_t
;
103
#endif
104
105
#if defined(_MSC_VER)
106
107
typedef
unsigned
__int32
ib_u32_t
;
108
#else
109
110
typedef
uint32_t
ib_u32_t
;
111
#endif
112
113
#if defined(_MSC_VER)
114
115
typedef
__int64
ib_i64_t
;
116
#else
117
118
typedef
int64_t
ib_i64_t
;
119
#endif
120
121
#if defined(_MSC_VER)
122
123
typedef
unsigned
__int64
ib_u64_t
;
124
#else
125
126
typedef
uint64_t
ib_u64_t
;
127
#endif
128
129
typedef
void
* ib_opaque_t;
130
typedef
ib_opaque_t ib_charset_t;
131
typedef
ib_ulint_t
ib_bool_t;
132
typedef
ib_u64_t
ib_id_u64_t;
133
135
typedef
enum
{
136
IB_CFG_IBOOL
,
139
/* XXX Can we avoid having different types for ulint and ulong?
140
- On Win64 "unsigned long" is 32 bits
141
- ulong is always defined as "unsigned long"
142
- On Win64 ulint is defined as 64 bit integer
143
=> On Win64 ulint != ulong.
144
If we typecast all ulong and ulint variables to the smaller type
145
ulong, then we will cut the range of the ulint variables.
146
This is not a problem for most ulint variables because their max
147
allowed values do not exceed 2^32-1 (e.g. log_groups is ulint
148
but its max allowed value is 10). BUT buffer_pool_size and
149
log_file_size allow up to 2^64-1. */
150
151
IB_CFG_ULINT
,
154
IB_CFG_ULONG
,
157
IB_CFG_TEXT
,
160
IB_CFG_CB
162
}
ib_cfg_type_t
;
163
165
typedef
enum
{
166
IB_VARCHAR
= 1,
169
IB_CHAR
= 2,
172
IB_BINARY
= 3,
176
IB_VARBINARY
= 4,
178
IB_BLOB
= 5,
181
IB_INT
= 6,
189
IB_SYS
= 8,
193
IB_FLOAT
= 9,
195
IB_DOUBLE = 10,
197
IB_DECIMAL
= 11,
200
IB_VARCHAR_ANYCHARSET
= 12,
202
IB_CHAR_ANYCHARSET
= 13
204
}
ib_col_type_t
;
205
207
typedef
enum
{
208
IB_TBL_REDUNDANT
,
211
IB_TBL_COMPACT
,
219
IB_TBL_DYNAMIC
,
222
IB_TBL_COMPRESSED
224
}
ib_tbl_fmt_t
;
225
227
typedef
enum
{
228
IB_COL_NONE
= 0,
230
IB_COL_NOT_NULL
= 1,
232
IB_COL_UNSIGNED
= 2,
234
IB_COL_NOT_USED
= 4,
236
IB_COL_CUSTOM1
= 8,
240
IB_COL_CUSTOM2
= 16,
244
IB_COL_CUSTOM3
= 32
247
}
ib_col_attr_t
;
248
249
/* Note: must match lock0types.h */
251
typedef
enum
{
252
IB_LOCK_IS
= 0,
255
IB_LOCK_IX
,
258
IB_LOCK_S
,
261
IB_LOCK_X
,
264
IB_LOCK_TABLE_X
,
266
IB_LOCK_NONE
,
269
IB_LOCK_NUM
=
IB_LOCK_NONE
270
}
ib_lck_mode_t
;
271
272
typedef
enum
{
273
IB_CLUSTERED
= 1,
274
IB_UNIQUE
= 2
275
}
ib_index_type_t
;
276
279
typedef
enum
{
280
IB_CUR_G
= 1,
284
IB_CUR_GE
= 2,
289
IB_CUR_L
= 3,
293
IB_CUR_LE
= 4
297
}
ib_srch_mode_t
;
298
300
typedef
enum
{
301
IB_CLOSEST_MATCH
,
303
IB_EXACT_MATCH
,
306
IB_EXACT_PREFIX
311
}
ib_match_mode_t
;
312
314
typedef
struct
{
315
ib_col_type_t
type
;
317
ib_col_attr_t
attr
;
319
ib_u32_t
type_len
;
321
ib_u16_t
client_type;
324
ib_charset_t*
charset
;
325
}
ib_col_meta_t
;
326
327
/* Note: Must be in sync with trx0trx.h */
333
typedef
enum
{
334
IB_TRX_NOT_STARTED
,
337
IB_TRX_ACTIVE
,
341
IB_TRX_COMMITTED_IN_MEMORY
,
343
IB_TRX_PREPARED
344
}
ib_trx_state_t
;
345
346
/* Note: Must be in sync with trx0trx.h */
348
typedef
enum
{
349
IB_TRX_READ_UNCOMMITTED
= 0,
356
IB_TRX_READ_COMMITTED
= 1,
366
IB_TRX_REPEATABLE_READ
= 2,
371
IB_TRX_SERIALIZABLE
= 3
373
}
ib_trx_level_t
;
374
376
typedef
void (*
ib_cb_t
)(void);
377
378
#define IB_CFG_BINLOG_ENABLED 0x1
379
#define IB_CFG_MDL_ENABLED 0x2
380
#define IB_CFG_DISABLE_ROWLOCK 0x4
381
385
typedef
FILE*
ib_msg_stream_t
;
386
389
typedef
int (*
ib_msg_log_t
)(
ib_msg_stream_t
,
const
char
*, ...);
390
391
/* Note: This is to make it easy for API users to have type
392
checking for arguments to our functions. Making it ib_opaque_t
393
by itself will result in pointer decay resulting in subverting
394
of the compiler's type checking. */
395
401
typedef
struct
ib_tuple_t*
ib_tpl_t
;
402
410
typedef
struct
trx_t
*
ib_trx_t
;
411
413
typedef
struct
ib_cursor_t*
ib_crsr_t
;
414
415
/*************************************************************/
426
typedef
int (*
ib_client_cmp_t
)(
427
const
ib_col_meta_t
* col_meta,
428
const
ib_byte_t
* p1,
429
ib_ulint_t
p1_len,
430
const
ib_byte_t
* p2,
431
ib_ulint_t
p2_len);
432
433
/* This should be the same as univ.i */
435
#define IB_SQL_NULL 0xFFFFFFFF
436
437
#define IB_N_SYS_COLS 3
438
440
#define MAX_TEXT_LEN 4096
441
442
/* MySQL uses 3 byte UTF-8 encoding. */
444
#define IB_MAX_COL_NAME_LEN (64 * 3)
445
447
#define IB_MAX_TABLE_NAME_LEN (64 * 3) * 2
448
449
/*****************************************************************/
458
ib_err_t
459
ib_trx_start
(
460
/*=========*/
461
ib_trx_t ib_trx,
462
ib_trx_level_t
ib_trx_level,
463
ib_bool_t read_write,
465
ib_bool_t auto_commit,
467
void
* thd);
469
/*****************************************************************/
474
ib_trx_t
475
ib_trx_begin
(
476
/*=========*/
477
ib_trx_level_t
ib_trx_level,
478
ib_bool_t read_write,
480
ib_bool_t auto_commit);
483
/*****************************************************************/
492
ib_trx_state_t
493
ib_trx_state
(
494
/*=========*/
495
ib_trx_t ib_trx);
497
/*****************************************************************/
503
ib_err_t
504
ib_trx_release
(
505
/*===========*/
506
ib_trx_t ib_trx);
508
/*****************************************************************/
513
ib_err_t
514
ib_trx_commit
(
515
/*==========*/
516
ib_trx_t ib_trx);
518
/*****************************************************************/
523
ib_err_t
524
ib_trx_rollback
(
525
/*============*/
526
ib_trx_t ib_trx);
528
/*****************************************************************/
532
ib_err_t
533
ib_cursor_open_table_using_id
(
534
/*==========================*/
535
ib_id_u64_t table_id,
536
ib_trx_t ib_trx,
538
ib_crsr_t
* ib_crsr);
540
/*****************************************************************/
544
ib_err_t
545
ib_cursor_open_index_using_id
(
546
/*==========================*/
547
ib_id_u64_t index_id,
548
ib_trx_t ib_trx,
550
ib_crsr_t
* ib_crsr);
552
/*****************************************************************/
556
ib_err_t
557
ib_cursor_open_index_using_name
(
558
/*============================*/
559
ib_crsr_t
ib_open_crsr,
560
const
char
* index_name,
561
ib_crsr_t
* ib_crsr,
562
int
* idx_type,
563
ib_id_u64_t* idx_id);
565
/*****************************************************************/
569
ib_err_t
570
ib_cursor_open_table
(
571
/*=================*/
572
const
char
* name,
573
ib_trx_t ib_trx,
575
ib_crsr_t
* ib_crsr);
577
/*****************************************************************/
581
ib_err_t
582
ib_cursor_reset
(
583
/*============*/
584
ib_crsr_t
ib_crsr);
587
/*****************************************************************/
590
void
591
ib_cursor_clear_trx
(
592
/*================*/
593
ib_crsr_t
ib_crsr);
595
/*****************************************************************/
599
ib_err_t
600
ib_cursor_close
(
601
/*============*/
602
ib_crsr_t
ib_crsr);
604
/*****************************************************************/
608
ib_err_t
609
ib_cursor_close_table
(
610
/*==================*/
611
ib_crsr_t
ib_crsr);
613
/*****************************************************************/
617
ib_err_t
618
ib_cursor_new_trx
(
619
/*==============*/
620
ib_crsr_t
ib_crsr,
621
ib_trx_t ib_trx);
623
/*****************************************************************/
627
ib_err_t
628
ib_cursor_commit_trx
(
629
/*=================*/
630
ib_crsr_t
ib_crsr,
631
ib_trx_t ib_trx);
633
/********************************************************************/
637
void
*
638
ib_open_table_by_name
(
639
/*==================*/
640
const
char
* name);
642
/*****************************************************************/
646
ib_err_t
647
ib_cursor_insert_row
(
648
/*=================*/
649
ib_crsr_t
ib_crsr,
650
const
ib_tpl_t
ib_tpl);
652
/*****************************************************************/
656
ib_err_t
657
ib_cursor_update_row
(
658
/*=================*/
659
ib_crsr_t
ib_crsr,
660
const
ib_tpl_t
ib_old_tpl,
661
const
ib_tpl_t
ib_new_tpl);
663
/*****************************************************************/
667
ib_err_t
668
ib_cursor_delete_row
(
669
/*=================*/
670
ib_crsr_t
ib_crsr);
672
/*****************************************************************/
676
ib_err_t
677
ib_cursor_read_row
(
678
/*===============*/
679
ib_crsr_t
ib_crsr,
680
ib_tpl_t
ib_tpl,
681
void
** row_buf,
682
ib_ulint_t
* row_len);
684
/*****************************************************************/
688
ib_err_t
689
ib_cursor_first
(
690
/*============*/
691
ib_crsr_t
ib_crsr);
693
/*****************************************************************/
697
ib_err_t
698
ib_cursor_last
(
699
/*===========*/
700
ib_crsr_t
ib_crsr);
702
/*****************************************************************/
706
ib_err_t
707
ib_cursor_next
(
708
/*===========*/
709
ib_crsr_t
ib_crsr);
711
/*****************************************************************/
715
ib_err_t
716
ib_cursor_moveto
(
717
/*=============*/
718
ib_crsr_t
ib_crsr,
719
ib_tpl_t
ib_tpl,
720
ib_srch_mode_t
ib_srch_mode);
722
/*****************************************************************/
725
void
726
ib_cursor_set_match_mode
(
727
/*=====================*/
728
ib_crsr_t
ib_crsr,
729
ib_match_mode_t
match_mode);
731
/*****************************************************************/
735
ib_err_t
736
ib_col_set_value
(
737
/*=============*/
738
ib_tpl_t
ib_tpl,
739
ib_ulint_t
col_no,
740
const
void
* src,
741
ib_ulint_t
len,
742
ib_bool_t need_cpy);
745
/*****************************************************************/
749
ib_ulint_t
750
ib_col_get_len
(
751
/*===========*/
752
ib_tpl_t
ib_tpl,
753
ib_ulint_t
i);
755
/*****************************************************************/
759
ib_ulint_t
760
ib_col_copy_value
(
761
/*==============*/
762
ib_tpl_t
ib_tpl,
763
ib_ulint_t
i,
764
void
* dst,
765
ib_ulint_t
len);
767
/*************************************************************/
771
ib_err_t
772
ib_tuple_read_i8
(
773
/*=============*/
774
ib_tpl_t
ib_tpl,
775
ib_ulint_t
i,
776
ib_i8_t
* ival);
778
/*************************************************************/
782
ib_err_t
783
ib_tuple_read_u8
(
784
/*=============*/
785
ib_tpl_t
ib_tpl,
786
ib_ulint_t
i,
787
ib_u8_t
* ival);
789
/*************************************************************/
793
ib_err_t
794
ib_tuple_read_i16
(
795
/*==============*/
796
ib_tpl_t
ib_tpl,
797
ib_ulint_t
i,
798
ib_i16_t
* ival);
800
/*************************************************************/
804
ib_err_t
805
ib_tuple_read_u16
(
806
/*==============*/
807
ib_tpl_t
ib_tpl,
808
ib_ulint_t
i,
809
ib_u16_t
* ival);
811
/*************************************************************/
815
ib_err_t
816
ib_tuple_read_i32
(
817
/*==============*/
818
ib_tpl_t
ib_tpl,
819
ib_ulint_t
i,
820
ib_i32_t
* ival);
822
/*************************************************************/
826
ib_err_t
827
ib_tuple_read_u32
(
828
/*==============*/
829
ib_tpl_t
ib_tpl,
830
ib_ulint_t
i,
831
ib_u32_t
* ival);
833
/*************************************************************/
837
ib_err_t
838
ib_tuple_read_i64
(
839
/*==============*/
840
ib_tpl_t
ib_tpl,
841
ib_ulint_t
i,
842
ib_i64_t
* ival);
844
/*************************************************************/
848
ib_err_t
849
ib_tuple_read_u64
(
850
/*==============*/
851
ib_tpl_t
ib_tpl,
852
ib_ulint_t
i,
853
ib_u64_t
* ival);
855
/*****************************************************************/
859
const
void
*
860
ib_col_get_value
(
861
/*=============*/
862
ib_tpl_t
ib_tpl,
863
ib_ulint_t
i);
865
/*****************************************************************/
869
ib_ulint_t
870
ib_col_get_meta
(
871
/*============*/
872
ib_tpl_t
ib_tpl,
873
ib_ulint_t
i,
874
ib_col_meta_t
* ib_col_meta);
876
/*****************************************************************/
880
ib_tpl_t
881
ib_tuple_clear
(
882
/*============*/
883
ib_tpl_t
ib_tpl);
885
/*****************************************************************/
891
ib_err_t
892
ib_tuple_get_cluster_key
(
893
/*=====================*/
894
ib_crsr_t
ib_crsr,
895
ib_tpl_t
* ib_dst_tpl,
896
const
ib_tpl_t
ib_src_tpl);
898
/*****************************************************************/
903
ib_err_t
904
ib_tuple_copy
(
905
/*==========*/
906
ib_tpl_t
ib_dst_tpl,
907
const
ib_tpl_t
ib_src_tpl);
909
/*****************************************************************/
913
ib_tpl_t
914
ib_sec_search_tuple_create
(
915
/*=======================*/
916
ib_crsr_t
ib_crsr);
918
/*****************************************************************/
922
ib_tpl_t
923
ib_sec_read_tuple_create
(
924
/*=====================*/
925
ib_crsr_t
ib_crsr);
927
/*****************************************************************/
931
ib_tpl_t
932
ib_clust_search_tuple_create
(
933
/*=========================*/
934
ib_crsr_t
ib_crsr);
936
/*****************************************************************/
940
ib_tpl_t
941
ib_clust_read_tuple_create
(
942
/*=======================*/
943
ib_crsr_t
ib_crsr);
945
/*****************************************************************/
949
ib_ulint_t
950
ib_tuple_get_n_user_cols
(
951
/*=====================*/
952
const
ib_tpl_t
ib_tpl);
954
/*****************************************************************/
958
ib_ulint_t
959
ib_tuple_get_n_cols
(
960
/*================*/
961
const
ib_tpl_t
ib_tpl);
963
/*****************************************************************/
966
void
967
ib_tuple_delete
(
968
/*============*/
969
ib_tpl_t
ib_tpl);
971
/*****************************************************************/
976
ib_err_t
977
ib_cursor_truncate
(
978
/*===============*/
979
ib_crsr_t
* ib_crsr,
981
ib_id_u64_t* table_id);
983
/*****************************************************************/
987
ib_err_t
988
ib_table_get_id
(
989
/*============*/
990
const
char
* table_name,
991
ib_id_u64_t* table_id);
993
/*****************************************************************/
997
ib_err_t
998
ib_index_get_id
(
999
/*============*/
1000
const
char
* table_name,
1001
const
char
* index_name,
1002
ib_id_u64_t* index_id);
1004
/*****************************************************************/
1008
ib_bool_t
1009
ib_cursor_is_positioned
(
1010
/*====================*/
1011
const
ib_crsr_t
ib_crsr);
1013
/*****************************************************************/
1018
ib_bool_t
1019
ib_schema_lock_is_exclusive
(
1020
/*========================*/
1021
const
ib_trx_t ib_trx);
1023
/*****************************************************************/
1027
ib_err_t
1028
ib_cursor_lock
(
1029
/*===========*/
1030
ib_crsr_t
ib_crsr,
1031
ib_lck_mode_t
ib_lck_mode);
1033
/*****************************************************************/
1037
ib_err_t
1038
ib_table_lock
(
1039
/*===========*/
1040
ib_trx_t ib_trx,
1041
ib_id_u64_t table_id,
1042
ib_lck_mode_t
ib_lck_mode);
1044
/*****************************************************************/
1048
ib_err_t
1049
ib_cursor_set_lock_mode
(
1050
/*====================*/
1051
ib_crsr_t
ib_crsr,
1052
ib_lck_mode_t
ib_lck_mode);
1054
/*****************************************************************/
1057
void
1058
ib_cursor_set_cluster_access
(
1059
/*=========================*/
1060
ib_crsr_t
ib_crsr);
1062
/*****************************************************************/
1067
ib_err_t
1068
ib_tuple_write_i8
(
1069
/*==============*/
1070
ib_tpl_t
ib_tpl,
1071
int
col_no,
1072
ib_i8_t
val);
1074
/*****************************************************************/
1079
ib_err_t
1080
ib_tuple_write_i16
(
1081
/*=================*/
1082
ib_tpl_t
ib_tpl,
1083
int
col_no,
1084
ib_i16_t
val);
1086
/*****************************************************************/
1091
ib_err_t
1092
ib_tuple_write_i32
(
1093
/*===============*/
1094
ib_tpl_t
ib_tpl,
1095
int
col_no,
1096
ib_i32_t
val);
1098
/*****************************************************************/
1103
ib_err_t
1104
ib_tuple_write_i64
(
1105
/*===============*/
1106
ib_tpl_t
ib_tpl,
1107
int
col_no,
1108
ib_i64_t
val);
1110
/*****************************************************************/
1115
ib_err_t
1116
ib_tuple_write_u8
(
1117
/*==============*/
1118
ib_tpl_t
ib_tpl,
1119
int
col_no,
1120
ib_u8_t
val);
1122
/*****************************************************************/
1127
ib_err_t
1128
ib_tuple_write_u16
(
1129
/*===============*/
1130
ib_tpl_t
ib_tpl,
1131
int
col_no,
1132
ib_u16_t
val);
1134
/*****************************************************************/
1139
ib_err_t
1140
ib_tuple_write_u32
(
1141
/*=================*/
1142
ib_tpl_t
ib_tpl,
1143
int
col_no,
1144
ib_u32_t
val);
1146
/*****************************************************************/
1151
ib_err_t
1152
ib_tuple_write_u64
(
1153
/*===============*/
1154
ib_tpl_t
ib_tpl,
1155
int
col_no,
1156
ib_u64_t
val);
1158
/*****************************************************************/
1161
void
1162
ib_cursor_stmt_begin
(
1163
/*=================*/
1164
ib_crsr_t
ib_crsr);
1166
/*****************************************************************/
1170
ib_err_t
1171
ib_tuple_write_double
(
1172
/*==================*/
1173
ib_tpl_t
ib_tpl,
1174
int
col_no,
1175
double
val);
1177
/*************************************************************/
1181
ib_err_t
1182
ib_tuple_read_double
(
1183
/*=================*/
1184
ib_tpl_t
ib_tpl,
1185
ib_ulint_t
col_no,
1186
double
* dval);
1188
/*****************************************************************/
1192
ib_err_t
1193
ib_tuple_write_float
(
1194
/*=================*/
1195
ib_tpl_t
ib_tpl,
1196
int
col_no,
1197
float
val);
1199
/*************************************************************/
1203
ib_err_t
1204
ib_tuple_read_float
(
1205
/*================*/
1206
ib_tpl_t
ib_tpl,
1207
ib_ulint_t
col_no,
1208
float
* fval);
1210
/*****************************************************************/
1214
const
char
*
1215
ib_col_get_name
(
1216
/*============*/
1217
ib_crsr_t
ib_crsr,
1218
ib_ulint_t
i);
1220
/*****************************************************************/
1224
const
char
*
1225
ib_get_idx_field_name
(
1226
/*==================*/
1227
ib_crsr_t
ib_crsr,
1228
ib_ulint_t
i);
1230
/*****************************************************************/
1234
ib_err_t
1235
ib_table_truncate
(
1236
/*==============*/
1237
const
char
* table_name,
1238
ib_id_u64_t* table_id);
1240
/*****************************************************************/
1244
ib_err_t
1245
ib_close_thd
(
1246
/*=========*/
1247
void
* thd);
1251
/*****************************************************************/
1255
int
1256
ib_cfg_get_cfg
();
1257
/*============*/
1258
1259
/*****************************************************************/
1263
ib_err_t
1264
ib_cursor_set_memcached_sync
(
1265
/*=========================*/
1266
ib_crsr_t
ib_crsr,
1267
ib_bool_t flag);
1269
/*****************************************************************/
1274
ib_err_t
1275
ib_table_name_check
(
1276
/*================*/
1277
const
char
* name);
1279
/*****************************************************************/
1283
ib_trx_state_t
1284
ib_cfg_trx_level
();
1285
/*==============*/
1286
1287
/*****************************************************************/
1291
ib_ulint_t
1292
ib_cfg_bk_commit_interval
();
1293
/*=======================*/
1294
1295
/*****************************************************************/
1299
ib_u64_t
1300
ib_trx_get_start_time
(
1301
/*==================*/
1302
ib_trx_t ib_trx);
1304
#endif
/* api0api_h */
Generated on Fri Aug 21 2015 19:14:24 for InnoDB Plugin by
1.8.1.2