transactd 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/common/{tdclc_32_3_2.dll → tdclc_32_3_3.dll} +0 -0
- data/bin/common/{tdclc_64_3_2.dll → tdclc_64_3_3.dll} +0 -0
- data/build/swig/ruby/tdclrb_wrap.cpp +117 -549
- data/build/tdclc/tdclc.cbproj +1 -1
- data/build/tdclc/tdclc.rc +4 -4
- data/build/tdclcpp/tdclcpp.rc +4 -4
- data/build/tdclcpp/tdclcpp_bc.cbproj +1 -1
- data/build/tdclrb/tdclrb.rc +4 -4
- data/source/bzs/db/IBlobBuffer.h +2 -1
- data/source/bzs/db/blobBuffer.h +11 -10
- data/source/bzs/db/engine/mysql/database.cpp +13 -25
- data/source/bzs/db/engine/mysql/database.h +1 -8
- data/source/bzs/db/engine/mysql/mysqlProtocol.cpp +85 -68
- data/source/bzs/db/protocol/tdap/client/connMgr.cpp +99 -2
- data/source/bzs/db/protocol/tdap/client/connMgr.h +28 -2
- data/source/bzs/db/protocol/tdap/client/nsTable.cpp +21 -2
- data/source/bzs/db/protocol/tdap/client/nsTable.h +2 -1
- data/source/bzs/db/protocol/tdap/client/serializer.cpp +2 -2
- data/source/bzs/db/protocol/tdap/client/table.cpp +4 -19
- data/source/bzs/db/protocol/tdap/client/table.h +1 -2
- data/source/bzs/db/protocol/tdap/client/trdboostapiInternal.h +7 -0
- data/source/bzs/db/protocol/tdap/myDateTime.cpp +3 -2
- data/source/bzs/db/protocol/tdap/mysql/tdapCommandExecuter.cpp +49 -32
- data/source/bzs/db/protocol/tdap/mysql/tdapCommandExecuter.h +8 -6
- data/source/bzs/db/protocol/tdap/tdapSchema.h +9 -5
- data/source/bzs/db/protocol/tdap/tdapcapi.h +15 -5
- data/source/bzs/db/transactd/connManager.cpp +32 -8
- data/source/bzs/db/transactd/connManager.h +3 -2
- data/source/bzs/db/transactd/connectionRecord.h +37 -9
- data/source/bzs/db/transactd/transactd.cpp +21 -3
- data/source/bzs/test/tdclatl/test_v3.js +14 -3
- data/source/bzs/test/tdclphp/transactd_Test.php +3 -1
- data/source/bzs/test/tdclphp/transactd_v3_Test.php +11 -2
- data/source/bzs/test/tdclrb/transactd_spec.rb +3 -1
- data/source/bzs/test/tdclrb/transactd_v3_spec.rb +11 -1
- data/source/bzs/test/trdclengn/test_trdclengn.cpp +3 -1
- data/source/global/tdclatl/ConnMgr.cpp +20 -0
- data/source/global/tdclatl/ConnMgr.h +2 -0
- data/source/global/tdclatl/ConnRecord.cpp +13 -5
- data/source/global/tdclatl/ConnRecord.h +1 -0
- data/source/global/tdclatl/ConnRecords.h +2 -1
- data/source/global/tdclatl/tdclatl.idl +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c79eae100f0cec327f7c7256987271b359b033e
|
4
|
+
data.tar.gz: b613533af7f33d4b9f402b9d62af82c256ad0481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f777f66e171ca8b93a880c0815dd5f7452d2ccb69e8e65255298b7d8fba114cdd08280651992afbfe3719950d5dadf3e2403fdc45bc706bb161d359ec17ac8b
|
7
|
+
data.tar.gz: f1a3f062f6522ea6f739f1b4d0c0d72d9170df06d960d60e00baaab0cb5900216561c991d53a4e1d14ff33801b46e5075b9babd1732dbe2ea3ede27ef52cf371
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =================================================================
|
2
|
-
Copyright (C) 2014 BizStation Corp All rights reserved.
|
2
|
+
Copyright (C) 2014-2016 BizStation Corp All rights reserved.
|
3
3
|
|
4
4
|
This program is free software; you can redistribute it and/or
|
5
5
|
modify it under the terms of the GNU General Public License
|
@@ -1925,7 +1925,7 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1925
1925
|
#define SWIGTYPE_p_bzs__db__protocol__tdap__client__binlogPos swig_types[92]
|
1926
1926
|
#define SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr swig_types[93]
|
1927
1927
|
#define SWIGTYPE_p_bzs__db__transactd__connection__record swig_types[94]
|
1928
|
-
#define
|
1928
|
+
#define SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records swig_types[95]
|
1929
1929
|
|
1930
1930
|
static swig_type_info *swig_types[97];
|
1931
1931
|
static swig_module_info swig_module = {swig_types, 96, 0, 0, 0, 0};
|
@@ -2606,6 +2606,11 @@ SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_proto
|
|
2606
2606
|
*p = self->sysvars();
|
2607
2607
|
return p;
|
2608
2608
|
}
|
2609
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_statusvars(bzs::db::protocol::tdap::client::connMgr *self){
|
2610
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2611
|
+
*p = self->statusvars();
|
2612
|
+
return p;
|
2613
|
+
}
|
2609
2614
|
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_connections(bzs::db::protocol::tdap::client::connMgr *self){
|
2610
2615
|
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2611
2616
|
*p = self->connections();
|
@@ -12063,34 +12068,6 @@ fail:
|
|
12063
12068
|
|
12064
12069
|
static swig_class SwigClassConnRecord;
|
12065
12070
|
|
12066
|
-
SWIGINTERN VALUE
|
12067
|
-
_wrap_connRecord_conId_set(int argc, VALUE *argv, VALUE self) {
|
12068
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12069
|
-
__int64 arg2 ;
|
12070
|
-
void *argp1 = 0 ;
|
12071
|
-
int res1 = 0 ;
|
12072
|
-
long long val2 ;
|
12073
|
-
int ecode2 = 0 ;
|
12074
|
-
|
12075
|
-
if ((argc < 1) || (argc > 1)) {
|
12076
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12077
|
-
}
|
12078
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12079
|
-
if (!SWIG_IsOK(res1)) {
|
12080
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","conId", 1, self ));
|
12081
|
-
}
|
12082
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12083
|
-
ecode2 = SWIG_AsVal_long_SS_long(argv[0], &val2);
|
12084
|
-
if (!SWIG_IsOK(ecode2)) {
|
12085
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "__int64","conId", 2, argv[0] ));
|
12086
|
-
}
|
12087
|
-
arg2 = static_cast< __int64 >(val2);
|
12088
|
-
if (arg1) (arg1)->conId = arg2;
|
12089
|
-
return Qnil;
|
12090
|
-
fail:
|
12091
|
-
return Qnil;
|
12092
|
-
}
|
12093
|
-
|
12094
12071
|
|
12095
12072
|
SWIGINTERN VALUE
|
12096
12073
|
_wrap_connRecord_conId_get(int argc, VALUE *argv, VALUE self) {
|
@@ -12116,35 +12093,6 @@ fail:
|
|
12116
12093
|
}
|
12117
12094
|
|
12118
12095
|
|
12119
|
-
SWIGINTERN VALUE
|
12120
|
-
_wrap_connRecord_longValue_set(int argc, VALUE *argv, VALUE self) {
|
12121
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12122
|
-
__int64 arg2 ;
|
12123
|
-
void *argp1 = 0 ;
|
12124
|
-
int res1 = 0 ;
|
12125
|
-
long long val2 ;
|
12126
|
-
int ecode2 = 0 ;
|
12127
|
-
|
12128
|
-
if ((argc < 1) || (argc > 1)) {
|
12129
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12130
|
-
}
|
12131
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12132
|
-
if (!SWIG_IsOK(res1)) {
|
12133
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","longValue", 1, self ));
|
12134
|
-
}
|
12135
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12136
|
-
ecode2 = SWIG_AsVal_long_SS_long(argv[0], &val2);
|
12137
|
-
if (!SWIG_IsOK(ecode2)) {
|
12138
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "__int64","longValue", 2, argv[0] ));
|
12139
|
-
}
|
12140
|
-
arg2 = static_cast< __int64 >(val2);
|
12141
|
-
if (arg1) (arg1)->longValue = arg2;
|
12142
|
-
return Qnil;
|
12143
|
-
fail:
|
12144
|
-
return Qnil;
|
12145
|
-
}
|
12146
|
-
|
12147
|
-
|
12148
12096
|
SWIGINTERN VALUE
|
12149
12097
|
_wrap_connRecord_longValue_get(int argc, VALUE *argv, VALUE self) {
|
12150
12098
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12169,35 +12117,6 @@ fail:
|
|
12169
12117
|
}
|
12170
12118
|
|
12171
12119
|
|
12172
|
-
SWIGINTERN VALUE
|
12173
|
-
_wrap_connRecord_delCount_set(int argc, VALUE *argv, VALUE self) {
|
12174
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12175
|
-
unsigned int arg2 ;
|
12176
|
-
void *argp1 = 0 ;
|
12177
|
-
int res1 = 0 ;
|
12178
|
-
unsigned int val2 ;
|
12179
|
-
int ecode2 = 0 ;
|
12180
|
-
|
12181
|
-
if ((argc < 1) || (argc > 1)) {
|
12182
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12183
|
-
}
|
12184
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12185
|
-
if (!SWIG_IsOK(res1)) {
|
12186
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","delCount", 1, self ));
|
12187
|
-
}
|
12188
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12189
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12190
|
-
if (!SWIG_IsOK(ecode2)) {
|
12191
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","delCount", 2, argv[0] ));
|
12192
|
-
}
|
12193
|
-
arg2 = static_cast< unsigned int >(val2);
|
12194
|
-
if (arg1) (arg1)->delCount = arg2;
|
12195
|
-
return Qnil;
|
12196
|
-
fail:
|
12197
|
-
return Qnil;
|
12198
|
-
}
|
12199
|
-
|
12200
|
-
|
12201
12120
|
SWIGINTERN VALUE
|
12202
12121
|
_wrap_connRecord_delCount_get(int argc, VALUE *argv, VALUE self) {
|
12203
12122
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12222,35 +12141,6 @@ fail:
|
|
12222
12141
|
}
|
12223
12142
|
|
12224
12143
|
|
12225
|
-
SWIGINTERN VALUE
|
12226
|
-
_wrap_connRecord_insCount_set(int argc, VALUE *argv, VALUE self) {
|
12227
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12228
|
-
unsigned int arg2 ;
|
12229
|
-
void *argp1 = 0 ;
|
12230
|
-
int res1 = 0 ;
|
12231
|
-
unsigned int val2 ;
|
12232
|
-
int ecode2 = 0 ;
|
12233
|
-
|
12234
|
-
if ((argc < 1) || (argc > 1)) {
|
12235
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12236
|
-
}
|
12237
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12238
|
-
if (!SWIG_IsOK(res1)) {
|
12239
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","insCount", 1, self ));
|
12240
|
-
}
|
12241
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12242
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12243
|
-
if (!SWIG_IsOK(ecode2)) {
|
12244
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","insCount", 2, argv[0] ));
|
12245
|
-
}
|
12246
|
-
arg2 = static_cast< unsigned int >(val2);
|
12247
|
-
if (arg1) (arg1)->insCount = arg2;
|
12248
|
-
return Qnil;
|
12249
|
-
fail:
|
12250
|
-
return Qnil;
|
12251
|
-
}
|
12252
|
-
|
12253
|
-
|
12254
12144
|
SWIGINTERN VALUE
|
12255
12145
|
_wrap_connRecord_insCount_get(int argc, VALUE *argv, VALUE self) {
|
12256
12146
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12275,35 +12165,6 @@ fail:
|
|
12275
12165
|
}
|
12276
12166
|
|
12277
12167
|
|
12278
|
-
SWIGINTERN VALUE
|
12279
|
-
_wrap_connRecord_id_set(int argc, VALUE *argv, VALUE self) {
|
12280
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12281
|
-
unsigned int arg2 ;
|
12282
|
-
void *argp1 = 0 ;
|
12283
|
-
int res1 = 0 ;
|
12284
|
-
unsigned int val2 ;
|
12285
|
-
int ecode2 = 0 ;
|
12286
|
-
|
12287
|
-
if ((argc < 1) || (argc > 1)) {
|
12288
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12289
|
-
}
|
12290
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12291
|
-
if (!SWIG_IsOK(res1)) {
|
12292
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","id", 1, self ));
|
12293
|
-
}
|
12294
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12295
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12296
|
-
if (!SWIG_IsOK(ecode2)) {
|
12297
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","id", 2, argv[0] ));
|
12298
|
-
}
|
12299
|
-
arg2 = static_cast< unsigned int >(val2);
|
12300
|
-
if (arg1) (arg1)->id = arg2;
|
12301
|
-
return Qnil;
|
12302
|
-
fail:
|
12303
|
-
return Qnil;
|
12304
|
-
}
|
12305
|
-
|
12306
|
-
|
12307
12168
|
SWIGINTERN VALUE
|
12308
12169
|
_wrap_connRecord_id_get(int argc, VALUE *argv, VALUE self) {
|
12309
12170
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12328,35 +12189,6 @@ fail:
|
|
12328
12189
|
}
|
12329
12190
|
|
12330
12191
|
|
12331
|
-
SWIGINTERN VALUE
|
12332
|
-
_wrap_connRecord_db_set(int argc, VALUE *argv, VALUE self) {
|
12333
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12334
|
-
unsigned int arg2 ;
|
12335
|
-
void *argp1 = 0 ;
|
12336
|
-
int res1 = 0 ;
|
12337
|
-
unsigned int val2 ;
|
12338
|
-
int ecode2 = 0 ;
|
12339
|
-
|
12340
|
-
if ((argc < 1) || (argc > 1)) {
|
12341
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12342
|
-
}
|
12343
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12344
|
-
if (!SWIG_IsOK(res1)) {
|
12345
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","db", 1, self ));
|
12346
|
-
}
|
12347
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12348
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12349
|
-
if (!SWIG_IsOK(ecode2)) {
|
12350
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","db", 2, argv[0] ));
|
12351
|
-
}
|
12352
|
-
arg2 = static_cast< unsigned int >(val2);
|
12353
|
-
if (arg1) (arg1)->db = arg2;
|
12354
|
-
return Qnil;
|
12355
|
-
fail:
|
12356
|
-
return Qnil;
|
12357
|
-
}
|
12358
|
-
|
12359
|
-
|
12360
12192
|
SWIGINTERN VALUE
|
12361
12193
|
_wrap_connRecord_db_get(int argc, VALUE *argv, VALUE self) {
|
12362
12194
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12381,35 +12213,6 @@ fail:
|
|
12381
12213
|
}
|
12382
12214
|
|
12383
12215
|
|
12384
|
-
SWIGINTERN VALUE
|
12385
|
-
_wrap_connRecord_readCount_set(int argc, VALUE *argv, VALUE self) {
|
12386
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12387
|
-
unsigned int arg2 ;
|
12388
|
-
void *argp1 = 0 ;
|
12389
|
-
int res1 = 0 ;
|
12390
|
-
unsigned int val2 ;
|
12391
|
-
int ecode2 = 0 ;
|
12392
|
-
|
12393
|
-
if ((argc < 1) || (argc > 1)) {
|
12394
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12395
|
-
}
|
12396
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12397
|
-
if (!SWIG_IsOK(res1)) {
|
12398
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","readCount", 1, self ));
|
12399
|
-
}
|
12400
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12401
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12402
|
-
if (!SWIG_IsOK(ecode2)) {
|
12403
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","readCount", 2, argv[0] ));
|
12404
|
-
}
|
12405
|
-
arg2 = static_cast< unsigned int >(val2);
|
12406
|
-
if (arg1) (arg1)->readCount = arg2;
|
12407
|
-
return Qnil;
|
12408
|
-
fail:
|
12409
|
-
return Qnil;
|
12410
|
-
}
|
12411
|
-
|
12412
|
-
|
12413
12216
|
SWIGINTERN VALUE
|
12414
12217
|
_wrap_connRecord_readCount_get(int argc, VALUE *argv, VALUE self) {
|
12415
12218
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12434,35 +12237,6 @@ fail:
|
|
12434
12237
|
}
|
12435
12238
|
|
12436
12239
|
|
12437
|
-
SWIGINTERN VALUE
|
12438
|
-
_wrap_connRecord_updCount_set(int argc, VALUE *argv, VALUE self) {
|
12439
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12440
|
-
unsigned int arg2 ;
|
12441
|
-
void *argp1 = 0 ;
|
12442
|
-
int res1 = 0 ;
|
12443
|
-
unsigned int val2 ;
|
12444
|
-
int ecode2 = 0 ;
|
12445
|
-
|
12446
|
-
if ((argc < 1) || (argc > 1)) {
|
12447
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12448
|
-
}
|
12449
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12450
|
-
if (!SWIG_IsOK(res1)) {
|
12451
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","updCount", 1, self ));
|
12452
|
-
}
|
12453
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12454
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12455
|
-
if (!SWIG_IsOK(ecode2)) {
|
12456
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","updCount", 2, argv[0] ));
|
12457
|
-
}
|
12458
|
-
arg2 = static_cast< unsigned int >(val2);
|
12459
|
-
if (arg1) (arg1)->updCount = arg2;
|
12460
|
-
return Qnil;
|
12461
|
-
fail:
|
12462
|
-
return Qnil;
|
12463
|
-
}
|
12464
|
-
|
12465
|
-
|
12466
12240
|
SWIGINTERN VALUE
|
12467
12241
|
_wrap_connRecord_updCount_get(int argc, VALUE *argv, VALUE self) {
|
12468
12242
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12487,35 +12261,6 @@ fail:
|
|
12487
12261
|
}
|
12488
12262
|
|
12489
12263
|
|
12490
|
-
SWIGINTERN VALUE
|
12491
|
-
_wrap_connRecord_type_set(int argc, VALUE *argv, VALUE self) {
|
12492
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12493
|
-
unsigned int arg2 ;
|
12494
|
-
void *argp1 = 0 ;
|
12495
|
-
int res1 = 0 ;
|
12496
|
-
unsigned int val2 ;
|
12497
|
-
int ecode2 = 0 ;
|
12498
|
-
|
12499
|
-
if ((argc < 1) || (argc > 1)) {
|
12500
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12501
|
-
}
|
12502
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12503
|
-
if (!SWIG_IsOK(res1)) {
|
12504
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","type", 1, self ));
|
12505
|
-
}
|
12506
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12507
|
-
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
12508
|
-
if (!SWIG_IsOK(ecode2)) {
|
12509
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","type", 2, argv[0] ));
|
12510
|
-
}
|
12511
|
-
arg2 = static_cast< unsigned int >(val2);
|
12512
|
-
if (arg1) (arg1)->type = arg2;
|
12513
|
-
return Qnil;
|
12514
|
-
fail:
|
12515
|
-
return Qnil;
|
12516
|
-
}
|
12517
|
-
|
12518
|
-
|
12519
12264
|
SWIGINTERN VALUE
|
12520
12265
|
_wrap_connRecord_type_get(int argc, VALUE *argv, VALUE self) {
|
12521
12266
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12540,36 +12285,6 @@ fail:
|
|
12540
12285
|
}
|
12541
12286
|
|
12542
12287
|
|
12543
|
-
SWIGINTERN VALUE
|
12544
|
-
_wrap_connRecord_name_set(int argc, VALUE *argv, VALUE self) {
|
12545
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12546
|
-
char *arg2 ;
|
12547
|
-
void *argp1 = 0 ;
|
12548
|
-
int res1 = 0 ;
|
12549
|
-
char temp2[67] ;
|
12550
|
-
int res2 ;
|
12551
|
-
|
12552
|
-
if ((argc < 1) || (argc > 1)) {
|
12553
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12554
|
-
}
|
12555
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12556
|
-
if (!SWIG_IsOK(res1)) {
|
12557
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","name", 1, self ));
|
12558
|
-
}
|
12559
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12560
|
-
res2 = SWIG_AsCharArray(argv[0], temp2, 67);
|
12561
|
-
if (!SWIG_IsOK(res2)) {
|
12562
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [67]","name", 2, argv[0] ));
|
12563
|
-
}
|
12564
|
-
arg2 = reinterpret_cast< char * >(temp2);
|
12565
|
-
if (arg2) memcpy(arg1->name,arg2,67*sizeof(char));
|
12566
|
-
else memset(arg1->name,0,67*sizeof(char));
|
12567
|
-
return Qnil;
|
12568
|
-
fail:
|
12569
|
-
return Qnil;
|
12570
|
-
}
|
12571
|
-
|
12572
|
-
|
12573
12288
|
SWIGINTERN VALUE
|
12574
12289
|
_wrap_connRecord_name_get(int argc, VALUE *argv, VALUE self) {
|
12575
12290
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12600,36 +12315,6 @@ fail:
|
|
12600
12315
|
}
|
12601
12316
|
|
12602
12317
|
|
12603
|
-
SWIGINTERN VALUE
|
12604
|
-
_wrap_connRecord_value_set(int argc, VALUE *argv, VALUE self) {
|
12605
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12606
|
-
char *arg2 ;
|
12607
|
-
void *argp1 = 0 ;
|
12608
|
-
int res1 = 0 ;
|
12609
|
-
char temp2[67] ;
|
12610
|
-
int res2 ;
|
12611
|
-
|
12612
|
-
if ((argc < 1) || (argc > 1)) {
|
12613
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12614
|
-
}
|
12615
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12616
|
-
if (!SWIG_IsOK(res1)) {
|
12617
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","value", 1, self ));
|
12618
|
-
}
|
12619
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12620
|
-
res2 = SWIG_AsCharArray(argv[0], temp2, 67);
|
12621
|
-
if (!SWIG_IsOK(res2)) {
|
12622
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [67]","value", 2, argv[0] ));
|
12623
|
-
}
|
12624
|
-
arg2 = reinterpret_cast< char * >(temp2);
|
12625
|
-
if (arg2) memcpy(arg1->value,arg2,67*sizeof(char));
|
12626
|
-
else memset(arg1->value,0,67*sizeof(char));
|
12627
|
-
return Qnil;
|
12628
|
-
fail:
|
12629
|
-
return Qnil;
|
12630
|
-
}
|
12631
|
-
|
12632
|
-
|
12633
12318
|
SWIGINTERN VALUE
|
12634
12319
|
_wrap_connRecord_value_get(int argc, VALUE *argv, VALUE self) {
|
12635
12320
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12646,49 +12331,22 @@ _wrap_connRecord_value_get(int argc, VALUE *argv, VALUE self) {
|
|
12646
12331
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","value", 1, self ));
|
12647
12332
|
}
|
12648
12333
|
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12649
|
-
|
12334
|
+
|
12335
|
+
if (arg1->type == 0)
|
12336
|
+
vresult = SWIG_From_long_SS_long(static_cast< long long >(arg1->longValue));
|
12337
|
+
else if (arg1->type == 1)
|
12650
12338
|
{
|
12651
|
-
|
12652
|
-
|
12653
|
-
|
12654
|
-
|
12655
|
-
vresult = SWIG_FromCharPtrAndSize(result, size);
|
12339
|
+
size_t size = SWIG_strnlen(arg1->name, 67);
|
12340
|
+
vresult = SWIG_FromCharPtrAndSize(arg1->name, size);
|
12656
12341
|
}
|
12342
|
+
else
|
12343
|
+
vresult = rb_enc_str_new((char *)arg1->longValue, strlen((char *)arg1->longValue), rb_enc_find_from_codepage(CP_UTF8));
|
12657
12344
|
return vresult;
|
12658
12345
|
fail:
|
12659
12346
|
return Qnil;
|
12660
12347
|
}
|
12661
12348
|
|
12662
12349
|
|
12663
|
-
SWIGINTERN VALUE
|
12664
|
-
_wrap_connRecord_inTransaction_set(int argc, VALUE *argv, VALUE self) {
|
12665
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12666
|
-
char arg2 ;
|
12667
|
-
void *argp1 = 0 ;
|
12668
|
-
int res1 = 0 ;
|
12669
|
-
char val2 ;
|
12670
|
-
int ecode2 = 0 ;
|
12671
|
-
|
12672
|
-
if ((argc < 1) || (argc > 1)) {
|
12673
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12674
|
-
}
|
12675
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12676
|
-
if (!SWIG_IsOK(res1)) {
|
12677
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","inTransaction", 1, self ));
|
12678
|
-
}
|
12679
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12680
|
-
ecode2 = SWIG_AsVal_char(argv[0], &val2);
|
12681
|
-
if (!SWIG_IsOK(ecode2)) {
|
12682
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","inTransaction", 2, argv[0] ));
|
12683
|
-
}
|
12684
|
-
arg2 = static_cast< char >(val2);
|
12685
|
-
if (arg1) (arg1)->inTransaction = arg2;
|
12686
|
-
return Qnil;
|
12687
|
-
fail:
|
12688
|
-
return Qnil;
|
12689
|
-
}
|
12690
|
-
|
12691
|
-
|
12692
12350
|
SWIGINTERN VALUE
|
12693
12351
|
_wrap_connRecord_inTransaction_get(int argc, VALUE *argv, VALUE self) {
|
12694
12352
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12713,35 +12371,6 @@ fail:
|
|
12713
12371
|
}
|
12714
12372
|
|
12715
12373
|
|
12716
|
-
SWIGINTERN VALUE
|
12717
|
-
_wrap_connRecord_inSnapshot_set(int argc, VALUE *argv, VALUE self) {
|
12718
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12719
|
-
char arg2 ;
|
12720
|
-
void *argp1 = 0 ;
|
12721
|
-
int res1 = 0 ;
|
12722
|
-
char val2 ;
|
12723
|
-
int ecode2 = 0 ;
|
12724
|
-
|
12725
|
-
if ((argc < 1) || (argc > 1)) {
|
12726
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12727
|
-
}
|
12728
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12729
|
-
if (!SWIG_IsOK(res1)) {
|
12730
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","inSnapshot", 1, self ));
|
12731
|
-
}
|
12732
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12733
|
-
ecode2 = SWIG_AsVal_char(argv[0], &val2);
|
12734
|
-
if (!SWIG_IsOK(ecode2)) {
|
12735
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","inSnapshot", 2, argv[0] ));
|
12736
|
-
}
|
12737
|
-
arg2 = static_cast< char >(val2);
|
12738
|
-
if (arg1) (arg1)->inSnapshot = arg2;
|
12739
|
-
return Qnil;
|
12740
|
-
fail:
|
12741
|
-
return Qnil;
|
12742
|
-
}
|
12743
|
-
|
12744
|
-
|
12745
12374
|
SWIGINTERN VALUE
|
12746
12375
|
_wrap_connRecord_inSnapshot_get(int argc, VALUE *argv, VALUE self) {
|
12747
12376
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12766,35 +12395,6 @@ fail:
|
|
12766
12395
|
}
|
12767
12396
|
|
12768
12397
|
|
12769
|
-
SWIGINTERN VALUE
|
12770
|
-
_wrap_connRecord_openNormal_set(int argc, VALUE *argv, VALUE self) {
|
12771
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12772
|
-
char arg2 ;
|
12773
|
-
void *argp1 = 0 ;
|
12774
|
-
int res1 = 0 ;
|
12775
|
-
char val2 ;
|
12776
|
-
int ecode2 = 0 ;
|
12777
|
-
|
12778
|
-
if ((argc < 1) || (argc > 1)) {
|
12779
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12780
|
-
}
|
12781
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12782
|
-
if (!SWIG_IsOK(res1)) {
|
12783
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openNormal", 1, self ));
|
12784
|
-
}
|
12785
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12786
|
-
ecode2 = SWIG_AsVal_char(argv[0], &val2);
|
12787
|
-
if (!SWIG_IsOK(ecode2)) {
|
12788
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","openNormal", 2, argv[0] ));
|
12789
|
-
}
|
12790
|
-
arg2 = static_cast< char >(val2);
|
12791
|
-
if (arg1) (arg1)->openNormal = arg2;
|
12792
|
-
return Qnil;
|
12793
|
-
fail:
|
12794
|
-
return Qnil;
|
12795
|
-
}
|
12796
|
-
|
12797
|
-
|
12798
12398
|
SWIGINTERN VALUE
|
12799
12399
|
_wrap_connRecord_openNormal_get(int argc, VALUE *argv, VALUE self) {
|
12800
12400
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12819,35 +12419,6 @@ fail:
|
|
12819
12419
|
}
|
12820
12420
|
|
12821
12421
|
|
12822
|
-
SWIGINTERN VALUE
|
12823
|
-
_wrap_connRecord_openReadOnly_set(int argc, VALUE *argv, VALUE self) {
|
12824
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12825
|
-
char arg2 ;
|
12826
|
-
void *argp1 = 0 ;
|
12827
|
-
int res1 = 0 ;
|
12828
|
-
char val2 ;
|
12829
|
-
int ecode2 = 0 ;
|
12830
|
-
|
12831
|
-
if ((argc < 1) || (argc > 1)) {
|
12832
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12833
|
-
}
|
12834
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12835
|
-
if (!SWIG_IsOK(res1)) {
|
12836
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openReadOnly", 1, self ));
|
12837
|
-
}
|
12838
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12839
|
-
ecode2 = SWIG_AsVal_char(argv[0], &val2);
|
12840
|
-
if (!SWIG_IsOK(ecode2)) {
|
12841
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","openReadOnly", 2, argv[0] ));
|
12842
|
-
}
|
12843
|
-
arg2 = static_cast< char >(val2);
|
12844
|
-
if (arg1) (arg1)->openReadOnly = arg2;
|
12845
|
-
return Qnil;
|
12846
|
-
fail:
|
12847
|
-
return Qnil;
|
12848
|
-
}
|
12849
|
-
|
12850
|
-
|
12851
12422
|
SWIGINTERN VALUE
|
12852
12423
|
_wrap_connRecord_openReadOnly_get(int argc, VALUE *argv, VALUE self) {
|
12853
12424
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12872,35 +12443,6 @@ fail:
|
|
12872
12443
|
}
|
12873
12444
|
|
12874
12445
|
|
12875
|
-
SWIGINTERN VALUE
|
12876
|
-
_wrap_connRecord_openEx_set(int argc, VALUE *argv, VALUE self) {
|
12877
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12878
|
-
char arg2 ;
|
12879
|
-
void *argp1 = 0 ;
|
12880
|
-
int res1 = 0 ;
|
12881
|
-
char val2 ;
|
12882
|
-
int ecode2 = 0 ;
|
12883
|
-
|
12884
|
-
if ((argc < 1) || (argc > 1)) {
|
12885
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12886
|
-
}
|
12887
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12888
|
-
if (!SWIG_IsOK(res1)) {
|
12889
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openEx", 1, self ));
|
12890
|
-
}
|
12891
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12892
|
-
ecode2 = SWIG_AsVal_char(argv[0], &val2);
|
12893
|
-
if (!SWIG_IsOK(ecode2)) {
|
12894
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","openEx", 2, argv[0] ));
|
12895
|
-
}
|
12896
|
-
arg2 = static_cast< char >(val2);
|
12897
|
-
if (arg1) (arg1)->openEx = arg2;
|
12898
|
-
return Qnil;
|
12899
|
-
fail:
|
12900
|
-
return Qnil;
|
12901
|
-
}
|
12902
|
-
|
12903
|
-
|
12904
12446
|
SWIGINTERN VALUE
|
12905
12447
|
_wrap_connRecord_openEx_get(int argc, VALUE *argv, VALUE self) {
|
12906
12448
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -12925,35 +12467,6 @@ fail:
|
|
12925
12467
|
}
|
12926
12468
|
|
12927
12469
|
|
12928
|
-
SWIGINTERN VALUE
|
12929
|
-
_wrap_connRecord_openReadOnlyEx_set(int argc, VALUE *argv, VALUE self) {
|
12930
|
-
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12931
|
-
char arg2 ;
|
12932
|
-
void *argp1 = 0 ;
|
12933
|
-
int res1 = 0 ;
|
12934
|
-
char val2 ;
|
12935
|
-
int ecode2 = 0 ;
|
12936
|
-
|
12937
|
-
if ((argc < 1) || (argc > 1)) {
|
12938
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12939
|
-
}
|
12940
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12941
|
-
if (!SWIG_IsOK(res1)) {
|
12942
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openReadOnlyEx", 1, self ));
|
12943
|
-
}
|
12944
|
-
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12945
|
-
ecode2 = SWIG_AsVal_char(argv[0], &val2);
|
12946
|
-
if (!SWIG_IsOK(ecode2)) {
|
12947
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","openReadOnlyEx", 2, argv[0] ));
|
12948
|
-
}
|
12949
|
-
arg2 = static_cast< char >(val2);
|
12950
|
-
if (arg1) (arg1)->openReadOnlyEx = arg2;
|
12951
|
-
return Qnil;
|
12952
|
-
fail:
|
12953
|
-
return Qnil;
|
12954
|
-
}
|
12955
|
-
|
12956
|
-
|
12957
12470
|
SWIGINTERN VALUE
|
12958
12471
|
_wrap_connRecord_openReadOnlyEx_get(int argc, VALUE *argv, VALUE self) {
|
12959
12472
|
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
@@ -13029,7 +12542,7 @@ static swig_class SwigClassConnRecords;
|
|
13029
12542
|
|
13030
12543
|
SWIGINTERN VALUE
|
13031
12544
|
_wrap_connRecords___getitem__(int argc, VALUE *argv, VALUE self) {
|
13032
|
-
bzs::db::
|
12545
|
+
bzs::db::protocol::tdap::client::connMgr::records *arg1 = (bzs::db::protocol::tdap::client::connMgr::records *) 0 ;
|
13033
12546
|
int arg2 ;
|
13034
12547
|
void *argp1 = 0 ;
|
13035
12548
|
int res1 = 0 ;
|
@@ -13041,11 +12554,11 @@ _wrap_connRecords___getitem__(int argc, VALUE *argv, VALUE self) {
|
|
13041
12554
|
if ((argc < 1) || (argc > 1)) {
|
13042
12555
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13043
12556
|
}
|
13044
|
-
res1 = SWIG_ConvertPtr(self, &argp1,
|
12557
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, 0 | 0 );
|
13045
12558
|
if (!SWIG_IsOK(res1)) {
|
13046
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::
|
12559
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr::records const *","operator []", 1, self ));
|
13047
12560
|
}
|
13048
|
-
arg1 = reinterpret_cast< bzs::db::
|
12561
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr::records * >(argp1);
|
13049
12562
|
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
13050
12563
|
if (!SWIG_IsOK(ecode2)) {
|
13051
12564
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","operator []", 2, argv[0] ));
|
@@ -13053,7 +12566,7 @@ _wrap_connRecords___getitem__(int argc, VALUE *argv, VALUE self) {
|
|
13053
12566
|
arg2 = static_cast< int >(val2);
|
13054
12567
|
{
|
13055
12568
|
try {
|
13056
|
-
result = ((bzs::db::
|
12569
|
+
result = ((bzs::db::protocol::tdap::client::connMgr::records const *)arg1)->operator [](arg2);
|
13057
12570
|
} catch (bzs::rtl::exception& e) {
|
13058
12571
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13059
12572
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -13080,7 +12593,7 @@ Size or Length of the connRecords.
|
|
13080
12593
|
*/
|
13081
12594
|
SWIGINTERN VALUE
|
13082
12595
|
_wrap_connRecords_size(int argc, VALUE *argv, VALUE self) {
|
13083
|
-
bzs::db::
|
12596
|
+
bzs::db::protocol::tdap::client::connMgr::records *arg1 = (bzs::db::protocol::tdap::client::connMgr::records *) 0 ;
|
13084
12597
|
void *argp1 = 0 ;
|
13085
12598
|
int res1 = 0 ;
|
13086
12599
|
size_t result;
|
@@ -13089,14 +12602,14 @@ _wrap_connRecords_size(int argc, VALUE *argv, VALUE self) {
|
|
13089
12602
|
if ((argc < 0) || (argc > 0)) {
|
13090
12603
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13091
12604
|
}
|
13092
|
-
res1 = SWIG_ConvertPtr(self, &argp1,
|
12605
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, 0 | 0 );
|
13093
12606
|
if (!SWIG_IsOK(res1)) {
|
13094
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::
|
12607
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr::records const *","size", 1, self ));
|
13095
12608
|
}
|
13096
|
-
arg1 = reinterpret_cast< bzs::db::
|
12609
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr::records * >(argp1);
|
13097
12610
|
{
|
13098
12611
|
try {
|
13099
|
-
result = ((bzs::db::
|
12612
|
+
result = ((bzs::db::protocol::tdap::client::connMgr::records const *)arg1)->size();
|
13100
12613
|
} catch (bzs::rtl::exception& e) {
|
13101
12614
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13102
12615
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -13121,7 +12634,7 @@ _wrap_connRecords_allocate(VALUE self) {
|
|
13121
12634
|
#endif
|
13122
12635
|
|
13123
12636
|
|
13124
|
-
VALUE vresult = SWIG_NewClassInstance(self,
|
12637
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records);
|
13125
12638
|
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
13126
12639
|
rb_obj_call_init(vresult, argc, argv);
|
13127
12640
|
#endif
|
@@ -13131,14 +12644,14 @@ _wrap_connRecords_allocate(VALUE self) {
|
|
13131
12644
|
|
13132
12645
|
SWIGINTERN VALUE
|
13133
12646
|
_wrap_new_connRecords(int argc, VALUE *argv, VALUE self) {
|
13134
|
-
bzs::db::
|
12647
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13135
12648
|
|
13136
12649
|
if ((argc < 0) || (argc > 0)) {
|
13137
12650
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13138
12651
|
}
|
13139
12652
|
{
|
13140
12653
|
try {
|
13141
|
-
result = (bzs::db::
|
12654
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)new bzs::db::protocol::tdap::client::connMgr::records();
|
13142
12655
|
DATA_PTR(self) = result;
|
13143
12656
|
} catch (bzs::rtl::exception& e) {
|
13144
12657
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
@@ -13155,7 +12668,7 @@ fail:
|
|
13155
12668
|
|
13156
12669
|
|
13157
12670
|
SWIGINTERN void
|
13158
|
-
|
12671
|
+
free_bzs_db_protocol_tdap_client_connMg_records(bzs::db::protocol::tdap::client::connMgr::records *arg1) {
|
13159
12672
|
delete arg1;
|
13160
12673
|
}
|
13161
12674
|
|
@@ -13384,7 +12897,7 @@ _wrap_connMgr_removeSystemDb(int argc, VALUE *argv, VALUE self) {
|
|
13384
12897
|
if ((argc < 1) || (argc > 1)) {
|
13385
12898
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13386
12899
|
}
|
13387
|
-
res1 = SWIG_ConvertPtr(argv[0], &argp1,
|
12900
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, 0 );
|
13388
12901
|
if (!SWIG_IsOK(res1)) {
|
13389
12902
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr::records &","bzs::db::protocol::tdap::client::connMgr::removeSystemDb", 1, argv[0] ));
|
13390
12903
|
}
|
@@ -13445,6 +12958,42 @@ fail:
|
|
13445
12958
|
}
|
13446
12959
|
|
13447
12960
|
|
12961
|
+
SWIGINTERN VALUE
|
12962
|
+
_wrap_connMgr_statusvarName(int argc, VALUE *argv, VALUE self) {
|
12963
|
+
uint_td arg1 ;
|
12964
|
+
unsigned int val1 ;
|
12965
|
+
int ecode1 = 0 ;
|
12966
|
+
_TCHAR *result = 0 ;
|
12967
|
+
VALUE vresult = Qnil;
|
12968
|
+
|
12969
|
+
if ((argc < 1) || (argc > 1)) {
|
12970
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12971
|
+
}
|
12972
|
+
ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
|
12973
|
+
if (!SWIG_IsOK(ecode1)) {
|
12974
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "uint_td","bzs::db::protocol::tdap::client::connMgr::statusvarName", 1, argv[0] ));
|
12975
|
+
}
|
12976
|
+
arg1 = static_cast< uint_td >(val1);
|
12977
|
+
{
|
12978
|
+
try {
|
12979
|
+
result = (_TCHAR *)bzs::db::protocol::tdap::client::connMgr::statusvarName(arg1);
|
12980
|
+
} catch (bzs::rtl::exception& e) {
|
12981
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
12982
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
12983
|
+
} catch (std::exception &e) {
|
12984
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
12985
|
+
rb_raise(cpp_std_error, e.what());
|
12986
|
+
}
|
12987
|
+
}
|
12988
|
+
{
|
12989
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
12990
|
+
}
|
12991
|
+
return vresult;
|
12992
|
+
fail:
|
12993
|
+
return Qnil;
|
12994
|
+
}
|
12995
|
+
|
12996
|
+
|
13448
12997
|
SWIGINTERN VALUE
|
13449
12998
|
_wrap_connMgr_slaveStatusName(int argc, VALUE *argv, VALUE self) {
|
13450
12999
|
uint_td arg1 ;
|
@@ -13542,7 +13091,7 @@ _wrap_connMgr_databases(int argc, VALUE *argv, VALUE self) {
|
|
13542
13091
|
rb_raise(cpp_std_error, e.what());
|
13543
13092
|
}
|
13544
13093
|
}
|
13545
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13094
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13546
13095
|
return vresult;
|
13547
13096
|
fail:
|
13548
13097
|
return Qnil;
|
@@ -13585,7 +13134,7 @@ _wrap_connMgr_tables(int argc, VALUE *argv, VALUE self) {
|
|
13585
13134
|
rb_raise(cpp_std_error, e.what());
|
13586
13135
|
}
|
13587
13136
|
}
|
13588
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13137
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13589
13138
|
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13590
13139
|
return vresult;
|
13591
13140
|
fail:
|
@@ -13630,7 +13179,7 @@ _wrap_connMgr_views(int argc, VALUE *argv, VALUE self) {
|
|
13630
13179
|
rb_raise(cpp_std_error, e.what());
|
13631
13180
|
}
|
13632
13181
|
}
|
13633
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13182
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13634
13183
|
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13635
13184
|
return vresult;
|
13636
13185
|
fail:
|
@@ -13675,7 +13224,7 @@ _wrap_connMgr_schemaTables(int argc, VALUE *argv, VALUE self) {
|
|
13675
13224
|
rb_raise(cpp_std_error, e.what());
|
13676
13225
|
}
|
13677
13226
|
}
|
13678
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13227
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13679
13228
|
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13680
13229
|
return vresult;
|
13681
13230
|
fail:
|
@@ -13711,7 +13260,7 @@ _wrap_connMgr_slaveStatus(int argc, VALUE *argv, VALUE self) {
|
|
13711
13260
|
rb_raise(cpp_std_error, e.what());
|
13712
13261
|
}
|
13713
13262
|
}
|
13714
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13263
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13715
13264
|
return vresult;
|
13716
13265
|
fail:
|
13717
13266
|
return Qnil;
|
@@ -13745,7 +13294,41 @@ _wrap_connMgr_sysvars(int argc, VALUE *argv, VALUE self) {
|
|
13745
13294
|
rb_raise(cpp_std_error, e.what());
|
13746
13295
|
}
|
13747
13296
|
}
|
13748
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13297
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13298
|
+
return vresult;
|
13299
|
+
fail:
|
13300
|
+
return Qnil;
|
13301
|
+
}
|
13302
|
+
|
13303
|
+
|
13304
|
+
SWIGINTERN VALUE
|
13305
|
+
_wrap_connMgr_statusvars(int argc, VALUE *argv, VALUE self) {
|
13306
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13307
|
+
void *argp1 = 0 ;
|
13308
|
+
int res1 = 0 ;
|
13309
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13310
|
+
VALUE vresult = Qnil;
|
13311
|
+
|
13312
|
+
if ((argc < 0) || (argc > 0)) {
|
13313
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13314
|
+
}
|
13315
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13316
|
+
if (!SWIG_IsOK(res1)) {
|
13317
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","statusvars", 1, self ));
|
13318
|
+
}
|
13319
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13320
|
+
{
|
13321
|
+
try {
|
13322
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_statusvars(arg1);
|
13323
|
+
} catch (bzs::rtl::exception& e) {
|
13324
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13325
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13326
|
+
} catch (std::exception &e) {
|
13327
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13328
|
+
rb_raise(cpp_std_error, e.what());
|
13329
|
+
}
|
13330
|
+
}
|
13331
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13749
13332
|
return vresult;
|
13750
13333
|
fail:
|
13751
13334
|
return Qnil;
|
@@ -13779,7 +13362,7 @@ _wrap_connMgr_connections(int argc, VALUE *argv, VALUE self) {
|
|
13779
13362
|
rb_raise(cpp_std_error, e.what());
|
13780
13363
|
}
|
13781
13364
|
}
|
13782
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13365
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13783
13366
|
return vresult;
|
13784
13367
|
fail:
|
13785
13368
|
return Qnil;
|
@@ -13821,7 +13404,7 @@ _wrap_connMgr_inUseDatabases(int argc, VALUE *argv, VALUE self) {
|
|
13821
13404
|
rb_raise(cpp_std_error, e.what());
|
13822
13405
|
}
|
13823
13406
|
}
|
13824
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13407
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13825
13408
|
return vresult;
|
13826
13409
|
fail:
|
13827
13410
|
return Qnil;
|
@@ -13871,7 +13454,7 @@ _wrap_connMgr_inUseTables(int argc, VALUE *argv, VALUE self) {
|
|
13871
13454
|
rb_raise(cpp_std_error, e.what());
|
13872
13455
|
}
|
13873
13456
|
}
|
13874
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result),
|
13457
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, SWIG_POINTER_OWN | 0 );
|
13875
13458
|
return vresult;
|
13876
13459
|
fail:
|
13877
13460
|
return Qnil;
|
@@ -37430,7 +37013,7 @@ static swig_type_info _swigt__p_bzs__db__protocol__tdap__keySegment = {"_p_bzs__
|
|
37430
37013
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__keydef = {"_p_bzs__db__protocol__tdap__keydef", "bzs::db::protocol::tdap::keydef *", 0, 0, (void*)0, 0};
|
37431
37014
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__tabledef = {"_p_bzs__db__protocol__tdap__tabledef", "bzs::db::protocol::tdap::tabledef *", 0, 0, (void*)0, 0};
|
37432
37015
|
static swig_type_info _swigt__p_bzs__db__transactd__connection__record = {"_p_bzs__db__transactd__connection__record", "bzs::db::transactd::connection::record *", 0, 0, (void*)0, 0};
|
37433
|
-
static swig_type_info
|
37016
|
+
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__connMgr__records = {"_p_bzs__db__protocol__tdap__client__connMgr__records", "bzs::db::protocol::tdap::client::connMgr::records *|bzs::db::protocol::tdap::client::connMgr::records *", 0, 0, (void*)0, 0};
|
37434
37017
|
static swig_type_info _swigt__p_bzs__rtl__benchmark = {"_p_bzs__rtl__benchmark", "bzs::rtl::benchmark *", 0, 0, (void*)0, 0};
|
37435
37018
|
static swig_type_info _swigt__p_char = {"_p_char", "_TCHAR *|char *|char_td *", 0, 0, (void*)0, 0};
|
37436
37019
|
static swig_type_info _swigt__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short = {"_p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short", "BTRCALLID_PTR|short (*)(unsigned short,void *,void *,unsigned int *,void *,unsigned short,char,unsigned char *)", 0, 0, (void*)0, 0};
|
@@ -37526,7 +37109,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
37526
37109
|
&_swigt__p_bzs__db__protocol__tdap__keydef,
|
37527
37110
|
&_swigt__p_bzs__db__protocol__tdap__tabledef,
|
37528
37111
|
&_swigt__p_bzs__db__transactd__connection__record,
|
37529
|
-
&
|
37112
|
+
&_swigt__p_bzs__db__protocol__tdap__client__connMgr__records,
|
37530
37113
|
&_swigt__p_bzs__rtl__benchmark,
|
37531
37114
|
&_swigt__p_char,
|
37532
37115
|
&_swigt__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short,
|
@@ -37625,7 +37208,7 @@ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__keySegment[] = { {&_sw
|
|
37625
37208
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__keydef[] = { {&_swigt__p_bzs__db__protocol__tdap__keydef, 0, 0, 0},{0, 0, 0, 0}};
|
37626
37209
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__tabledef[] = { {&_swigt__p_bzs__db__protocol__tdap__tabledef, 0, 0, 0},{0, 0, 0, 0}};
|
37627
37210
|
static swig_cast_info _swigc__p_bzs__db__transactd__connection__record[] = { {&_swigt__p_bzs__db__transactd__connection__record, 0, 0, 0},{0, 0, 0, 0}};
|
37628
|
-
static swig_cast_info
|
37211
|
+
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__connMgr__records[] = { {&_swigt__p_bzs__db__protocol__tdap__client__connMgr__records, 0, 0, 0},{0, 0, 0, 0}};
|
37629
37212
|
static swig_cast_info _swigc__p_bzs__rtl__benchmark[] = { {&_swigt__p_bzs__rtl__benchmark, 0, 0, 0},{0, 0, 0, 0}};
|
37630
37213
|
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
|
37631
37214
|
static swig_cast_info _swigc__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short[] = { {&_swigt__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -37723,7 +37306,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
37723
37306
|
_swigc__p_bzs__db__protocol__tdap__keydef,
|
37724
37307
|
_swigc__p_bzs__db__protocol__tdap__tabledef,
|
37725
37308
|
_swigc__p_bzs__db__transactd__connection__record,
|
37726
|
-
|
37309
|
+
_swigc__p_bzs__db__protocol__tdap__client__connMgr__records,
|
37727
37310
|
_swigc__p_bzs__rtl__benchmark,
|
37728
37311
|
_swigc__p_char,
|
37729
37312
|
_swigc__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short,
|
@@ -38546,52 +38129,35 @@ SWIGEXPORT void Init_transactd(void) {
|
|
38546
38129
|
SWIG_TypeClientData(SWIGTYPE_p_bzs__db__transactd__connection__record, (void *) &SwigClassConnRecord);
|
38547
38130
|
rb_define_alloc_func(SwigClassConnRecord.klass, _wrap_connRecord_allocate);
|
38548
38131
|
rb_define_method(SwigClassConnRecord.klass, "initialize", VALUEFUNC(_wrap_new_connRecord), -1);
|
38549
|
-
rb_define_method(SwigClassConnRecord.klass, "conId=", VALUEFUNC(_wrap_connRecord_conId_set), -1);
|
38550
38132
|
rb_define_method(SwigClassConnRecord.klass, "conId", VALUEFUNC(_wrap_connRecord_conId_get), -1);
|
38551
|
-
rb_define_method(SwigClassConnRecord.klass, "longValue=", VALUEFUNC(_wrap_connRecord_longValue_set), -1);
|
38552
38133
|
rb_define_method(SwigClassConnRecord.klass, "longValue", VALUEFUNC(_wrap_connRecord_longValue_get), -1);
|
38553
|
-
rb_define_method(SwigClassConnRecord.klass, "delCount=", VALUEFUNC(_wrap_connRecord_delCount_set), -1);
|
38554
38134
|
rb_define_method(SwigClassConnRecord.klass, "delCount", VALUEFUNC(_wrap_connRecord_delCount_get), -1);
|
38555
|
-
rb_define_method(SwigClassConnRecord.klass, "insCount=", VALUEFUNC(_wrap_connRecord_insCount_set), -1);
|
38556
38135
|
rb_define_method(SwigClassConnRecord.klass, "insCount", VALUEFUNC(_wrap_connRecord_insCount_get), -1);
|
38557
|
-
rb_define_method(SwigClassConnRecord.klass, "id=", VALUEFUNC(_wrap_connRecord_id_set), -1);
|
38558
38136
|
rb_define_method(SwigClassConnRecord.klass, "id", VALUEFUNC(_wrap_connRecord_id_get), -1);
|
38559
|
-
rb_define_method(SwigClassConnRecord.klass, "db=", VALUEFUNC(_wrap_connRecord_db_set), -1);
|
38560
38137
|
rb_define_method(SwigClassConnRecord.klass, "db", VALUEFUNC(_wrap_connRecord_db_get), -1);
|
38561
|
-
rb_define_method(SwigClassConnRecord.klass, "readCount=", VALUEFUNC(_wrap_connRecord_readCount_set), -1);
|
38562
38138
|
rb_define_method(SwigClassConnRecord.klass, "readCount", VALUEFUNC(_wrap_connRecord_readCount_get), -1);
|
38563
|
-
rb_define_method(SwigClassConnRecord.klass, "updCount=", VALUEFUNC(_wrap_connRecord_updCount_set), -1);
|
38564
38139
|
rb_define_method(SwigClassConnRecord.klass, "updCount", VALUEFUNC(_wrap_connRecord_updCount_get), -1);
|
38565
|
-
rb_define_method(SwigClassConnRecord.klass, "type=", VALUEFUNC(_wrap_connRecord_type_set), -1);
|
38566
38140
|
rb_define_method(SwigClassConnRecord.klass, "type", VALUEFUNC(_wrap_connRecord_type_get), -1);
|
38567
|
-
rb_define_method(SwigClassConnRecord.klass, "name=", VALUEFUNC(_wrap_connRecord_name_set), -1);
|
38568
38141
|
rb_define_method(SwigClassConnRecord.klass, "name", VALUEFUNC(_wrap_connRecord_name_get), -1);
|
38569
|
-
rb_define_method(SwigClassConnRecord.klass, "value=", VALUEFUNC(_wrap_connRecord_value_set), -1);
|
38570
38142
|
rb_define_method(SwigClassConnRecord.klass, "value", VALUEFUNC(_wrap_connRecord_value_get), -1);
|
38571
|
-
rb_define_method(SwigClassConnRecord.klass, "inTransaction=", VALUEFUNC(_wrap_connRecord_inTransaction_set), -1);
|
38572
38143
|
rb_define_method(SwigClassConnRecord.klass, "inTransaction", VALUEFUNC(_wrap_connRecord_inTransaction_get), -1);
|
38573
|
-
rb_define_method(SwigClassConnRecord.klass, "inSnapshot=", VALUEFUNC(_wrap_connRecord_inSnapshot_set), -1);
|
38574
38144
|
rb_define_method(SwigClassConnRecord.klass, "inSnapshot", VALUEFUNC(_wrap_connRecord_inSnapshot_get), -1);
|
38575
|
-
rb_define_method(SwigClassConnRecord.klass, "openNormal=", VALUEFUNC(_wrap_connRecord_openNormal_set), -1);
|
38576
38145
|
rb_define_method(SwigClassConnRecord.klass, "openNormal", VALUEFUNC(_wrap_connRecord_openNormal_get), -1);
|
38577
|
-
rb_define_method(SwigClassConnRecord.klass, "openReadOnly=", VALUEFUNC(_wrap_connRecord_openReadOnly_set), -1);
|
38578
38146
|
rb_define_method(SwigClassConnRecord.klass, "openReadOnly", VALUEFUNC(_wrap_connRecord_openReadOnly_get), -1);
|
38579
|
-
rb_define_method(SwigClassConnRecord.klass, "openEx=", VALUEFUNC(_wrap_connRecord_openEx_set), -1);
|
38580
38147
|
rb_define_method(SwigClassConnRecord.klass, "openEx", VALUEFUNC(_wrap_connRecord_openEx_get), -1);
|
38581
|
-
rb_define_method(SwigClassConnRecord.klass, "openReadOnlyEx=", VALUEFUNC(_wrap_connRecord_openReadOnlyEx_set), -1);
|
38582
38148
|
rb_define_method(SwigClassConnRecord.klass, "openReadOnlyEx", VALUEFUNC(_wrap_connRecord_openReadOnlyEx_get), -1);
|
38583
38149
|
SwigClassConnRecord.mark = 0;
|
38584
38150
|
SwigClassConnRecord.destroy = (void (*)(void *)) free_bzs_db_transactd_connection_record;
|
38585
38151
|
SwigClassConnRecord.trackObjects = 0;
|
38586
38152
|
|
38587
38153
|
SwigClassConnRecords.klass = rb_define_class_under(mTransactd, "ConnRecords", rb_cObject);
|
38588
|
-
SWIG_TypeClientData(
|
38154
|
+
SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr__records, (void *) &SwigClassConnRecords);
|
38589
38155
|
rb_define_alloc_func(SwigClassConnRecords.klass, _wrap_connRecords_allocate);
|
38590
38156
|
rb_define_method(SwigClassConnRecords.klass, "initialize", VALUEFUNC(_wrap_new_connRecords), -1);
|
38591
38157
|
rb_define_method(SwigClassConnRecords.klass, "[]", VALUEFUNC(_wrap_connRecords___getitem__), -1);
|
38592
38158
|
rb_define_method(SwigClassConnRecords.klass, "size", VALUEFUNC(_wrap_connRecords_size), -1);
|
38593
38159
|
SwigClassConnRecords.mark = 0;
|
38594
|
-
SwigClassConnRecords.destroy = (void (*)(void *))
|
38160
|
+
SwigClassConnRecords.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_connMg_records;
|
38595
38161
|
SwigClassConnRecords.trackObjects = 0;
|
38596
38162
|
|
38597
38163
|
SwigClassConnMgr.klass = rb_define_class_under(mTransactd, "ConnMgr", rb_cObject);
|
@@ -38606,6 +38172,7 @@ SWIGEXPORT void Init_transactd(void) {
|
|
38606
38172
|
rb_define_method(SwigClassConnMgr.klass, "db", VALUEFUNC(_wrap_connMgr_db), -1);
|
38607
38173
|
rb_define_singleton_method(SwigClassConnMgr.klass, "removeSystemDb", VALUEFUNC(_wrap_connMgr_removeSystemDb), -1);
|
38608
38174
|
rb_define_singleton_method(SwigClassConnMgr.klass, "sysvarName", VALUEFUNC(_wrap_connMgr_sysvarName), -1);
|
38175
|
+
rb_define_singleton_method(SwigClassConnMgr.klass, "statusvarName", VALUEFUNC(_wrap_connMgr_statusvarName), -1);
|
38609
38176
|
rb_define_singleton_method(SwigClassConnMgr.klass, "slaveStatusName", VALUEFUNC(_wrap_connMgr_slaveStatusName), -1);
|
38610
38177
|
rb_define_singleton_method(SwigClassConnMgr.klass, "create", VALUEFUNC(_wrap_connMgr_create), -1);
|
38611
38178
|
rb_define_method(SwigClassConnMgr.klass, "databases", VALUEFUNC(_wrap_connMgr_databases), -1);
|
@@ -38614,6 +38181,7 @@ SWIGEXPORT void Init_transactd(void) {
|
|
38614
38181
|
rb_define_method(SwigClassConnMgr.klass, "schemaTables", VALUEFUNC(_wrap_connMgr_schemaTables), -1);
|
38615
38182
|
rb_define_method(SwigClassConnMgr.klass, "slaveStatus", VALUEFUNC(_wrap_connMgr_slaveStatus), -1);
|
38616
38183
|
rb_define_method(SwigClassConnMgr.klass, "sysvars", VALUEFUNC(_wrap_connMgr_sysvars), -1);
|
38184
|
+
rb_define_method(SwigClassConnMgr.klass, "statusvars", VALUEFUNC(_wrap_connMgr_statusvars), -1);
|
38617
38185
|
rb_define_method(SwigClassConnMgr.klass, "connections", VALUEFUNC(_wrap_connMgr_connections), -1);
|
38618
38186
|
rb_define_method(SwigClassConnMgr.klass, "inUseDatabases", VALUEFUNC(_wrap_connMgr_inUseDatabases), -1);
|
38619
38187
|
rb_define_method(SwigClassConnMgr.klass, "inUseTables", VALUEFUNC(_wrap_connMgr_inUseTables), -1);
|