transactd 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/common/tdclc_32_3_2.dll +0 -0
- data/bin/common/{tdclc_64_3_1.dll → tdclc_64_3_2.dll} +0 -0
- data/build/swig/ruby/ruby.swg +3 -0
- data/build/swig/ruby/tdclrb_wrap.cpp +2413 -126
- data/build/swig/tdcl.i +120 -9
- data/build/tdclc/tdclc.cbproj +4 -1
- data/build/tdclc/tdclc.rc +4 -4
- data/build/tdclcpp/tdclcpp.rc +4 -4
- data/build/tdclcpp/tdclcpp_bc.cbproj +8 -1
- data/build/tdclrb/tdclrb.rc +4 -4
- data/source/bzs/db/engine/mysql/database.cpp +138 -130
- data/source/bzs/db/engine/mysql/database.h +43 -48
- data/source/bzs/db/engine/mysql/dbManager.cpp +81 -96
- data/source/bzs/db/engine/mysql/dbManager.h +13 -22
- data/source/bzs/db/engine/mysql/mysqlInternal.h +157 -291
- data/source/bzs/db/engine/mysql/mysqlProtocol.cpp +425 -0
- data/source/bzs/db/engine/mysql/mysqlProtocol.h +72 -0
- data/source/bzs/db/engine/mysql/mysqlThd.cpp +8 -6
- data/source/bzs/db/protocol/hs/hsCommandExecuter.cpp +7 -3
- data/source/bzs/db/protocol/hs/hsCommandExecuter.h +1 -0
- data/source/bzs/db/protocol/tdap/client/client.h +22 -8
- data/source/bzs/db/protocol/tdap/client/connMgr.cpp +225 -21
- data/source/bzs/db/protocol/tdap/client/connMgr.h +42 -16
- data/source/bzs/db/protocol/tdap/client/database.cpp +58 -15
- data/source/bzs/db/protocol/tdap/client/database.h +3 -3
- data/source/bzs/db/protocol/tdap/client/dbDef.cpp +93 -85
- data/source/bzs/db/protocol/tdap/client/dbDef.h +1 -2
- data/source/bzs/db/protocol/tdap/client/dllmain.cpp +9 -5
- data/source/bzs/db/protocol/tdap/client/filter.h +2 -2
- data/source/bzs/db/protocol/tdap/client/groupComp.h +2 -2
- data/source/bzs/db/protocol/tdap/client/memRecord.cpp +1 -1
- data/source/bzs/db/protocol/tdap/client/nsDatabase.cpp +71 -12
- data/source/bzs/db/protocol/tdap/client/nsDatabase.h +7 -1
- data/source/bzs/db/protocol/tdap/client/nsTable.cpp +35 -2
- data/source/bzs/db/protocol/tdap/client/nsTable.h +1 -0
- data/source/bzs/db/protocol/tdap/client/recordset.cpp +5 -1
- data/source/bzs/db/protocol/tdap/client/recordset.h +15 -0
- data/source/bzs/db/protocol/tdap/client/recordsetImple.h +21 -16
- data/source/bzs/db/protocol/tdap/client/serializer.cpp +32 -11
- data/source/bzs/db/protocol/tdap/client/serializer.h +4 -1
- data/source/bzs/db/protocol/tdap/client/sqlBuilder.cpp +3 -2
- data/source/bzs/db/protocol/tdap/client/sqlBuilder.h +3 -0
- data/source/bzs/db/protocol/tdap/client/table.cpp +18 -14
- data/source/bzs/db/protocol/tdap/client/trdboostapi.h +8 -3
- data/source/bzs/db/protocol/tdap/mysql/characterset.cpp +1 -0
- data/source/bzs/db/protocol/tdap/mysql/databaseSchema.cpp +83 -43
- data/source/bzs/db/protocol/tdap/mysql/databaseSchema.h +3 -1
- data/source/bzs/db/protocol/tdap/mysql/recordsetReader.h +7 -7
- data/source/bzs/db/protocol/tdap/mysql/tdapCommandExecuter.cpp +247 -137
- data/source/bzs/db/protocol/tdap/mysql/tdapCommandExecuter.h +9 -9
- data/source/bzs/db/protocol/tdap/tdapSchema.cpp +1 -4
- data/source/bzs/db/protocol/tdap/tdapSchema.h +3 -7
- data/source/bzs/db/protocol/tdap/tdapcapi.h +23 -3
- data/source/bzs/db/protocol/tdap/uri.h +40 -0
- data/source/bzs/db/transactd/appModule.cpp +14 -5
- data/source/bzs/db/transactd/appModule.h +10 -1
- data/source/bzs/db/transactd/connManager.cpp +93 -48
- data/source/bzs/db/transactd/connManager.h +10 -7
- data/source/bzs/db/transactd/connectionRecord.h +114 -19
- data/source/bzs/env/tstring.h +2 -0
- data/source/bzs/example/changeSchema.cpp +1 -1
- data/source/bzs/example/changeSchema_c.cpp +1 -1
- data/source/bzs/example/insertRecords.cpp +2 -1
- data/source/bzs/example/insertRecords_c.cpp +2 -1
- data/source/bzs/example/queryData.cpp +5 -2
- data/source/bzs/netsvc/server/IAppModule.h +6 -0
- data/source/bzs/test/tdclatl/test_v3.js +75 -0
- data/source/bzs/test/tdclphp/transactd_v3_Test.php +104 -7
- data/source/bzs/test/tdclrb/transactd_v3_spec.rb +84 -0
- data/source/bzs/test/trdclengn/testField.h +66 -6
- data/source/bzs/test/trdclengn/test_tdclcpp_v3.cpp +10 -1
- data/source/bzs/test/trdclengn/test_trdclengn.cpp +85 -0
- data/source/bzs/test/trdclengn/testbase.h +1 -1
- data/source/global/tdclatl/BinlogPos.cpp +64 -0
- data/source/global/tdclatl/BinlogPos.h +84 -0
- data/source/global/tdclatl/ConnMgr.cpp +285 -0
- data/source/global/tdclatl/ConnMgr.h +83 -0
- data/source/global/tdclatl/ConnRecord.cpp +123 -0
- data/source/global/tdclatl/ConnRecord.h +69 -0
- data/source/global/tdclatl/ConnRecords.cpp +57 -0
- data/source/global/tdclatl/ConnRecords.h +55 -0
- data/source/global/tdclatl/Database.cpp +36 -0
- data/source/global/tdclatl/Database.h +4 -0
- data/source/global/tdclatl/Table.cpp +14 -1
- data/source/global/tdclatl/Table.h +1 -0
- data/source/global/tdclatl/resource.h +0 -0
- data/source/global/tdclatl/tdclatl.idl +148 -4
- metadata +14 -4
- data/bin/common/tdclc_32_3_1.dll +0 -0
@@ -1923,9 +1923,12 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1923
1923
|
#define SWIGTYPE_p_BOOKMARK swig_types[90]
|
1924
1924
|
#define SWIGTYPE_p_bzs__db__protocol__tdap__bitset swig_types[91]
|
1925
1925
|
#define SWIGTYPE_p_bzs__db__protocol__tdap__client__binlogPos swig_types[92]
|
1926
|
+
#define SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr swig_types[93]
|
1927
|
+
#define SWIGTYPE_p_bzs__db__transactd__connection__record swig_types[94]
|
1928
|
+
#define SWIGTYPE_p_bzs__db__transactd__connection__records swig_types[95]
|
1926
1929
|
|
1927
|
-
static swig_type_info *swig_types[
|
1928
|
-
static swig_module_info swig_module = {swig_types,
|
1930
|
+
static swig_type_info *swig_types[97];
|
1931
|
+
static swig_module_info swig_module = {swig_types, 96, 0, 0, 0, 0};
|
1929
1932
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
1930
1933
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
1931
1934
|
|
@@ -2573,6 +2576,54 @@ SWIG_From_float (float value)
|
|
2573
2576
|
return SWIG_From_double (value);
|
2574
2577
|
}
|
2575
2578
|
|
2579
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_databases(bzs::db::protocol::tdap::client::connMgr *self){
|
2580
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2581
|
+
*p = self->databases();
|
2582
|
+
return p;
|
2583
|
+
}
|
2584
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_tables(bzs::db::protocol::tdap::client::connMgr *self,_TCHAR const *dbname){
|
2585
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2586
|
+
*p = self->tables(dbname);
|
2587
|
+
return p;
|
2588
|
+
}
|
2589
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_views(bzs::db::protocol::tdap::client::connMgr *self,_TCHAR const *dbname){
|
2590
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2591
|
+
*p = self->views(dbname);
|
2592
|
+
return p;
|
2593
|
+
}
|
2594
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_schemaTables(bzs::db::protocol::tdap::client::connMgr *self,_TCHAR const *dbname){
|
2595
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2596
|
+
*p = self->schemaTables(dbname);
|
2597
|
+
return p;
|
2598
|
+
}
|
2599
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_slaveStatus(bzs::db::protocol::tdap::client::connMgr *self){
|
2600
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2601
|
+
*p = self->slaveStatus();
|
2602
|
+
return p;
|
2603
|
+
}
|
2604
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_sysvars(bzs::db::protocol::tdap::client::connMgr *self){
|
2605
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2606
|
+
*p = self->sysvars();
|
2607
|
+
return p;
|
2608
|
+
}
|
2609
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_connections(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->connections();
|
2612
|
+
return p;
|
2613
|
+
}
|
2614
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_inUseDatabases(bzs::db::protocol::tdap::client::connMgr *self,__int64 connid){
|
2615
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2616
|
+
*p = self->inUseDatabases(connid);
|
2617
|
+
return p;
|
2618
|
+
}
|
2619
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr::records const *bzs_db_protocol_tdap_client_connMgr_inUseTables(bzs::db::protocol::tdap::client::connMgr *self,__int64 connid,int dbid){
|
2620
|
+
bzs::db::protocol::tdap::client::connMgr::records* p = new bzs::db::protocol::tdap::client::connMgr::records();
|
2621
|
+
*p = self->inUseTables(connid, dbid);
|
2622
|
+
return p;
|
2623
|
+
}
|
2624
|
+
SWIGINTERN bzs::db::protocol::tdap::client::connMgr *new_bzs_db_protocol_tdap_client_connMgr(bzs::db::protocol::tdap::client::database *db){
|
2625
|
+
return bzs::db::protocol::tdap::client::connMgr::create(db);
|
2626
|
+
}
|
2576
2627
|
|
2577
2628
|
#include <float.h>
|
2578
2629
|
|
@@ -11608,6 +11659,57 @@ fail:
|
|
11608
11659
|
}
|
11609
11660
|
|
11610
11661
|
|
11662
|
+
SWIGINTERN VALUE
|
11663
|
+
_wrap_nstable_getCreateSql(int argc, VALUE *argv, VALUE self) {
|
11664
|
+
bzs::db::protocol::tdap::client::nstable *arg1 = (bzs::db::protocol::tdap::client::nstable *) 0 ;
|
11665
|
+
char *arg2 = (char *) 0 ;
|
11666
|
+
uint_td *arg3 = (uint_td *) 0 ;
|
11667
|
+
void *argp1 = 0 ;
|
11668
|
+
int res1 = 0 ;
|
11669
|
+
char *result = 0 ;
|
11670
|
+
VALUE vresult = Qnil;
|
11671
|
+
|
11672
|
+
{
|
11673
|
+
uint_td n = 65000;
|
11674
|
+
uint_td* n_p = &n;
|
11675
|
+
char* p = new char[n];
|
11676
|
+
arg2 = p;
|
11677
|
+
arg3 = n_p;
|
11678
|
+
}
|
11679
|
+
if ((argc < 0) || (argc > 0)) {
|
11680
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
11681
|
+
}
|
11682
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nstable, 0 | 0 );
|
11683
|
+
if (!SWIG_IsOK(res1)) {
|
11684
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nstable *","getCreateSql", 1, self ));
|
11685
|
+
}
|
11686
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nstable * >(argp1);
|
11687
|
+
{
|
11688
|
+
try {
|
11689
|
+
result = (char *)(arg1)->getCreateSql(arg2,arg3);
|
11690
|
+
} catch (bzs::rtl::exception& e) {
|
11691
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11692
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
11693
|
+
} catch (std::exception &e) {
|
11694
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
11695
|
+
rb_raise(cpp_std_error, e.what());
|
11696
|
+
}
|
11697
|
+
}
|
11698
|
+
{
|
11699
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
11700
|
+
}
|
11701
|
+
{
|
11702
|
+
delete [] arg2;
|
11703
|
+
}
|
11704
|
+
return vresult;
|
11705
|
+
fail:
|
11706
|
+
{
|
11707
|
+
delete [] arg2;
|
11708
|
+
}
|
11709
|
+
return Qnil;
|
11710
|
+
}
|
11711
|
+
|
11712
|
+
|
11611
11713
|
SWIGINTERN VALUE
|
11612
11714
|
_wrap_nstable_unlock__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
11613
11715
|
bzs::db::protocol::tdap::client::nstable *arg1 = (bzs::db::protocol::tdap::client::nstable *) 0;
|
@@ -11679,75 +11781,1802 @@ _wrap_nstable_unlock__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
11679
11781
|
rb_raise(cpp_std_error, e.what());
|
11680
11782
|
}
|
11681
11783
|
}
|
11682
|
-
return Qnil;
|
11784
|
+
return Qnil;
|
11785
|
+
fail:
|
11786
|
+
return Qnil;
|
11787
|
+
}
|
11788
|
+
|
11789
|
+
|
11790
|
+
SWIGINTERN VALUE _wrap_nstable_unlock(int nargs, VALUE *args, VALUE self) {
|
11791
|
+
int argc;
|
11792
|
+
VALUE argv[3];
|
11793
|
+
int ii;
|
11794
|
+
|
11795
|
+
argc = nargs + 1;
|
11796
|
+
argv[0] = self;
|
11797
|
+
if (argc > 3) SWIG_fail;
|
11798
|
+
for (ii = 1; (ii < argc); ++ii) {
|
11799
|
+
argv[ii] = args[ii - 1];
|
11800
|
+
}
|
11801
|
+
if (argc == 1) {
|
11802
|
+
int _v;
|
11803
|
+
void *vptr = 0;
|
11804
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__nstable, 0);
|
11805
|
+
_v = SWIG_CheckState(res);
|
11806
|
+
if (_v) {
|
11807
|
+
return _wrap_nstable_unlock__SWIG_1(nargs, args, self);
|
11808
|
+
}
|
11809
|
+
}
|
11810
|
+
if (argc == 2) {
|
11811
|
+
int _v;
|
11812
|
+
void *vptr = 0;
|
11813
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__nstable, 0);
|
11814
|
+
_v = SWIG_CheckState(res);
|
11815
|
+
if (_v) {
|
11816
|
+
void *vptr = 0;
|
11817
|
+
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_BOOKMARK, 0);
|
11818
|
+
_v = SWIG_CheckState(res);
|
11819
|
+
if (_v) {
|
11820
|
+
return _wrap_nstable_unlock__SWIG_0(nargs, args, self);
|
11821
|
+
}
|
11822
|
+
}
|
11823
|
+
}
|
11824
|
+
|
11825
|
+
fail:
|
11826
|
+
Ruby_Format_OverloadedError(argc, 3, "nstable.unlock",
|
11827
|
+
" void nstable.unlock(bookmark_td &bm)\n"
|
11828
|
+
" void nstable.unlock()\n");
|
11829
|
+
|
11830
|
+
return Qnil;
|
11831
|
+
}
|
11832
|
+
|
11833
|
+
|
11834
|
+
SWIGINTERN VALUE
|
11835
|
+
_wrap_nstable_mode(int argc, VALUE *argv, VALUE self) {
|
11836
|
+
bzs::db::protocol::tdap::client::nstable *arg1 = (bzs::db::protocol::tdap::client::nstable *) 0 ;
|
11837
|
+
void *argp1 = 0 ;
|
11838
|
+
int res1 = 0 ;
|
11839
|
+
char_td result;
|
11840
|
+
VALUE vresult = Qnil;
|
11841
|
+
|
11842
|
+
if ((argc < 0) || (argc > 0)) {
|
11843
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
11844
|
+
}
|
11845
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nstable, 0 | 0 );
|
11846
|
+
if (!SWIG_IsOK(res1)) {
|
11847
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nstable const *","mode", 1, self ));
|
11848
|
+
}
|
11849
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nstable * >(argp1);
|
11850
|
+
{
|
11851
|
+
try {
|
11852
|
+
result = (char_td)((bzs::db::protocol::tdap::client::nstable const *)arg1)->mode();
|
11853
|
+
} catch (bzs::rtl::exception& e) {
|
11854
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11855
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
11856
|
+
} catch (std::exception &e) {
|
11857
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
11858
|
+
rb_raise(cpp_std_error, e.what());
|
11859
|
+
}
|
11860
|
+
}
|
11861
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
11862
|
+
return vresult;
|
11863
|
+
fail:
|
11864
|
+
return Qnil;
|
11865
|
+
}
|
11866
|
+
|
11867
|
+
|
11868
|
+
SWIGINTERN VALUE
|
11869
|
+
_wrap_nstable_setTimestampMode(int argc, VALUE *argv, VALUE self) {
|
11870
|
+
bzs::db::protocol::tdap::client::nstable *arg1 = (bzs::db::protocol::tdap::client::nstable *) 0 ;
|
11871
|
+
int arg2 ;
|
11872
|
+
void *argp1 = 0 ;
|
11873
|
+
int res1 = 0 ;
|
11874
|
+
int val2 ;
|
11875
|
+
int ecode2 = 0 ;
|
11876
|
+
|
11877
|
+
if ((argc < 1) || (argc > 1)) {
|
11878
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11879
|
+
}
|
11880
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nstable, 0 | 0 );
|
11881
|
+
if (!SWIG_IsOK(res1)) {
|
11882
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nstable *","setTimestampMode", 1, self ));
|
11883
|
+
}
|
11884
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nstable * >(argp1);
|
11885
|
+
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
11886
|
+
if (!SWIG_IsOK(ecode2)) {
|
11887
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setTimestampMode", 2, argv[0] ));
|
11888
|
+
}
|
11889
|
+
arg2 = static_cast< int >(val2);
|
11890
|
+
{
|
11891
|
+
try {
|
11892
|
+
(arg1)->setTimestampMode(arg2);
|
11893
|
+
} catch (bzs::rtl::exception& e) {
|
11894
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11895
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
11896
|
+
} catch (std::exception &e) {
|
11897
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
11898
|
+
rb_raise(cpp_std_error, e.what());
|
11899
|
+
}
|
11900
|
+
}
|
11901
|
+
return Qnil;
|
11902
|
+
fail:
|
11903
|
+
return Qnil;
|
11904
|
+
}
|
11905
|
+
|
11906
|
+
|
11907
|
+
SWIGINTERN VALUE
|
11908
|
+
_wrap_nstable_getFileName(int argc, VALUE *argv, VALUE self) {
|
11909
|
+
_TCHAR *arg1 = (_TCHAR *) 0 ;
|
11910
|
+
_TCHAR arg2[1024] = {NULL} ;
|
11911
|
+
int res1 ;
|
11912
|
+
char *buf1 = 0 ;
|
11913
|
+
int alloc1 = 0 ;
|
11914
|
+
_TCHAR *result = 0 ;
|
11915
|
+
VALUE vresult = Qnil;
|
11916
|
+
|
11917
|
+
if (argc != 1){
|
11918
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11919
|
+
}
|
11920
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
11921
|
+
if (!SWIG_IsOK(res1)) {
|
11922
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_TCHAR const *","bzs::db::protocol::tdap::client::nstable::getFileName", 1, argv[0] ));
|
11923
|
+
}
|
11924
|
+
arg1 = reinterpret_cast< _TCHAR * >(buf1);
|
11925
|
+
|
11926
|
+
{
|
11927
|
+
try {
|
11928
|
+
result = (_TCHAR *)bzs::db::protocol::tdap::client::nstable::getFileName((char const *)arg1,arg2);
|
11929
|
+
} catch (bzs::rtl::exception& e) {
|
11930
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11931
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
11932
|
+
} catch (std::exception &e) {
|
11933
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
11934
|
+
rb_raise(cpp_std_error, e.what());
|
11935
|
+
}
|
11936
|
+
}
|
11937
|
+
{
|
11938
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
11939
|
+
}
|
11940
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
11941
|
+
return vresult;
|
11942
|
+
fail:
|
11943
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
11944
|
+
return Qnil;
|
11945
|
+
}
|
11946
|
+
|
11947
|
+
|
11948
|
+
SWIGINTERN VALUE
|
11949
|
+
_wrap_nstable_statMsg(int argc, VALUE *argv, VALUE self) {
|
11950
|
+
bzs::db::protocol::tdap::client::nstable *arg1 = (bzs::db::protocol::tdap::client::nstable *) 0 ;
|
11951
|
+
_TCHAR arg2[1024] = {NULL};
|
11952
|
+
void *argp1 = 0 ;
|
11953
|
+
int res1 = 0 ;
|
11954
|
+
_TCHAR *result = 0 ;
|
11955
|
+
VALUE vresult = Qnil;
|
11956
|
+
|
11957
|
+
if (argc != 0){
|
11958
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
11959
|
+
}
|
11960
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nstable, 0 | 0 );
|
11961
|
+
if (!SWIG_IsOK(res1)) {
|
11962
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nstable *","statMsg", 1, self ));
|
11963
|
+
}
|
11964
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nstable * >(argp1);
|
11965
|
+
{
|
11966
|
+
try {
|
11967
|
+
arg1->tdapErr((HWND)0, arg2);
|
11968
|
+
result = arg2;
|
11969
|
+
} catch (bzs::rtl::exception& e) {
|
11970
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11971
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
11972
|
+
} catch (std::exception &e) {
|
11973
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
11974
|
+
rb_raise(cpp_std_error, e.what());
|
11975
|
+
}
|
11976
|
+
}
|
11977
|
+
{
|
11978
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
11979
|
+
}
|
11980
|
+
return vresult;
|
11981
|
+
fail:
|
11982
|
+
return Qnil;
|
11983
|
+
}
|
11984
|
+
|
11985
|
+
|
11986
|
+
SWIGINTERN VALUE
|
11987
|
+
_wrap_nstable_getDirURI(int argc, VALUE *argv, VALUE self) {
|
11988
|
+
_TCHAR *arg1 = (_TCHAR *) 0 ;
|
11989
|
+
_TCHAR arg2[1024] = {NULL};
|
11990
|
+
int res1 ;
|
11991
|
+
char *buf1 = 0 ;
|
11992
|
+
int alloc1 = 0 ;
|
11993
|
+
_TCHAR *result = 0 ;
|
11994
|
+
VALUE vresult = Qnil;
|
11995
|
+
|
11996
|
+
if ((argc < 1) || (argc > 1)) {
|
11997
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11998
|
+
}
|
11999
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
12000
|
+
if (!SWIG_IsOK(res1)) {
|
12001
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_TCHAR const *","bzs::db::protocol::tdap::client::nstable::getDirURI", 1, argv[0] ));
|
12002
|
+
}
|
12003
|
+
arg1 = reinterpret_cast< _TCHAR * >(buf1);
|
12004
|
+
|
12005
|
+
{
|
12006
|
+
try {
|
12007
|
+
result = (_TCHAR *)bzs::db::protocol::tdap::client::nstable::getDirURI((char const *)arg1,arg2);
|
12008
|
+
} catch (bzs::rtl::exception& e) {
|
12009
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
12010
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
12011
|
+
} catch (std::exception &e) {
|
12012
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
12013
|
+
rb_raise(cpp_std_error, e.what());
|
12014
|
+
}
|
12015
|
+
}
|
12016
|
+
{
|
12017
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
12018
|
+
}
|
12019
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
12020
|
+
return vresult;
|
12021
|
+
fail:
|
12022
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
12023
|
+
return Qnil;
|
12024
|
+
}
|
12025
|
+
|
12026
|
+
|
12027
|
+
SWIGINTERN VALUE
|
12028
|
+
_wrap_nstable_existsFile(int argc, VALUE *argv, VALUE self) {
|
12029
|
+
_TCHAR *arg1 = (_TCHAR *) 0 ;
|
12030
|
+
int res1 ;
|
12031
|
+
char *buf1 = 0 ;
|
12032
|
+
int alloc1 = 0 ;
|
12033
|
+
bool result;
|
12034
|
+
VALUE vresult = Qnil;
|
12035
|
+
|
12036
|
+
if ((argc < 1) || (argc > 1)) {
|
12037
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
12038
|
+
}
|
12039
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
12040
|
+
if (!SWIG_IsOK(res1)) {
|
12041
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_TCHAR const *","bzs::db::protocol::tdap::client::nstable::existsFile", 1, argv[0] ));
|
12042
|
+
}
|
12043
|
+
arg1 = reinterpret_cast< _TCHAR * >(buf1);
|
12044
|
+
{
|
12045
|
+
try {
|
12046
|
+
result = (bool)bzs::db::protocol::tdap::client::nstable::existsFile((char const *)arg1);
|
12047
|
+
} catch (bzs::rtl::exception& e) {
|
12048
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
12049
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
12050
|
+
} catch (std::exception &e) {
|
12051
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
12052
|
+
rb_raise(cpp_std_error, e.what());
|
12053
|
+
}
|
12054
|
+
}
|
12055
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
12056
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
12057
|
+
return vresult;
|
12058
|
+
fail:
|
12059
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
12060
|
+
return Qnil;
|
12061
|
+
}
|
12062
|
+
|
12063
|
+
|
12064
|
+
static swig_class SwigClassConnRecord;
|
12065
|
+
|
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
|
+
|
12095
|
+
SWIGINTERN VALUE
|
12096
|
+
_wrap_connRecord_conId_get(int argc, VALUE *argv, VALUE self) {
|
12097
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12098
|
+
void *argp1 = 0 ;
|
12099
|
+
int res1 = 0 ;
|
12100
|
+
__int64 result;
|
12101
|
+
VALUE vresult = Qnil;
|
12102
|
+
|
12103
|
+
if ((argc < 0) || (argc > 0)) {
|
12104
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12105
|
+
}
|
12106
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12107
|
+
if (!SWIG_IsOK(res1)) {
|
12108
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","conId", 1, self ));
|
12109
|
+
}
|
12110
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12111
|
+
result = ((arg1)->conId);
|
12112
|
+
vresult = SWIG_From_long_SS_long(static_cast< long long >(result));
|
12113
|
+
return vresult;
|
12114
|
+
fail:
|
12115
|
+
return Qnil;
|
12116
|
+
}
|
12117
|
+
|
12118
|
+
|
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
|
+
SWIGINTERN VALUE
|
12149
|
+
_wrap_connRecord_longValue_get(int argc, VALUE *argv, VALUE self) {
|
12150
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12151
|
+
void *argp1 = 0 ;
|
12152
|
+
int res1 = 0 ;
|
12153
|
+
__int64 result;
|
12154
|
+
VALUE vresult = Qnil;
|
12155
|
+
|
12156
|
+
if ((argc < 0) || (argc > 0)) {
|
12157
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12158
|
+
}
|
12159
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12160
|
+
if (!SWIG_IsOK(res1)) {
|
12161
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","longValue", 1, self ));
|
12162
|
+
}
|
12163
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12164
|
+
result = ((arg1)->longValue);
|
12165
|
+
vresult = SWIG_From_long_SS_long(static_cast< long long >(result));
|
12166
|
+
return vresult;
|
12167
|
+
fail:
|
12168
|
+
return Qnil;
|
12169
|
+
}
|
12170
|
+
|
12171
|
+
|
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
|
+
SWIGINTERN VALUE
|
12202
|
+
_wrap_connRecord_delCount_get(int argc, VALUE *argv, VALUE self) {
|
12203
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12204
|
+
void *argp1 = 0 ;
|
12205
|
+
int res1 = 0 ;
|
12206
|
+
unsigned int result;
|
12207
|
+
VALUE vresult = Qnil;
|
12208
|
+
|
12209
|
+
if ((argc < 0) || (argc > 0)) {
|
12210
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12211
|
+
}
|
12212
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12213
|
+
if (!SWIG_IsOK(res1)) {
|
12214
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","delCount", 1, self ));
|
12215
|
+
}
|
12216
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12217
|
+
result = (unsigned int) ((arg1)->delCount);
|
12218
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12219
|
+
return vresult;
|
12220
|
+
fail:
|
12221
|
+
return Qnil;
|
12222
|
+
}
|
12223
|
+
|
12224
|
+
|
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
|
+
SWIGINTERN VALUE
|
12255
|
+
_wrap_connRecord_insCount_get(int argc, VALUE *argv, VALUE self) {
|
12256
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12257
|
+
void *argp1 = 0 ;
|
12258
|
+
int res1 = 0 ;
|
12259
|
+
unsigned int result;
|
12260
|
+
VALUE vresult = Qnil;
|
12261
|
+
|
12262
|
+
if ((argc < 0) || (argc > 0)) {
|
12263
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12264
|
+
}
|
12265
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12266
|
+
if (!SWIG_IsOK(res1)) {
|
12267
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","insCount", 1, self ));
|
12268
|
+
}
|
12269
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12270
|
+
result = (unsigned int) ((arg1)->insCount);
|
12271
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12272
|
+
return vresult;
|
12273
|
+
fail:
|
12274
|
+
return Qnil;
|
12275
|
+
}
|
12276
|
+
|
12277
|
+
|
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
|
+
SWIGINTERN VALUE
|
12308
|
+
_wrap_connRecord_id_get(int argc, VALUE *argv, VALUE self) {
|
12309
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12310
|
+
void *argp1 = 0 ;
|
12311
|
+
int res1 = 0 ;
|
12312
|
+
unsigned int result;
|
12313
|
+
VALUE vresult = Qnil;
|
12314
|
+
|
12315
|
+
if ((argc < 0) || (argc > 0)) {
|
12316
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12317
|
+
}
|
12318
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12319
|
+
if (!SWIG_IsOK(res1)) {
|
12320
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","id", 1, self ));
|
12321
|
+
}
|
12322
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12323
|
+
result = (unsigned int) ((arg1)->id);
|
12324
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12325
|
+
return vresult;
|
12326
|
+
fail:
|
12327
|
+
return Qnil;
|
12328
|
+
}
|
12329
|
+
|
12330
|
+
|
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
|
+
SWIGINTERN VALUE
|
12361
|
+
_wrap_connRecord_db_get(int argc, VALUE *argv, VALUE self) {
|
12362
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12363
|
+
void *argp1 = 0 ;
|
12364
|
+
int res1 = 0 ;
|
12365
|
+
unsigned int result;
|
12366
|
+
VALUE vresult = Qnil;
|
12367
|
+
|
12368
|
+
if ((argc < 0) || (argc > 0)) {
|
12369
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12370
|
+
}
|
12371
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12372
|
+
if (!SWIG_IsOK(res1)) {
|
12373
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","db", 1, self ));
|
12374
|
+
}
|
12375
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12376
|
+
result = (unsigned int) ((arg1)->db);
|
12377
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12378
|
+
return vresult;
|
12379
|
+
fail:
|
12380
|
+
return Qnil;
|
12381
|
+
}
|
12382
|
+
|
12383
|
+
|
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
|
+
SWIGINTERN VALUE
|
12414
|
+
_wrap_connRecord_readCount_get(int argc, VALUE *argv, VALUE self) {
|
12415
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12416
|
+
void *argp1 = 0 ;
|
12417
|
+
int res1 = 0 ;
|
12418
|
+
unsigned int result;
|
12419
|
+
VALUE vresult = Qnil;
|
12420
|
+
|
12421
|
+
if ((argc < 0) || (argc > 0)) {
|
12422
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12423
|
+
}
|
12424
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12425
|
+
if (!SWIG_IsOK(res1)) {
|
12426
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","readCount", 1, self ));
|
12427
|
+
}
|
12428
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12429
|
+
result = (unsigned int) ((arg1)->readCount);
|
12430
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12431
|
+
return vresult;
|
12432
|
+
fail:
|
12433
|
+
return Qnil;
|
12434
|
+
}
|
12435
|
+
|
12436
|
+
|
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
|
+
SWIGINTERN VALUE
|
12467
|
+
_wrap_connRecord_updCount_get(int argc, VALUE *argv, VALUE self) {
|
12468
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12469
|
+
void *argp1 = 0 ;
|
12470
|
+
int res1 = 0 ;
|
12471
|
+
unsigned int result;
|
12472
|
+
VALUE vresult = Qnil;
|
12473
|
+
|
12474
|
+
if ((argc < 0) || (argc > 0)) {
|
12475
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12476
|
+
}
|
12477
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12478
|
+
if (!SWIG_IsOK(res1)) {
|
12479
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","updCount", 1, self ));
|
12480
|
+
}
|
12481
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12482
|
+
result = (unsigned int) ((arg1)->updCount);
|
12483
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12484
|
+
return vresult;
|
12485
|
+
fail:
|
12486
|
+
return Qnil;
|
12487
|
+
}
|
12488
|
+
|
12489
|
+
|
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
|
+
SWIGINTERN VALUE
|
12520
|
+
_wrap_connRecord_type_get(int argc, VALUE *argv, VALUE self) {
|
12521
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12522
|
+
void *argp1 = 0 ;
|
12523
|
+
int res1 = 0 ;
|
12524
|
+
unsigned int result;
|
12525
|
+
VALUE vresult = Qnil;
|
12526
|
+
|
12527
|
+
if ((argc < 0) || (argc > 0)) {
|
12528
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12529
|
+
}
|
12530
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12531
|
+
if (!SWIG_IsOK(res1)) {
|
12532
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","type", 1, self ));
|
12533
|
+
}
|
12534
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12535
|
+
result = (unsigned int) ((arg1)->type);
|
12536
|
+
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
12537
|
+
return vresult;
|
12538
|
+
fail:
|
12539
|
+
return Qnil;
|
12540
|
+
}
|
12541
|
+
|
12542
|
+
|
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
|
+
SWIGINTERN VALUE
|
12574
|
+
_wrap_connRecord_name_get(int argc, VALUE *argv, VALUE self) {
|
12575
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12576
|
+
void *argp1 = 0 ;
|
12577
|
+
int res1 = 0 ;
|
12578
|
+
char *result = 0 ;
|
12579
|
+
VALUE vresult = Qnil;
|
12580
|
+
|
12581
|
+
if ((argc < 0) || (argc > 0)) {
|
12582
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12583
|
+
}
|
12584
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12585
|
+
if (!SWIG_IsOK(res1)) {
|
12586
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","name", 1, self ));
|
12587
|
+
}
|
12588
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12589
|
+
result = (char *)(char *) ((arg1)->name);
|
12590
|
+
{
|
12591
|
+
size_t size = SWIG_strnlen(result, 67);
|
12592
|
+
|
12593
|
+
|
12594
|
+
|
12595
|
+
vresult = SWIG_FromCharPtrAndSize(result, size);
|
12596
|
+
}
|
12597
|
+
return vresult;
|
12598
|
+
fail:
|
12599
|
+
return Qnil;
|
12600
|
+
}
|
12601
|
+
|
12602
|
+
|
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
|
+
SWIGINTERN VALUE
|
12634
|
+
_wrap_connRecord_value_get(int argc, VALUE *argv, VALUE self) {
|
12635
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12636
|
+
void *argp1 = 0 ;
|
12637
|
+
int res1 = 0 ;
|
12638
|
+
char *result = 0 ;
|
12639
|
+
VALUE vresult = Qnil;
|
12640
|
+
|
12641
|
+
if ((argc < 0) || (argc > 0)) {
|
12642
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12643
|
+
}
|
12644
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12645
|
+
if (!SWIG_IsOK(res1)) {
|
12646
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","value", 1, self ));
|
12647
|
+
}
|
12648
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12649
|
+
result = (char *)(char *) ((arg1)->value);
|
12650
|
+
{
|
12651
|
+
size_t size = SWIG_strnlen(result, 67);
|
12652
|
+
|
12653
|
+
|
12654
|
+
|
12655
|
+
vresult = SWIG_FromCharPtrAndSize(result, size);
|
12656
|
+
}
|
12657
|
+
return vresult;
|
12658
|
+
fail:
|
12659
|
+
return Qnil;
|
12660
|
+
}
|
12661
|
+
|
12662
|
+
|
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
|
+
SWIGINTERN VALUE
|
12693
|
+
_wrap_connRecord_inTransaction_get(int argc, VALUE *argv, VALUE self) {
|
12694
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12695
|
+
void *argp1 = 0 ;
|
12696
|
+
int res1 = 0 ;
|
12697
|
+
char result;
|
12698
|
+
VALUE vresult = Qnil;
|
12699
|
+
|
12700
|
+
if ((argc < 0) || (argc > 0)) {
|
12701
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12702
|
+
}
|
12703
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12704
|
+
if (!SWIG_IsOK(res1)) {
|
12705
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","inTransaction", 1, self ));
|
12706
|
+
}
|
12707
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12708
|
+
result = (char) ((arg1)->inTransaction);
|
12709
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
12710
|
+
return vresult;
|
12711
|
+
fail:
|
12712
|
+
return Qnil;
|
12713
|
+
}
|
12714
|
+
|
12715
|
+
|
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
|
+
SWIGINTERN VALUE
|
12746
|
+
_wrap_connRecord_inSnapshot_get(int argc, VALUE *argv, VALUE self) {
|
12747
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12748
|
+
void *argp1 = 0 ;
|
12749
|
+
int res1 = 0 ;
|
12750
|
+
char result;
|
12751
|
+
VALUE vresult = Qnil;
|
12752
|
+
|
12753
|
+
if ((argc < 0) || (argc > 0)) {
|
12754
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12755
|
+
}
|
12756
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12757
|
+
if (!SWIG_IsOK(res1)) {
|
12758
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","inSnapshot", 1, self ));
|
12759
|
+
}
|
12760
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12761
|
+
result = (char) ((arg1)->inSnapshot);
|
12762
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
12763
|
+
return vresult;
|
12764
|
+
fail:
|
12765
|
+
return Qnil;
|
12766
|
+
}
|
12767
|
+
|
12768
|
+
|
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
|
+
SWIGINTERN VALUE
|
12799
|
+
_wrap_connRecord_openNormal_get(int argc, VALUE *argv, VALUE self) {
|
12800
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12801
|
+
void *argp1 = 0 ;
|
12802
|
+
int res1 = 0 ;
|
12803
|
+
char result;
|
12804
|
+
VALUE vresult = Qnil;
|
12805
|
+
|
12806
|
+
if ((argc < 0) || (argc > 0)) {
|
12807
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12808
|
+
}
|
12809
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12810
|
+
if (!SWIG_IsOK(res1)) {
|
12811
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openNormal", 1, self ));
|
12812
|
+
}
|
12813
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12814
|
+
result = (char) ((arg1)->openNormal);
|
12815
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
12816
|
+
return vresult;
|
12817
|
+
fail:
|
12818
|
+
return Qnil;
|
12819
|
+
}
|
12820
|
+
|
12821
|
+
|
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
|
+
SWIGINTERN VALUE
|
12852
|
+
_wrap_connRecord_openReadOnly_get(int argc, VALUE *argv, VALUE self) {
|
12853
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12854
|
+
void *argp1 = 0 ;
|
12855
|
+
int res1 = 0 ;
|
12856
|
+
char result;
|
12857
|
+
VALUE vresult = Qnil;
|
12858
|
+
|
12859
|
+
if ((argc < 0) || (argc > 0)) {
|
12860
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12861
|
+
}
|
12862
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12863
|
+
if (!SWIG_IsOK(res1)) {
|
12864
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openReadOnly", 1, self ));
|
12865
|
+
}
|
12866
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12867
|
+
result = (char) ((arg1)->openReadOnly);
|
12868
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
12869
|
+
return vresult;
|
12870
|
+
fail:
|
12871
|
+
return Qnil;
|
12872
|
+
}
|
12873
|
+
|
12874
|
+
|
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
|
+
SWIGINTERN VALUE
|
12905
|
+
_wrap_connRecord_openEx_get(int argc, VALUE *argv, VALUE self) {
|
12906
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12907
|
+
void *argp1 = 0 ;
|
12908
|
+
int res1 = 0 ;
|
12909
|
+
char result;
|
12910
|
+
VALUE vresult = Qnil;
|
12911
|
+
|
12912
|
+
if ((argc < 0) || (argc > 0)) {
|
12913
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12914
|
+
}
|
12915
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12916
|
+
if (!SWIG_IsOK(res1)) {
|
12917
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openEx", 1, self ));
|
12918
|
+
}
|
12919
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12920
|
+
result = (char) ((arg1)->openEx);
|
12921
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
12922
|
+
return vresult;
|
12923
|
+
fail:
|
12924
|
+
return Qnil;
|
12925
|
+
}
|
12926
|
+
|
12927
|
+
|
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
|
+
SWIGINTERN VALUE
|
12958
|
+
_wrap_connRecord_openReadOnlyEx_get(int argc, VALUE *argv, VALUE self) {
|
12959
|
+
bzs::db::transactd::connection::record *arg1 = (bzs::db::transactd::connection::record *) 0 ;
|
12960
|
+
void *argp1 = 0 ;
|
12961
|
+
int res1 = 0 ;
|
12962
|
+
char result;
|
12963
|
+
VALUE vresult = Qnil;
|
12964
|
+
|
12965
|
+
if ((argc < 0) || (argc > 0)) {
|
12966
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
12967
|
+
}
|
12968
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__record, 0 | 0 );
|
12969
|
+
if (!SWIG_IsOK(res1)) {
|
12970
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::record *","openReadOnlyEx", 1, self ));
|
12971
|
+
}
|
12972
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::record * >(argp1);
|
12973
|
+
result = (char) ((arg1)->openReadOnlyEx);
|
12974
|
+
vresult = SWIG_From_char(static_cast< char >(result));
|
12975
|
+
return vresult;
|
12976
|
+
fail:
|
12977
|
+
return Qnil;
|
12978
|
+
}
|
12979
|
+
|
12980
|
+
|
12981
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
12982
|
+
SWIGINTERN VALUE
|
12983
|
+
_wrap_connRecord_allocate(VALUE self) {
|
12984
|
+
#else
|
12985
|
+
SWIGINTERN VALUE
|
12986
|
+
_wrap_connRecord_allocate(int argc, VALUE *argv, VALUE self) {
|
12987
|
+
#endif
|
12988
|
+
|
12989
|
+
|
12990
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__transactd__connection__record);
|
12991
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
12992
|
+
rb_obj_call_init(vresult, argc, argv);
|
12993
|
+
#endif
|
12994
|
+
return vresult;
|
12995
|
+
}
|
12996
|
+
|
12997
|
+
|
12998
|
+
SWIGINTERN VALUE
|
12999
|
+
_wrap_new_connRecord(int argc, VALUE *argv, VALUE self) {
|
13000
|
+
bzs::db::transactd::connection::record *result = 0 ;
|
13001
|
+
|
13002
|
+
if ((argc < 0) || (argc > 0)) {
|
13003
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13004
|
+
}
|
13005
|
+
{
|
13006
|
+
try {
|
13007
|
+
result = (bzs::db::transactd::connection::record *)new bzs::db::transactd::connection::record();
|
13008
|
+
DATA_PTR(self) = result;
|
13009
|
+
} catch (bzs::rtl::exception& e) {
|
13010
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13011
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13012
|
+
} catch (std::exception &e) {
|
13013
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13014
|
+
rb_raise(cpp_std_error, e.what());
|
13015
|
+
}
|
13016
|
+
}
|
13017
|
+
return self;
|
13018
|
+
fail:
|
13019
|
+
return Qnil;
|
13020
|
+
}
|
13021
|
+
|
13022
|
+
|
13023
|
+
SWIGINTERN void
|
13024
|
+
free_bzs_db_transactd_connection_record(bzs::db::transactd::connection::record *arg1) {
|
13025
|
+
delete arg1;
|
13026
|
+
}
|
13027
|
+
|
13028
|
+
static swig_class SwigClassConnRecords;
|
13029
|
+
|
13030
|
+
SWIGINTERN VALUE
|
13031
|
+
_wrap_connRecords___getitem__(int argc, VALUE *argv, VALUE self) {
|
13032
|
+
bzs::db::transactd::connection::records *arg1 = (bzs::db::transactd::connection::records *) 0 ;
|
13033
|
+
int arg2 ;
|
13034
|
+
void *argp1 = 0 ;
|
13035
|
+
int res1 = 0 ;
|
13036
|
+
int val2 ;
|
13037
|
+
int ecode2 = 0 ;
|
13038
|
+
bzs::db::transactd::connection::record result;
|
13039
|
+
VALUE vresult = Qnil;
|
13040
|
+
|
13041
|
+
if ((argc < 1) || (argc > 1)) {
|
13042
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13043
|
+
}
|
13044
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__records, 0 | 0 );
|
13045
|
+
if (!SWIG_IsOK(res1)) {
|
13046
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::records const *","operator []", 1, self ));
|
13047
|
+
}
|
13048
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::records * >(argp1);
|
13049
|
+
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
13050
|
+
if (!SWIG_IsOK(ecode2)) {
|
13051
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","operator []", 2, argv[0] ));
|
13052
|
+
}
|
13053
|
+
arg2 = static_cast< int >(val2);
|
13054
|
+
{
|
13055
|
+
try {
|
13056
|
+
result = ((bzs::db::transactd::connection::records const *)arg1)->operator [](arg2);
|
13057
|
+
} catch (bzs::rtl::exception& e) {
|
13058
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13059
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13060
|
+
} catch (std::exception &e) {
|
13061
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13062
|
+
rb_raise(cpp_std_error, e.what());
|
13063
|
+
}
|
13064
|
+
}
|
13065
|
+
vresult = SWIG_NewPointerObj((new bzs::db::transactd::connection::record(static_cast< const bzs::db::transactd::connection::record& >(result))), SWIGTYPE_p_bzs__db__transactd__connection__record, SWIG_POINTER_OWN | 0 );
|
13066
|
+
return vresult;
|
13067
|
+
fail:
|
13068
|
+
return Qnil;
|
13069
|
+
}
|
13070
|
+
|
13071
|
+
|
13072
|
+
|
13073
|
+
/*
|
13074
|
+
Document-method: Transactd::connRecords.size
|
13075
|
+
|
13076
|
+
call-seq:
|
13077
|
+
size -> size_t
|
13078
|
+
|
13079
|
+
Size or Length of the connRecords.
|
13080
|
+
*/
|
13081
|
+
SWIGINTERN VALUE
|
13082
|
+
_wrap_connRecords_size(int argc, VALUE *argv, VALUE self) {
|
13083
|
+
bzs::db::transactd::connection::records *arg1 = (bzs::db::transactd::connection::records *) 0 ;
|
13084
|
+
void *argp1 = 0 ;
|
13085
|
+
int res1 = 0 ;
|
13086
|
+
size_t result;
|
13087
|
+
VALUE vresult = Qnil;
|
13088
|
+
|
13089
|
+
if ((argc < 0) || (argc > 0)) {
|
13090
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13091
|
+
}
|
13092
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__transactd__connection__records, 0 | 0 );
|
13093
|
+
if (!SWIG_IsOK(res1)) {
|
13094
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::transactd::connection::records const *","size", 1, self ));
|
13095
|
+
}
|
13096
|
+
arg1 = reinterpret_cast< bzs::db::transactd::connection::records * >(argp1);
|
13097
|
+
{
|
13098
|
+
try {
|
13099
|
+
result = ((bzs::db::transactd::connection::records const *)arg1)->size();
|
13100
|
+
} catch (bzs::rtl::exception& e) {
|
13101
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13102
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13103
|
+
} catch (std::exception &e) {
|
13104
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13105
|
+
rb_raise(cpp_std_error, e.what());
|
13106
|
+
}
|
13107
|
+
}
|
13108
|
+
vresult = SWIG_From_size_t(static_cast< size_t >(result));
|
13109
|
+
return vresult;
|
13110
|
+
fail:
|
13111
|
+
return Qnil;
|
13112
|
+
}
|
13113
|
+
|
13114
|
+
|
13115
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
13116
|
+
SWIGINTERN VALUE
|
13117
|
+
_wrap_connRecords_allocate(VALUE self) {
|
13118
|
+
#else
|
13119
|
+
SWIGINTERN VALUE
|
13120
|
+
_wrap_connRecords_allocate(int argc, VALUE *argv, VALUE self) {
|
13121
|
+
#endif
|
13122
|
+
|
13123
|
+
|
13124
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__transactd__connection__records);
|
13125
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
13126
|
+
rb_obj_call_init(vresult, argc, argv);
|
13127
|
+
#endif
|
13128
|
+
return vresult;
|
13129
|
+
}
|
13130
|
+
|
13131
|
+
|
13132
|
+
SWIGINTERN VALUE
|
13133
|
+
_wrap_new_connRecords(int argc, VALUE *argv, VALUE self) {
|
13134
|
+
bzs::db::transactd::connection::records *result = 0 ;
|
13135
|
+
|
13136
|
+
if ((argc < 0) || (argc > 0)) {
|
13137
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13138
|
+
}
|
13139
|
+
{
|
13140
|
+
try {
|
13141
|
+
result = (bzs::db::transactd::connection::records *)new bzs::db::transactd::connection::records();
|
13142
|
+
DATA_PTR(self) = result;
|
13143
|
+
} catch (bzs::rtl::exception& e) {
|
13144
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13145
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13146
|
+
} catch (std::exception &e) {
|
13147
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13148
|
+
rb_raise(cpp_std_error, e.what());
|
13149
|
+
}
|
13150
|
+
}
|
13151
|
+
return self;
|
13152
|
+
fail:
|
13153
|
+
return Qnil;
|
13154
|
+
}
|
13155
|
+
|
13156
|
+
|
13157
|
+
SWIGINTERN void
|
13158
|
+
free_bzs_db_transactd_connection_records(bzs::db::transactd::connection::records *arg1) {
|
13159
|
+
delete arg1;
|
13160
|
+
}
|
13161
|
+
|
13162
|
+
static swig_class SwigClassConnMgr;
|
13163
|
+
|
13164
|
+
SWIGINTERN VALUE
|
13165
|
+
_wrap_connMgr_connect(int argc, VALUE *argv, VALUE self) {
|
13166
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13167
|
+
_TCHAR *arg2 = (_TCHAR *) 0 ;
|
13168
|
+
void *argp1 = 0 ;
|
13169
|
+
int res1 = 0 ;
|
13170
|
+
int res2 ;
|
13171
|
+
char *buf2 = 0 ;
|
13172
|
+
int alloc2 = 0 ;
|
13173
|
+
bool result;
|
13174
|
+
VALUE vresult = Qnil;
|
13175
|
+
|
13176
|
+
if ((argc < 1) || (argc > 1)) {
|
13177
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13178
|
+
}
|
13179
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13180
|
+
if (!SWIG_IsOK(res1)) {
|
13181
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","connect", 1, self ));
|
13182
|
+
}
|
13183
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13184
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
13185
|
+
if (!SWIG_IsOK(res2)) {
|
13186
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","connect", 2, argv[0] ));
|
13187
|
+
}
|
13188
|
+
arg2 = reinterpret_cast< _TCHAR * >(buf2);
|
13189
|
+
{
|
13190
|
+
try {
|
13191
|
+
result = (bool)(arg1)->connect((_TCHAR const *)arg2);
|
13192
|
+
} catch (bzs::rtl::exception& e) {
|
13193
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13194
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13195
|
+
} catch (std::exception &e) {
|
13196
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13197
|
+
rb_raise(cpp_std_error, e.what());
|
13198
|
+
}
|
13199
|
+
}
|
13200
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
13201
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13202
|
+
return vresult;
|
13203
|
+
fail:
|
13204
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13205
|
+
return Qnil;
|
13206
|
+
}
|
13207
|
+
|
13208
|
+
|
13209
|
+
SWIGINTERN VALUE
|
13210
|
+
_wrap_connMgr_disconnect(int argc, VALUE *argv, VALUE self) {
|
13211
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13212
|
+
void *argp1 = 0 ;
|
13213
|
+
int res1 = 0 ;
|
13214
|
+
|
13215
|
+
if ((argc < 0) || (argc > 0)) {
|
13216
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13217
|
+
}
|
13218
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13219
|
+
if (!SWIG_IsOK(res1)) {
|
13220
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","disconnect", 1, self ));
|
13221
|
+
}
|
13222
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13223
|
+
{
|
13224
|
+
try {
|
13225
|
+
(arg1)->disconnect();
|
13226
|
+
} catch (bzs::rtl::exception& e) {
|
13227
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13228
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13229
|
+
} catch (std::exception &e) {
|
13230
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13231
|
+
rb_raise(cpp_std_error, e.what());
|
13232
|
+
}
|
13233
|
+
}
|
13234
|
+
return Qnil;
|
13235
|
+
fail:
|
13236
|
+
return Qnil;
|
13237
|
+
}
|
13238
|
+
|
13239
|
+
|
13240
|
+
SWIGINTERN VALUE
|
13241
|
+
_wrap_connMgr_postDisconnectOne(int argc, VALUE *argv, VALUE self) {
|
13242
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13243
|
+
__int64 arg2 ;
|
13244
|
+
void *argp1 = 0 ;
|
13245
|
+
int res1 = 0 ;
|
13246
|
+
long long val2 ;
|
13247
|
+
int ecode2 = 0 ;
|
13248
|
+
|
13249
|
+
if ((argc < 1) || (argc > 1)) {
|
13250
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13251
|
+
}
|
13252
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13253
|
+
if (!SWIG_IsOK(res1)) {
|
13254
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","postDisconnectOne", 1, self ));
|
13255
|
+
}
|
13256
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13257
|
+
ecode2 = SWIG_AsVal_long_SS_long(argv[0], &val2);
|
13258
|
+
if (!SWIG_IsOK(ecode2)) {
|
13259
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "__int64","postDisconnectOne", 2, argv[0] ));
|
13260
|
+
}
|
13261
|
+
arg2 = static_cast< __int64 >(val2);
|
13262
|
+
{
|
13263
|
+
try {
|
13264
|
+
(arg1)->postDisconnectOne(arg2);
|
13265
|
+
} catch (bzs::rtl::exception& e) {
|
13266
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13267
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13268
|
+
} catch (std::exception &e) {
|
13269
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13270
|
+
rb_raise(cpp_std_error, e.what());
|
13271
|
+
}
|
13272
|
+
}
|
13273
|
+
return Qnil;
|
13274
|
+
fail:
|
13275
|
+
return Qnil;
|
13276
|
+
}
|
13277
|
+
|
13278
|
+
|
13279
|
+
SWIGINTERN VALUE
|
13280
|
+
_wrap_connMgr_postDisconnectAll(int argc, VALUE *argv, VALUE self) {
|
13281
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13282
|
+
void *argp1 = 0 ;
|
13283
|
+
int res1 = 0 ;
|
13284
|
+
|
13285
|
+
if ((argc < 0) || (argc > 0)) {
|
13286
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13287
|
+
}
|
13288
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13289
|
+
if (!SWIG_IsOK(res1)) {
|
13290
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","postDisconnectAll", 1, self ));
|
13291
|
+
}
|
13292
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13293
|
+
{
|
13294
|
+
try {
|
13295
|
+
(arg1)->postDisconnectAll();
|
13296
|
+
} catch (bzs::rtl::exception& e) {
|
13297
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13298
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13299
|
+
} catch (std::exception &e) {
|
13300
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13301
|
+
rb_raise(cpp_std_error, e.what());
|
13302
|
+
}
|
13303
|
+
}
|
13304
|
+
return Qnil;
|
13305
|
+
fail:
|
13306
|
+
return Qnil;
|
13307
|
+
}
|
13308
|
+
|
13309
|
+
|
13310
|
+
SWIGINTERN VALUE
|
13311
|
+
_wrap_connMgr_stat(int argc, VALUE *argv, VALUE self) {
|
13312
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13313
|
+
void *argp1 = 0 ;
|
13314
|
+
int res1 = 0 ;
|
13315
|
+
short_td result;
|
13316
|
+
VALUE vresult = Qnil;
|
13317
|
+
|
13318
|
+
if ((argc < 0) || (argc > 0)) {
|
13319
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13320
|
+
}
|
13321
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13322
|
+
if (!SWIG_IsOK(res1)) {
|
13323
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","stat", 1, self ));
|
13324
|
+
}
|
13325
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13326
|
+
{
|
13327
|
+
try {
|
13328
|
+
result = (short_td)(arg1)->stat();
|
13329
|
+
} catch (bzs::rtl::exception& e) {
|
13330
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13331
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13332
|
+
} catch (std::exception &e) {
|
13333
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13334
|
+
rb_raise(cpp_std_error, e.what());
|
13335
|
+
}
|
13336
|
+
}
|
13337
|
+
vresult = SWIG_From_short(static_cast< short >(result));
|
13338
|
+
return vresult;
|
13339
|
+
fail:
|
13340
|
+
return Qnil;
|
13341
|
+
}
|
13342
|
+
|
13343
|
+
|
13344
|
+
SWIGINTERN VALUE
|
13345
|
+
_wrap_connMgr_db(int argc, VALUE *argv, VALUE self) {
|
13346
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13347
|
+
void *argp1 = 0 ;
|
13348
|
+
int res1 = 0 ;
|
13349
|
+
bzs::db::protocol::tdap::client::database *result = 0 ;
|
13350
|
+
VALUE vresult = Qnil;
|
13351
|
+
|
13352
|
+
if ((argc < 0) || (argc > 0)) {
|
13353
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13354
|
+
}
|
13355
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13356
|
+
if (!SWIG_IsOK(res1)) {
|
13357
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr const *","db", 1, self ));
|
13358
|
+
}
|
13359
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13360
|
+
{
|
13361
|
+
try {
|
13362
|
+
result = (bzs::db::protocol::tdap::client::database *)((bzs::db::protocol::tdap::client::connMgr const *)arg1)->db();
|
13363
|
+
} catch (bzs::rtl::exception& e) {
|
13364
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13365
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13366
|
+
} catch (std::exception &e) {
|
13367
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13368
|
+
rb_raise(cpp_std_error, e.what());
|
13369
|
+
}
|
13370
|
+
}
|
13371
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__database, 0 | 0 );
|
13372
|
+
return vresult;
|
13373
|
+
fail:
|
13374
|
+
return Qnil;
|
13375
|
+
}
|
13376
|
+
|
13377
|
+
|
13378
|
+
SWIGINTERN VALUE
|
13379
|
+
_wrap_connMgr_removeSystemDb(int argc, VALUE *argv, VALUE self) {
|
13380
|
+
bzs::db::protocol::tdap::client::connMgr::records *arg1 = 0 ;
|
13381
|
+
void *argp1 = 0 ;
|
13382
|
+
int res1 = 0 ;
|
13383
|
+
|
13384
|
+
if ((argc < 1) || (argc > 1)) {
|
13385
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13386
|
+
}
|
13387
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__transactd__connection__records, 0 );
|
13388
|
+
if (!SWIG_IsOK(res1)) {
|
13389
|
+
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
|
+
}
|
13391
|
+
if (!argp1) {
|
13392
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::connMgr::records &","bzs::db::protocol::tdap::client::connMgr::removeSystemDb", 1, argv[0]));
|
13393
|
+
}
|
13394
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr::records * >(argp1);
|
13395
|
+
{
|
13396
|
+
try {
|
13397
|
+
bzs::db::protocol::tdap::client::connMgr::removeSystemDb(*arg1);
|
13398
|
+
} catch (bzs::rtl::exception& e) {
|
13399
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13400
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13401
|
+
} catch (std::exception &e) {
|
13402
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13403
|
+
rb_raise(cpp_std_error, e.what());
|
13404
|
+
}
|
13405
|
+
}
|
13406
|
+
return Qnil;
|
13407
|
+
fail:
|
13408
|
+
return Qnil;
|
13409
|
+
}
|
13410
|
+
|
13411
|
+
|
13412
|
+
SWIGINTERN VALUE
|
13413
|
+
_wrap_connMgr_sysvarName(int argc, VALUE *argv, VALUE self) {
|
13414
|
+
uint_td arg1 ;
|
13415
|
+
unsigned int val1 ;
|
13416
|
+
int ecode1 = 0 ;
|
13417
|
+
_TCHAR *result = 0 ;
|
13418
|
+
VALUE vresult = Qnil;
|
13419
|
+
|
13420
|
+
if ((argc < 1) || (argc > 1)) {
|
13421
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13422
|
+
}
|
13423
|
+
ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
|
13424
|
+
if (!SWIG_IsOK(ecode1)) {
|
13425
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "uint_td","bzs::db::protocol::tdap::client::connMgr::sysvarName", 1, argv[0] ));
|
13426
|
+
}
|
13427
|
+
arg1 = static_cast< uint_td >(val1);
|
13428
|
+
{
|
13429
|
+
try {
|
13430
|
+
result = (_TCHAR *)bzs::db::protocol::tdap::client::connMgr::sysvarName(arg1);
|
13431
|
+
} catch (bzs::rtl::exception& e) {
|
13432
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13433
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13434
|
+
} catch (std::exception &e) {
|
13435
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13436
|
+
rb_raise(cpp_std_error, e.what());
|
13437
|
+
}
|
13438
|
+
}
|
13439
|
+
{
|
13440
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
13441
|
+
}
|
13442
|
+
return vresult;
|
13443
|
+
fail:
|
13444
|
+
return Qnil;
|
13445
|
+
}
|
13446
|
+
|
13447
|
+
|
13448
|
+
SWIGINTERN VALUE
|
13449
|
+
_wrap_connMgr_slaveStatusName(int argc, VALUE *argv, VALUE self) {
|
13450
|
+
uint_td arg1 ;
|
13451
|
+
unsigned int val1 ;
|
13452
|
+
int ecode1 = 0 ;
|
13453
|
+
_TCHAR *result = 0 ;
|
13454
|
+
VALUE vresult = Qnil;
|
13455
|
+
|
13456
|
+
if ((argc < 1) || (argc > 1)) {
|
13457
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13458
|
+
}
|
13459
|
+
ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
|
13460
|
+
if (!SWIG_IsOK(ecode1)) {
|
13461
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "uint_td","bzs::db::protocol::tdap::client::connMgr::slaveStatusName", 1, argv[0] ));
|
13462
|
+
}
|
13463
|
+
arg1 = static_cast< uint_td >(val1);
|
13464
|
+
{
|
13465
|
+
try {
|
13466
|
+
result = (_TCHAR *)bzs::db::protocol::tdap::client::connMgr::slaveStatusName(arg1);
|
13467
|
+
} catch (bzs::rtl::exception& e) {
|
13468
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13469
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13470
|
+
} catch (std::exception &e) {
|
13471
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13472
|
+
rb_raise(cpp_std_error, e.what());
|
13473
|
+
}
|
13474
|
+
}
|
13475
|
+
{
|
13476
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
13477
|
+
}
|
13478
|
+
return vresult;
|
13479
|
+
fail:
|
13480
|
+
return Qnil;
|
13481
|
+
}
|
13482
|
+
|
13483
|
+
|
13484
|
+
SWIGINTERN VALUE
|
13485
|
+
_wrap_connMgr_create(int argc, VALUE *argv, VALUE self) {
|
13486
|
+
bzs::db::protocol::tdap::client::database *arg1 = (bzs::db::protocol::tdap::client::database *) 0 ;
|
13487
|
+
void *argp1 = 0 ;
|
13488
|
+
int res1 = 0 ;
|
13489
|
+
bzs::db::protocol::tdap::client::connMgr *result = 0 ;
|
13490
|
+
VALUE vresult = Qnil;
|
13491
|
+
|
13492
|
+
if ((argc < 1) || (argc > 1)) {
|
13493
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13494
|
+
}
|
13495
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__database, 0 | 0 );
|
13496
|
+
if (!SWIG_IsOK(res1)) {
|
13497
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::database *","bzs::db::protocol::tdap::client::connMgr::create", 1, argv[0] ));
|
13498
|
+
}
|
13499
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::database * >(argp1);
|
13500
|
+
{
|
13501
|
+
try {
|
13502
|
+
result = (bzs::db::protocol::tdap::client::connMgr *)bzs::db::protocol::tdap::client::connMgr::create(arg1);
|
13503
|
+
} catch (bzs::rtl::exception& e) {
|
13504
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13505
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13506
|
+
} catch (std::exception &e) {
|
13507
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13508
|
+
rb_raise(cpp_std_error, e.what());
|
13509
|
+
}
|
13510
|
+
}
|
13511
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, SWIG_POINTER_OWN | 0 );
|
13512
|
+
return vresult;
|
11683
13513
|
fail:
|
11684
|
-
|
13514
|
+
return Qnil;
|
11685
13515
|
}
|
11686
13516
|
|
11687
13517
|
|
11688
|
-
SWIGINTERN VALUE
|
11689
|
-
|
11690
|
-
|
11691
|
-
|
11692
|
-
|
11693
|
-
|
11694
|
-
|
11695
|
-
|
11696
|
-
|
11697
|
-
|
11698
|
-
|
11699
|
-
|
11700
|
-
|
11701
|
-
|
11702
|
-
|
11703
|
-
|
11704
|
-
|
11705
|
-
|
11706
|
-
|
11707
|
-
}
|
11708
|
-
|
11709
|
-
|
11710
|
-
|
11711
|
-
|
11712
|
-
|
11713
|
-
if (_v) {
|
11714
|
-
void *vptr = 0;
|
11715
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_BOOKMARK, 0);
|
11716
|
-
_v = SWIG_CheckState(res);
|
11717
|
-
if (_v) {
|
11718
|
-
return _wrap_nstable_unlock__SWIG_0(nargs, args, self);
|
11719
|
-
}
|
11720
|
-
}
|
13518
|
+
SWIGINTERN VALUE
|
13519
|
+
_wrap_connMgr_databases(int argc, VALUE *argv, VALUE self) {
|
13520
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13521
|
+
void *argp1 = 0 ;
|
13522
|
+
int res1 = 0 ;
|
13523
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13524
|
+
VALUE vresult = Qnil;
|
13525
|
+
|
13526
|
+
if ((argc < 0) || (argc > 0)) {
|
13527
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13528
|
+
}
|
13529
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13530
|
+
if (!SWIG_IsOK(res1)) {
|
13531
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","databases", 1, self ));
|
13532
|
+
}
|
13533
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13534
|
+
{
|
13535
|
+
try {
|
13536
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_databases(arg1);
|
13537
|
+
} catch (bzs::rtl::exception& e) {
|
13538
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13539
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13540
|
+
} catch (std::exception &e) {
|
13541
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13542
|
+
rb_raise(cpp_std_error, e.what());
|
11721
13543
|
}
|
11722
|
-
|
13544
|
+
}
|
13545
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
13546
|
+
return vresult;
|
11723
13547
|
fail:
|
11724
|
-
|
11725
|
-
" void nstable.unlock(bookmark_td &bm)\n"
|
11726
|
-
" void nstable.unlock()\n");
|
11727
|
-
|
11728
|
-
return Qnil;
|
13548
|
+
return Qnil;
|
11729
13549
|
}
|
11730
13550
|
|
11731
13551
|
|
11732
13552
|
SWIGINTERN VALUE
|
11733
|
-
|
11734
|
-
bzs::db::protocol::tdap::client::
|
13553
|
+
_wrap_connMgr_tables(int argc, VALUE *argv, VALUE self) {
|
13554
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13555
|
+
_TCHAR *arg2 = (_TCHAR *) 0 ;
|
11735
13556
|
void *argp1 = 0 ;
|
11736
13557
|
int res1 = 0 ;
|
11737
|
-
|
13558
|
+
int res2 ;
|
13559
|
+
char *buf2 = 0 ;
|
13560
|
+
int alloc2 = 0 ;
|
13561
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
11738
13562
|
VALUE vresult = Qnil;
|
11739
13563
|
|
11740
|
-
if ((argc <
|
11741
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for
|
13564
|
+
if ((argc < 1) || (argc > 1)) {
|
13565
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11742
13566
|
}
|
11743
|
-
res1 = SWIG_ConvertPtr(self, &argp1,
|
13567
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
11744
13568
|
if (!SWIG_IsOK(res1)) {
|
11745
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::
|
13569
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","tables", 1, self ));
|
11746
13570
|
}
|
11747
|
-
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::
|
13571
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13572
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
13573
|
+
if (!SWIG_IsOK(res2)) {
|
13574
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","tables", 2, argv[0] ));
|
13575
|
+
}
|
13576
|
+
arg2 = reinterpret_cast< _TCHAR * >(buf2);
|
11748
13577
|
{
|
11749
13578
|
try {
|
11750
|
-
result = (
|
13579
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_tables(arg1,(char const *)arg2);
|
11751
13580
|
} catch (bzs::rtl::exception& e) {
|
11752
13581
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11753
13582
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -11756,38 +13585,43 @@ _wrap_nstable_mode(int argc, VALUE *argv, VALUE self) {
|
|
11756
13585
|
rb_raise(cpp_std_error, e.what());
|
11757
13586
|
}
|
11758
13587
|
}
|
11759
|
-
vresult =
|
13588
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
13589
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
11760
13590
|
return vresult;
|
11761
13591
|
fail:
|
13592
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
11762
13593
|
return Qnil;
|
11763
13594
|
}
|
11764
13595
|
|
11765
13596
|
|
11766
13597
|
SWIGINTERN VALUE
|
11767
|
-
|
11768
|
-
bzs::db::protocol::tdap::client::
|
11769
|
-
|
13598
|
+
_wrap_connMgr_views(int argc, VALUE *argv, VALUE self) {
|
13599
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13600
|
+
_TCHAR *arg2 = (_TCHAR *) 0 ;
|
11770
13601
|
void *argp1 = 0 ;
|
11771
13602
|
int res1 = 0 ;
|
11772
|
-
int
|
11773
|
-
|
13603
|
+
int res2 ;
|
13604
|
+
char *buf2 = 0 ;
|
13605
|
+
int alloc2 = 0 ;
|
13606
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13607
|
+
VALUE vresult = Qnil;
|
11774
13608
|
|
11775
13609
|
if ((argc < 1) || (argc > 1)) {
|
11776
13610
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11777
13611
|
}
|
11778
|
-
res1 = SWIG_ConvertPtr(self, &argp1,
|
13612
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
11779
13613
|
if (!SWIG_IsOK(res1)) {
|
11780
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::
|
13614
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","views", 1, self ));
|
11781
13615
|
}
|
11782
|
-
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::
|
11783
|
-
|
11784
|
-
if (!SWIG_IsOK(
|
11785
|
-
SWIG_exception_fail(SWIG_ArgError(
|
11786
|
-
}
|
11787
|
-
arg2 =
|
13616
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13617
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
13618
|
+
if (!SWIG_IsOK(res2)) {
|
13619
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","views", 2, argv[0] ));
|
13620
|
+
}
|
13621
|
+
arg2 = reinterpret_cast< _TCHAR * >(buf2);
|
11788
13622
|
{
|
11789
13623
|
try {
|
11790
|
-
(arg1)
|
13624
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_views(arg1,(char const *)arg2);
|
11791
13625
|
} catch (bzs::rtl::exception& e) {
|
11792
13626
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11793
13627
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -11796,34 +13630,43 @@ _wrap_nstable_setTimestampMode(int argc, VALUE *argv, VALUE self) {
|
|
11796
13630
|
rb_raise(cpp_std_error, e.what());
|
11797
13631
|
}
|
11798
13632
|
}
|
11799
|
-
|
13633
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
13634
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13635
|
+
return vresult;
|
11800
13636
|
fail:
|
13637
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
11801
13638
|
return Qnil;
|
11802
13639
|
}
|
11803
13640
|
|
11804
13641
|
|
11805
13642
|
SWIGINTERN VALUE
|
11806
|
-
|
11807
|
-
|
11808
|
-
_TCHAR arg2
|
11809
|
-
|
11810
|
-
|
11811
|
-
int
|
11812
|
-
|
13643
|
+
_wrap_connMgr_schemaTables(int argc, VALUE *argv, VALUE self) {
|
13644
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13645
|
+
_TCHAR *arg2 = (_TCHAR *) 0 ;
|
13646
|
+
void *argp1 = 0 ;
|
13647
|
+
int res1 = 0 ;
|
13648
|
+
int res2 ;
|
13649
|
+
char *buf2 = 0 ;
|
13650
|
+
int alloc2 = 0 ;
|
13651
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
11813
13652
|
VALUE vresult = Qnil;
|
11814
13653
|
|
11815
|
-
if (argc
|
13654
|
+
if ((argc < 1) || (argc > 1)) {
|
11816
13655
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11817
13656
|
}
|
11818
|
-
res1 =
|
13657
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
11819
13658
|
if (!SWIG_IsOK(res1)) {
|
11820
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13659
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","schemaTables", 1, self ));
|
11821
13660
|
}
|
11822
|
-
arg1 = reinterpret_cast<
|
11823
|
-
|
13661
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13662
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
13663
|
+
if (!SWIG_IsOK(res2)) {
|
13664
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","schemaTables", 2, argv[0] ));
|
13665
|
+
}
|
13666
|
+
arg2 = reinterpret_cast< _TCHAR * >(buf2);
|
11824
13667
|
{
|
11825
13668
|
try {
|
11826
|
-
result = (
|
13669
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_schemaTables(arg1,(char const *)arg2);
|
11827
13670
|
} catch (bzs::rtl::exception& e) {
|
11828
13671
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11829
13672
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -11832,38 +13675,68 @@ _wrap_nstable_getFileName(int argc, VALUE *argv, VALUE self) {
|
|
11832
13675
|
rb_raise(cpp_std_error, e.what());
|
11833
13676
|
}
|
11834
13677
|
}
|
13678
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
13679
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13680
|
+
return vresult;
|
13681
|
+
fail:
|
13682
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
13683
|
+
return Qnil;
|
13684
|
+
}
|
13685
|
+
|
13686
|
+
|
13687
|
+
SWIGINTERN VALUE
|
13688
|
+
_wrap_connMgr_slaveStatus(int argc, VALUE *argv, VALUE self) {
|
13689
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13690
|
+
void *argp1 = 0 ;
|
13691
|
+
int res1 = 0 ;
|
13692
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13693
|
+
VALUE vresult = Qnil;
|
13694
|
+
|
13695
|
+
if ((argc < 0) || (argc > 0)) {
|
13696
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13697
|
+
}
|
13698
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13699
|
+
if (!SWIG_IsOK(res1)) {
|
13700
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","slaveStatus", 1, self ));
|
13701
|
+
}
|
13702
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
11835
13703
|
{
|
11836
|
-
|
13704
|
+
try {
|
13705
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_slaveStatus(arg1);
|
13706
|
+
} catch (bzs::rtl::exception& e) {
|
13707
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13708
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13709
|
+
} catch (std::exception &e) {
|
13710
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13711
|
+
rb_raise(cpp_std_error, e.what());
|
13712
|
+
}
|
11837
13713
|
}
|
11838
|
-
|
13714
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
11839
13715
|
return vresult;
|
11840
13716
|
fail:
|
11841
|
-
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
11842
13717
|
return Qnil;
|
11843
13718
|
}
|
11844
13719
|
|
11845
13720
|
|
11846
13721
|
SWIGINTERN VALUE
|
11847
|
-
|
11848
|
-
bzs::db::protocol::tdap::client::
|
11849
|
-
_TCHAR arg2[1024] = {NULL};
|
13722
|
+
_wrap_connMgr_sysvars(int argc, VALUE *argv, VALUE self) {
|
13723
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
11850
13724
|
void *argp1 = 0 ;
|
11851
13725
|
int res1 = 0 ;
|
11852
|
-
|
13726
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
11853
13727
|
VALUE vresult = Qnil;
|
11854
13728
|
|
11855
|
-
if (argc
|
13729
|
+
if ((argc < 0) || (argc > 0)) {
|
11856
13730
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
11857
13731
|
}
|
11858
|
-
res1 = SWIG_ConvertPtr(self, &argp1,
|
13732
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
11859
13733
|
if (!SWIG_IsOK(res1)) {
|
11860
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::
|
13734
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","sysvars", 1, self ));
|
11861
13735
|
}
|
11862
|
-
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::
|
13736
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
11863
13737
|
{
|
11864
13738
|
try {
|
11865
|
-
|
11866
|
-
result = arg2;
|
13739
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_sysvars(arg1);
|
11867
13740
|
} catch (bzs::rtl::exception& e) {
|
11868
13741
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11869
13742
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -11872,9 +13745,41 @@ _wrap_nstable_statMsg(int argc, VALUE *argv, VALUE self) {
|
|
11872
13745
|
rb_raise(cpp_std_error, e.what());
|
11873
13746
|
}
|
11874
13747
|
}
|
13748
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
13749
|
+
return vresult;
|
13750
|
+
fail:
|
13751
|
+
return Qnil;
|
13752
|
+
}
|
13753
|
+
|
13754
|
+
|
13755
|
+
SWIGINTERN VALUE
|
13756
|
+
_wrap_connMgr_connections(int argc, VALUE *argv, VALUE self) {
|
13757
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13758
|
+
void *argp1 = 0 ;
|
13759
|
+
int res1 = 0 ;
|
13760
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13761
|
+
VALUE vresult = Qnil;
|
13762
|
+
|
13763
|
+
if ((argc < 0) || (argc > 0)) {
|
13764
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13765
|
+
}
|
13766
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13767
|
+
if (!SWIG_IsOK(res1)) {
|
13768
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","connections", 1, self ));
|
13769
|
+
}
|
13770
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
11875
13771
|
{
|
11876
|
-
|
13772
|
+
try {
|
13773
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_connections(arg1);
|
13774
|
+
} catch (bzs::rtl::exception& e) {
|
13775
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13776
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13777
|
+
} catch (std::exception &e) {
|
13778
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13779
|
+
rb_raise(cpp_std_error, e.what());
|
13780
|
+
}
|
11877
13781
|
}
|
13782
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
11878
13783
|
return vresult;
|
11879
13784
|
fail:
|
11880
13785
|
return Qnil;
|
@@ -11882,27 +13787,32 @@ fail:
|
|
11882
13787
|
|
11883
13788
|
|
11884
13789
|
SWIGINTERN VALUE
|
11885
|
-
|
11886
|
-
|
11887
|
-
|
11888
|
-
|
11889
|
-
|
11890
|
-
|
11891
|
-
|
13790
|
+
_wrap_connMgr_inUseDatabases(int argc, VALUE *argv, VALUE self) {
|
13791
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13792
|
+
__int64 arg2 ;
|
13793
|
+
void *argp1 = 0 ;
|
13794
|
+
int res1 = 0 ;
|
13795
|
+
long long val2 ;
|
13796
|
+
int ecode2 = 0 ;
|
13797
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
11892
13798
|
VALUE vresult = Qnil;
|
11893
13799
|
|
11894
13800
|
if ((argc < 1) || (argc > 1)) {
|
11895
13801
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11896
13802
|
}
|
11897
|
-
res1 =
|
13803
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
11898
13804
|
if (!SWIG_IsOK(res1)) {
|
11899
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13805
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","inUseDatabases", 1, self ));
|
11900
13806
|
}
|
11901
|
-
arg1 = reinterpret_cast<
|
11902
|
-
|
13807
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13808
|
+
ecode2 = SWIG_AsVal_long_SS_long(argv[0], &val2);
|
13809
|
+
if (!SWIG_IsOK(ecode2)) {
|
13810
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "__int64","inUseDatabases", 2, argv[0] ));
|
13811
|
+
}
|
13812
|
+
arg2 = static_cast< __int64 >(val2);
|
11903
13813
|
{
|
11904
13814
|
try {
|
11905
|
-
result = (
|
13815
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_inUseDatabases(arg1,arg2);
|
11906
13816
|
} catch (bzs::rtl::exception& e) {
|
11907
13817
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11908
13818
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -11911,37 +13821,99 @@ _wrap_nstable_getDirURI(int argc, VALUE *argv, VALUE self) {
|
|
11911
13821
|
rb_raise(cpp_std_error, e.what());
|
11912
13822
|
}
|
11913
13823
|
}
|
13824
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
13825
|
+
return vresult;
|
13826
|
+
fail:
|
13827
|
+
return Qnil;
|
13828
|
+
}
|
13829
|
+
|
13830
|
+
|
13831
|
+
SWIGINTERN VALUE
|
13832
|
+
_wrap_connMgr_inUseTables(int argc, VALUE *argv, VALUE self) {
|
13833
|
+
bzs::db::protocol::tdap::client::connMgr *arg1 = (bzs::db::protocol::tdap::client::connMgr *) 0 ;
|
13834
|
+
__int64 arg2 ;
|
13835
|
+
int arg3 ;
|
13836
|
+
void *argp1 = 0 ;
|
13837
|
+
int res1 = 0 ;
|
13838
|
+
long long val2 ;
|
13839
|
+
int ecode2 = 0 ;
|
13840
|
+
int val3 ;
|
13841
|
+
int ecode3 = 0 ;
|
13842
|
+
bzs::db::protocol::tdap::client::connMgr::records *result = 0 ;
|
13843
|
+
VALUE vresult = Qnil;
|
13844
|
+
|
13845
|
+
if ((argc < 2) || (argc > 2)) {
|
13846
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
13847
|
+
}
|
13848
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, 0 | 0 );
|
13849
|
+
if (!SWIG_IsOK(res1)) {
|
13850
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::connMgr *","inUseTables", 1, self ));
|
13851
|
+
}
|
13852
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::connMgr * >(argp1);
|
13853
|
+
ecode2 = SWIG_AsVal_long_SS_long(argv[0], &val2);
|
13854
|
+
if (!SWIG_IsOK(ecode2)) {
|
13855
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "__int64","inUseTables", 2, argv[0] ));
|
13856
|
+
}
|
13857
|
+
arg2 = static_cast< __int64 >(val2);
|
13858
|
+
ecode3 = SWIG_AsVal_int(argv[1], &val3);
|
13859
|
+
if (!SWIG_IsOK(ecode3)) {
|
13860
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","inUseTables", 3, argv[1] ));
|
13861
|
+
}
|
13862
|
+
arg3 = static_cast< int >(val3);
|
11914
13863
|
{
|
11915
|
-
|
13864
|
+
try {
|
13865
|
+
result = (bzs::db::protocol::tdap::client::connMgr::records *)bzs_db_protocol_tdap_client_connMgr_inUseTables(arg1,arg2,arg3);
|
13866
|
+
} catch (bzs::rtl::exception& e) {
|
13867
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
13868
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
13869
|
+
} catch (std::exception &e) {
|
13870
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
13871
|
+
rb_raise(cpp_std_error, e.what());
|
13872
|
+
}
|
11916
13873
|
}
|
11917
|
-
|
13874
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__transactd__connection__records, SWIG_POINTER_OWN | 0 );
|
11918
13875
|
return vresult;
|
11919
13876
|
fail:
|
11920
|
-
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
11921
13877
|
return Qnil;
|
11922
13878
|
}
|
11923
13879
|
|
11924
13880
|
|
13881
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
11925
13882
|
SWIGINTERN VALUE
|
11926
|
-
|
11927
|
-
|
11928
|
-
|
11929
|
-
|
11930
|
-
|
11931
|
-
|
11932
|
-
|
13883
|
+
_wrap_connMgr_allocate(VALUE self) {
|
13884
|
+
#else
|
13885
|
+
SWIGINTERN VALUE
|
13886
|
+
_wrap_connMgr_allocate(int argc, VALUE *argv, VALUE self) {
|
13887
|
+
#endif
|
13888
|
+
|
13889
|
+
|
13890
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr);
|
13891
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
13892
|
+
rb_obj_call_init(vresult, argc, argv);
|
13893
|
+
#endif
|
13894
|
+
return vresult;
|
13895
|
+
}
|
13896
|
+
|
13897
|
+
|
13898
|
+
SWIGINTERN VALUE
|
13899
|
+
_wrap_new_connMgr(int argc, VALUE *argv, VALUE self) {
|
13900
|
+
bzs::db::protocol::tdap::client::database *arg1 = (bzs::db::protocol::tdap::client::database *) 0 ;
|
13901
|
+
void *argp1 = 0 ;
|
13902
|
+
int res1 = 0 ;
|
13903
|
+
bzs::db::protocol::tdap::client::connMgr *result = 0 ;
|
11933
13904
|
|
11934
13905
|
if ((argc < 1) || (argc > 1)) {
|
11935
13906
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11936
13907
|
}
|
11937
|
-
res1 =
|
13908
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__database, 0 | 0 );
|
11938
13909
|
if (!SWIG_IsOK(res1)) {
|
11939
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13910
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::database *","connMgr", 1, argv[0] ));
|
11940
13911
|
}
|
11941
|
-
arg1 = reinterpret_cast<
|
13912
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::database * >(argp1);
|
11942
13913
|
{
|
11943
13914
|
try {
|
11944
|
-
result = (
|
13915
|
+
result = (bzs::db::protocol::tdap::client::connMgr *)new_bzs_db_protocol_tdap_client_connMgr(arg1);
|
13916
|
+
DATA_PTR(self) = result;
|
11945
13917
|
} catch (bzs::rtl::exception& e) {
|
11946
13918
|
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
11947
13919
|
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
@@ -11950,15 +13922,20 @@ _wrap_nstable_existsFile(int argc, VALUE *argv, VALUE self) {
|
|
11950
13922
|
rb_raise(cpp_std_error, e.what());
|
11951
13923
|
}
|
11952
13924
|
}
|
11953
|
-
|
11954
|
-
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
11955
|
-
return vresult;
|
13925
|
+
return self;
|
11956
13926
|
fail:
|
11957
|
-
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
11958
13927
|
return Qnil;
|
11959
13928
|
}
|
11960
13929
|
|
11961
13930
|
|
13931
|
+
SWIGINTERN void delete_bzs_db_protocol_tdap_client_connMgr(bzs::db::protocol::tdap::client::connMgr *self){
|
13932
|
+
bzs::db::protocol::tdap::client::releaseConnMgr(self);
|
13933
|
+
}
|
13934
|
+
SWIGINTERN void
|
13935
|
+
free_bzs_db_protocol_tdap_client_connMgr(bzs::db::protocol::tdap::client::connMgr *arg1) {
|
13936
|
+
delete_bzs_db_protocol_tdap_client_connMgr(arg1);
|
13937
|
+
}
|
13938
|
+
|
11962
13939
|
static swig_class SwigClassDbdef;
|
11963
13940
|
|
11964
13941
|
SWIGINTERN VALUE
|
@@ -12882,6 +14859,84 @@ fail:
|
|
12882
14859
|
}
|
12883
14860
|
|
12884
14861
|
|
14862
|
+
SWIGINTERN VALUE
|
14863
|
+
_wrap_dbdef_pushBackup(int argc, VALUE *argv, VALUE self) {
|
14864
|
+
bzs::db::protocol::tdap::client::dbdef *arg1 = (bzs::db::protocol::tdap::client::dbdef *) 0 ;
|
14865
|
+
short arg2 ;
|
14866
|
+
void *argp1 = 0 ;
|
14867
|
+
int res1 = 0 ;
|
14868
|
+
short val2 ;
|
14869
|
+
int ecode2 = 0 ;
|
14870
|
+
|
14871
|
+
if ((argc < 1) || (argc > 1)) {
|
14872
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
14873
|
+
}
|
14874
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__dbdef, 0 | 0 );
|
14875
|
+
if (!SWIG_IsOK(res1)) {
|
14876
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::dbdef *","pushBackup", 1, self ));
|
14877
|
+
}
|
14878
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::dbdef * >(argp1);
|
14879
|
+
ecode2 = SWIG_AsVal_short(argv[0], &val2);
|
14880
|
+
if (!SWIG_IsOK(ecode2)) {
|
14881
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","pushBackup", 2, argv[0] ));
|
14882
|
+
}
|
14883
|
+
arg2 = static_cast< short >(val2);
|
14884
|
+
{
|
14885
|
+
try {
|
14886
|
+
(arg1)->pushBackup(arg2);
|
14887
|
+
} catch (bzs::rtl::exception& e) {
|
14888
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
14889
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
14890
|
+
} catch (std::exception &e) {
|
14891
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
14892
|
+
rb_raise(cpp_std_error, e.what());
|
14893
|
+
}
|
14894
|
+
}
|
14895
|
+
return Qnil;
|
14896
|
+
fail:
|
14897
|
+
return Qnil;
|
14898
|
+
}
|
14899
|
+
|
14900
|
+
|
14901
|
+
SWIGINTERN VALUE
|
14902
|
+
_wrap_dbdef_popBackup(int argc, VALUE *argv, VALUE self) {
|
14903
|
+
bzs::db::protocol::tdap::client::dbdef *arg1 = (bzs::db::protocol::tdap::client::dbdef *) 0 ;
|
14904
|
+
short arg2 ;
|
14905
|
+
void *argp1 = 0 ;
|
14906
|
+
int res1 = 0 ;
|
14907
|
+
short val2 ;
|
14908
|
+
int ecode2 = 0 ;
|
14909
|
+
|
14910
|
+
if ((argc < 1) || (argc > 1)) {
|
14911
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
14912
|
+
}
|
14913
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__dbdef, 0 | 0 );
|
14914
|
+
if (!SWIG_IsOK(res1)) {
|
14915
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::dbdef *","popBackup", 1, self ));
|
14916
|
+
}
|
14917
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::dbdef * >(argp1);
|
14918
|
+
ecode2 = SWIG_AsVal_short(argv[0], &val2);
|
14919
|
+
if (!SWIG_IsOK(ecode2)) {
|
14920
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","popBackup", 2, argv[0] ));
|
14921
|
+
}
|
14922
|
+
arg2 = static_cast< short >(val2);
|
14923
|
+
{
|
14924
|
+
try {
|
14925
|
+
(arg1)->popBackup(arg2);
|
14926
|
+
} catch (bzs::rtl::exception& e) {
|
14927
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
14928
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
14929
|
+
} catch (std::exception &e) {
|
14930
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
14931
|
+
rb_raise(cpp_std_error, e.what());
|
14932
|
+
}
|
14933
|
+
}
|
14934
|
+
return Qnil;
|
14935
|
+
fail:
|
14936
|
+
return Qnil;
|
14937
|
+
}
|
14938
|
+
|
14939
|
+
|
12885
14940
|
SWIGINTERN VALUE
|
12886
14941
|
_wrap_dbdef_synchronizeSeverSchema(int argc, VALUE *argv, VALUE self) {
|
12887
14942
|
bzs::db::protocol::tdap::client::dbdef *arg1 = (bzs::db::protocol::tdap::client::dbdef *) 0 ;
|
@@ -20114,6 +22169,102 @@ fail:
|
|
20114
22169
|
}
|
20115
22170
|
|
20116
22171
|
|
22172
|
+
SWIGINTERN VALUE
|
22173
|
+
_wrap_nsdatabase_isAssociate(int argc, VALUE *argv, VALUE self) {
|
22174
|
+
bzs::db::protocol::tdap::client::nsdatabase *arg1 = (bzs::db::protocol::tdap::client::nsdatabase *) 0 ;
|
22175
|
+
void *argp1 = 0 ;
|
22176
|
+
int res1 = 0 ;
|
22177
|
+
bool result;
|
22178
|
+
VALUE vresult = Qnil;
|
22179
|
+
|
22180
|
+
if ((argc < 0) || (argc > 0)) {
|
22181
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
22182
|
+
}
|
22183
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nsdatabase, 0 | 0 );
|
22184
|
+
if (!SWIG_IsOK(res1)) {
|
22185
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nsdatabase const *","isAssociate", 1, self ));
|
22186
|
+
}
|
22187
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nsdatabase * >(argp1);
|
22188
|
+
{
|
22189
|
+
try {
|
22190
|
+
result = (bool)((bzs::db::protocol::tdap::client::nsdatabase const *)arg1)->isAssociate();
|
22191
|
+
} catch (bzs::rtl::exception& e) {
|
22192
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
22193
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
22194
|
+
} catch (std::exception &e) {
|
22195
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
22196
|
+
rb_raise(cpp_std_error, e.what());
|
22197
|
+
}
|
22198
|
+
}
|
22199
|
+
vresult = SWIG_From_bool(static_cast< bool >(result));
|
22200
|
+
return vresult;
|
22201
|
+
fail:
|
22202
|
+
return Qnil;
|
22203
|
+
}
|
22204
|
+
|
22205
|
+
|
22206
|
+
SWIGINTERN VALUE
|
22207
|
+
_wrap_nsdatabase_getCreateViewSql(int argc, VALUE *argv, VALUE self) {
|
22208
|
+
bzs::db::protocol::tdap::client::nsdatabase *arg1 = (bzs::db::protocol::tdap::client::nsdatabase *) 0 ;
|
22209
|
+
_TCHAR *arg2 = (_TCHAR *) 0 ;
|
22210
|
+
char *arg3 = (char *) 0 ;
|
22211
|
+
uint_td *arg4 = (uint_td *) 0 ;
|
22212
|
+
void *argp1 = 0 ;
|
22213
|
+
int res1 = 0 ;
|
22214
|
+
int res2 ;
|
22215
|
+
char *buf2 = 0 ;
|
22216
|
+
int alloc2 = 0 ;
|
22217
|
+
char *result = 0 ;
|
22218
|
+
VALUE vresult = Qnil;
|
22219
|
+
|
22220
|
+
{
|
22221
|
+
uint_td n = 65000;
|
22222
|
+
uint_td* n_p = &n;
|
22223
|
+
char* p = new char[n];
|
22224
|
+
arg3 = p;
|
22225
|
+
arg4 = n_p;
|
22226
|
+
}
|
22227
|
+
if ((argc < 1) || (argc > 1)) {
|
22228
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
22229
|
+
}
|
22230
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nsdatabase, 0 | 0 );
|
22231
|
+
if (!SWIG_IsOK(res1)) {
|
22232
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nsdatabase *","getCreateViewSql", 1, self ));
|
22233
|
+
}
|
22234
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nsdatabase * >(argp1);
|
22235
|
+
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
22236
|
+
if (!SWIG_IsOK(res2)) {
|
22237
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","getCreateViewSql", 2, argv[0] ));
|
22238
|
+
}
|
22239
|
+
arg2 = reinterpret_cast< _TCHAR * >(buf2);
|
22240
|
+
{
|
22241
|
+
try {
|
22242
|
+
result = (char *)(arg1)->getCreateViewSql((_TCHAR const *)arg2,arg3,arg4);
|
22243
|
+
} catch (bzs::rtl::exception& e) {
|
22244
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
22245
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
22246
|
+
} catch (std::exception &e) {
|
22247
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
22248
|
+
rb_raise(cpp_std_error, e.what());
|
22249
|
+
}
|
22250
|
+
}
|
22251
|
+
{
|
22252
|
+
vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
|
22253
|
+
}
|
22254
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
22255
|
+
{
|
22256
|
+
delete [] arg3;
|
22257
|
+
}
|
22258
|
+
return vresult;
|
22259
|
+
fail:
|
22260
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
22261
|
+
{
|
22262
|
+
delete [] arg3;
|
22263
|
+
}
|
22264
|
+
return Qnil;
|
22265
|
+
}
|
22266
|
+
|
22267
|
+
|
20117
22268
|
SWIGINTERN VALUE
|
20118
22269
|
_wrap_nsdatabase_trnsactionFlushWaitStatus(int argc, VALUE *argv, VALUE self) {
|
20119
22270
|
bool result;
|
@@ -22528,6 +24679,40 @@ fail:
|
|
22528
24679
|
}
|
22529
24680
|
|
22530
24681
|
|
24682
|
+
SWIGINTERN VALUE
|
24683
|
+
_wrap_database_createAssociate(int argc, VALUE *argv, VALUE self) {
|
24684
|
+
bzs::db::protocol::tdap::client::database *arg1 = (bzs::db::protocol::tdap::client::database *) 0 ;
|
24685
|
+
void *argp1 = 0 ;
|
24686
|
+
int res1 = 0 ;
|
24687
|
+
bzs::db::protocol::tdap::client::database *result = 0 ;
|
24688
|
+
VALUE vresult = Qnil;
|
24689
|
+
|
24690
|
+
if ((argc < 0) || (argc > 0)) {
|
24691
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
24692
|
+
}
|
24693
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__database, 0 | 0 );
|
24694
|
+
if (!SWIG_IsOK(res1)) {
|
24695
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::database *","createAssociate", 1, self ));
|
24696
|
+
}
|
24697
|
+
arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::database * >(argp1);
|
24698
|
+
{
|
24699
|
+
try {
|
24700
|
+
result = (bzs::db::protocol::tdap::client::database *)(arg1)->createAssociate();
|
24701
|
+
} catch (bzs::rtl::exception& e) {
|
24702
|
+
static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
|
24703
|
+
rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
|
24704
|
+
} catch (std::exception &e) {
|
24705
|
+
static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
|
24706
|
+
rb_raise(cpp_std_error, e.what());
|
24707
|
+
}
|
24708
|
+
}
|
24709
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__database, SWIG_POINTER_OWN | 0 );
|
24710
|
+
return vresult;
|
24711
|
+
fail:
|
24712
|
+
return Qnil;
|
24713
|
+
}
|
24714
|
+
|
24715
|
+
|
22531
24716
|
SWIGINTERN VALUE
|
22532
24717
|
_wrap_database_setCompatibleMode(int argc, VALUE *argv, VALUE self) {
|
22533
24718
|
int arg1 ;
|
@@ -35130,6 +37315,9 @@ static void *_p_bzs__db__protocol__tdap__client__writableRecordTo_p_bzs__db__pro
|
|
35130
37315
|
static void *_p_bzs__db__protocol__tdap__client__fieldsTo_p_bzs__db__protocol__tdap__client__refarymem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
35131
37316
|
return (void *)((bzs::db::protocol::tdap::client::refarymem *) (bzs::db::protocol::tdap::client::fieldsBase *) ((bzs::db::protocol::tdap::client::fields *) x));
|
35132
37317
|
}
|
37318
|
+
static void *_p_bzs__db__protocol__tdap__client__connMgrTo_p_bzs__db__protocol__tdap__client__nstable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
37319
|
+
return (void *)((bzs::db::protocol::tdap::client::nstable *) ((bzs::db::protocol::tdap::client::connMgr *) x));
|
37320
|
+
}
|
35133
37321
|
static void *_p_bzs__db__protocol__tdap__client__dbdefTo_p_bzs__db__protocol__tdap__client__nstable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
|
35134
37322
|
return (void *)((bzs::db::protocol::tdap::client::nstable *) ((bzs::db::protocol::tdap::client::dbdef *) x));
|
35135
37323
|
}
|
@@ -35184,6 +37372,7 @@ static swig_type_info _swigt__p_bzs__db__protocol__tdap__btrVersions = {"_p_bzs_
|
|
35184
37372
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__activeTable = {"_p_bzs__db__protocol__tdap__client__activeTable", "bzs::db::protocol::tdap::client::activeTable *", 0, 0, (void*)0, 0};
|
35185
37373
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__avg = {"_p_bzs__db__protocol__tdap__client__avg", "bzs::db::protocol::tdap::client::avg *", 0, 0, (void*)0, 0};
|
35186
37374
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__binlogPos = {"_p_bzs__db__protocol__tdap__client__binlogPos", "bzs::db::protocol::tdap::client::binlogPos *", 0, 0, (void*)0, 0};
|
37375
|
+
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__connMgr = {"_p_bzs__db__protocol__tdap__client__connMgr", "bzs::db::protocol::tdap::client::connMgr *", 0, 0, (void*)0, 0};
|
35187
37376
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__bitset = {"_p_bzs__db__protocol__tdap__bitset", "bzs::db::protocol::tdap::bitset *", 0, 0, (void*)0, 0};
|
35188
37377
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__connectParams = {"_p_bzs__db__protocol__tdap__client__connectParams", "bzs::db::protocol::tdap::client::connectParams *", 0, 0, (void*)0, 0};
|
35189
37378
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__count = {"_p_bzs__db__protocol__tdap__client__count", "bzs::db::protocol::tdap::client::count *", 0, 0, (void*)0, 0};
|
@@ -35240,6 +37429,8 @@ static swig_type_info _swigt__p_bzs__db__protocol__tdap__fielddef_tT_64_t = {"_p
|
|
35240
37429
|
static swig_type_info _swigt__p_bzs__db__protocol__tdap__keySegment = {"_p_bzs__db__protocol__tdap__keySegment", "bzs::db::protocol::tdap::keySegment *", 0, 0, (void*)0, 0};
|
35241
37430
|
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};
|
35242
37431
|
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
|
+
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 _swigt__p_bzs__db__transactd__connection__records = {"_p_bzs__db__transactd__connection__records", "bzs::db::protocol::tdap::client::connMgr::records *|bzs::db::transactd::connection::records *", 0, 0, (void*)0, 0};
|
35243
37434
|
static swig_type_info _swigt__p_bzs__rtl__benchmark = {"_p_bzs__rtl__benchmark", "bzs::rtl::benchmark *", 0, 0, (void*)0, 0};
|
35244
37435
|
static swig_type_info _swigt__p_char = {"_p_char", "_TCHAR *|char *|char_td *", 0, 0, (void*)0, 0};
|
35245
37436
|
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};
|
@@ -35280,6 +37471,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
35280
37471
|
&_swigt__p_bzs__db__protocol__tdap__client__autoMemory,
|
35281
37472
|
&_swigt__p_bzs__db__protocol__tdap__client__avg,
|
35282
37473
|
&_swigt__p_bzs__db__protocol__tdap__client__binlogPos,
|
37474
|
+
&_swigt__p_bzs__db__protocol__tdap__client__connMgr,
|
35283
37475
|
&_swigt__p_bzs__db__protocol__tdap__bitset,
|
35284
37476
|
&_swigt__p_bzs__db__protocol__tdap__client__connectParams,
|
35285
37477
|
&_swigt__p_bzs__db__protocol__tdap__client__count,
|
@@ -35333,6 +37525,8 @@ static swig_type_info *swig_type_initial[] = {
|
|
35333
37525
|
&_swigt__p_bzs__db__protocol__tdap__keySegment,
|
35334
37526
|
&_swigt__p_bzs__db__protocol__tdap__keydef,
|
35335
37527
|
&_swigt__p_bzs__db__protocol__tdap__tabledef,
|
37528
|
+
&_swigt__p_bzs__db__transactd__connection__record,
|
37529
|
+
&_swigt__p_bzs__db__transactd__connection__records,
|
35336
37530
|
&_swigt__p_bzs__rtl__benchmark,
|
35337
37531
|
&_swigt__p_char,
|
35338
37532
|
&_swigt__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short,
|
@@ -35373,6 +37567,7 @@ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__btrVersions[] = { {&_s
|
|
35373
37567
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__activeTable[] = { {&_swigt__p_bzs__db__protocol__tdap__client__activeTable, 0, 0, 0},{0, 0, 0, 0}};
|
35374
37568
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__avg[] = { {&_swigt__p_bzs__db__protocol__tdap__client__avg, 0, 0, 0},{0, 0, 0, 0}};
|
35375
37569
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__binlogPos[] = { {&_swigt__p_bzs__db__protocol__tdap__client__binlogPos, 0, 0, 0},{0, 0, 0, 0}};
|
37570
|
+
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__connMgr[] = { {&_swigt__p_bzs__db__protocol__tdap__client__connMgr, 0, 0, 0},{0, 0, 0, 0}};
|
35376
37571
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__bitset[] = { {&_swigt__p_bzs__db__protocol__tdap__bitset, 0, 0, 0},{0, 0, 0, 0}};
|
35377
37572
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__connectParams[] = { {&_swigt__p_bzs__db__protocol__tdap__client__connectParams, 0, 0, 0},{0, 0, 0, 0}};
|
35378
37573
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__count[] = { {&_swigt__p_bzs__db__protocol__tdap__client__count, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -35399,7 +37594,7 @@ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__max[] = { {&_s
|
|
35399
37594
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__memoryRecord[] = { {&_swigt__p_bzs__db__protocol__tdap__client__memoryRecord, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__writableRecord, _p_bzs__db__protocol__tdap__client__writableRecordTo_p_bzs__db__protocol__tdap__client__memoryRecord, 0, 0},{0, 0, 0, 0}};
|
35400
37595
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__min[] = { {&_swigt__p_bzs__db__protocol__tdap__client__min, 0, 0, 0},{0, 0, 0, 0}};
|
35401
37596
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__nsdatabase[] = { {&_swigt__p_bzs__db__protocol__tdap__client__nsdatabase, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__database, _p_bzs__db__protocol__tdap__client__databaseTo_p_bzs__db__protocol__tdap__client__nsdatabase, 0, 0},{0, 0, 0, 0}};
|
35402
|
-
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__nstable[] = { {&_swigt__p_bzs__db__protocol__tdap__client__table, _p_bzs__db__protocol__tdap__client__tableTo_p_bzs__db__protocol__tdap__client__nstable, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__dbdef, _p_bzs__db__protocol__tdap__client__dbdefTo_p_bzs__db__protocol__tdap__client__nstable, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__nstable, 0, 0, 0},{0, 0, 0, 0}};
|
37597
|
+
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__nstable[] = { {&_swigt__p_bzs__db__protocol__tdap__client__connMgr, _p_bzs__db__protocol__tdap__client__connMgrTo_p_bzs__db__protocol__tdap__client__nstable, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__table, _p_bzs__db__protocol__tdap__client__tableTo_p_bzs__db__protocol__tdap__client__nstable, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__dbdef, _p_bzs__db__protocol__tdap__client__dbdefTo_p_bzs__db__protocol__tdap__client__nstable, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__nstable, 0, 0, 0},{0, 0, 0, 0}};
|
35403
37598
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__pooledDbManager[] = { {&_swigt__p_bzs__db__protocol__tdap__client__pooledDbManager, 0, 0, 0},{0, 0, 0, 0}};
|
35404
37599
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__preparedQuery[] = { {&_swigt__p_bzs__db__protocol__tdap__client__preparedQuery, 0, 0, 0},{0, 0, 0, 0}};
|
35405
37600
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__query[] = { {&_swigt__p_bzs__db__protocol__tdap__client__recordsetQuery, _p_bzs__db__protocol__tdap__client__recordsetQueryTo_p_bzs__db__protocol__tdap__client__query, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__sum, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__query, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -35429,6 +37624,8 @@ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__fielddef_tT_64_t[] = {
|
|
35429
37624
|
static swig_cast_info _swigc__p_bzs__db__protocol__tdap__keySegment[] = { {&_swigt__p_bzs__db__protocol__tdap__keySegment, 0, 0, 0},{0, 0, 0, 0}};
|
35430
37625
|
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}};
|
35431
37626
|
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
|
+
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 _swigc__p_bzs__db__transactd__connection__records[] = { {&_swigt__p_bzs__db__transactd__connection__records, 0, 0, 0},{0, 0, 0, 0}};
|
35432
37629
|
static swig_cast_info _swigc__p_bzs__rtl__benchmark[] = { {&_swigt__p_bzs__rtl__benchmark, 0, 0, 0},{0, 0, 0, 0}};
|
35433
37630
|
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
|
35434
37631
|
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}};
|
@@ -35471,6 +37668,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
35471
37668
|
_swigc__p_bzs__db__protocol__tdap__client__autoMemory,
|
35472
37669
|
_swigc__p_bzs__db__protocol__tdap__client__avg,
|
35473
37670
|
_swigc__p_bzs__db__protocol__tdap__client__binlogPos,
|
37671
|
+
_swigc__p_bzs__db__protocol__tdap__client__connMgr,
|
35474
37672
|
_swigc__p_bzs__db__protocol__tdap__bitset,
|
35475
37673
|
_swigc__p_bzs__db__protocol__tdap__client__connectParams,
|
35476
37674
|
_swigc__p_bzs__db__protocol__tdap__client__count,
|
@@ -35524,6 +37722,8 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
35524
37722
|
_swigc__p_bzs__db__protocol__tdap__keySegment,
|
35525
37723
|
_swigc__p_bzs__db__protocol__tdap__keydef,
|
35526
37724
|
_swigc__p_bzs__db__protocol__tdap__tabledef,
|
37725
|
+
_swigc__p_bzs__db__transactd__connection__record,
|
37726
|
+
_swigc__p_bzs__db__transactd__connection__records,
|
35527
37727
|
_swigc__p_bzs__rtl__benchmark,
|
35528
37728
|
_swigc__p_char,
|
35529
37729
|
_swigc__p_f_unsigned_short_p_void_p_void_p_unsigned_int_p_void_unsigned_short_char_p_unsigned_char__short,
|
@@ -36016,6 +38216,7 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36016
38216
|
rb_define_const(mTransactd, "ERROR_INDEX_RND_INIT", SWIG_From_int(static_cast< int >(ERROR_INDEX_RND_INIT)));
|
36017
38217
|
rb_define_const(mTransactd, "STATUS_ALREADY_INSNAPSHOT", SWIG_From_int(static_cast< int >(STATUS_ALREADY_INSNAPSHOT)));
|
36018
38218
|
rb_define_const(mTransactd, "STATUS_ALREADY_INTRANSACTION", SWIG_From_int(static_cast< int >(STATUS_ALREADY_INTRANSACTION)));
|
38219
|
+
rb_define_const(mTransactd, "STATUS_ALREADY_INEXCLUSIVE", SWIG_From_int(static_cast< int >(STATUS_ALREADY_INEXCLUSIVE)));
|
36019
38220
|
rb_define_const(mTransactd, "SERVER_CLIENT_NOT_COMPATIBLE", SWIG_From_int(static_cast< int >(SERVER_CLIENT_NOT_COMPATIBLE)));
|
36020
38221
|
rb_define_const(mTransactd, "NET_BAD_SRB_FORMAT", SWIG_From_int(static_cast< int >(NET_BAD_SRB_FORMAT)));
|
36021
38222
|
rb_define_const(mTransactd, "ERROR_TD_HOSTNAME_NOT_FOUND", SWIG_From_int(static_cast< int >(ERROR_TD_HOSTNAME_NOT_FOUND)));
|
@@ -36030,6 +38231,7 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36030
38231
|
rb_define_const(mTransactd, "TRANSACTD_SCHEMANAME", SWIG_FromCharPtr(TRANSACTD_SCHEMANAME));
|
36031
38232
|
rb_define_const(mTransactd, "TYPE_SCHEMA_BDF", SWIG_From_int(static_cast< int >(TYPE_SCHEMA_BDF)));
|
36032
38233
|
rb_define_const(mTransactd, "TYPE_SCHEMA_DDF", SWIG_From_int(static_cast< int >(TYPE_SCHEMA_DDF)));
|
38234
|
+
rb_define_const(mTransactd, "TYPE_SCHEMA_BDF_NOPRELOAD", SWIG_From_int(static_cast< int >(2)));
|
36033
38235
|
rb_define_const(mTransactd, "FILTER_CURRENT_TYPE_NOTINC", SWIG_From_int(static_cast< int >(FILTER_CURRENT_TYPE_NOTINC)));
|
36034
38236
|
rb_define_const(mTransactd, "FILTER_CURRENT_TYPE_INC", SWIG_From_int(static_cast< int >(FILTER_CURRENT_TYPE_INC)));
|
36035
38237
|
rb_define_const(mTransactd, "FILTER_CURRENT_TYPE_NOBOOKMARK", SWIG_From_int(static_cast< int >(FILTER_CURRENT_TYPE_NOBOOKMARK)));
|
@@ -36329,6 +38531,7 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36329
38531
|
rb_define_method(SwigClassNstable.klass, "clearOwnerName", VALUEFUNC(_wrap_nstable_clearOwnerName), -1);
|
36330
38532
|
rb_define_method(SwigClassNstable.klass, "recordLength", VALUEFUNC(_wrap_nstable_recordLength), -1);
|
36331
38533
|
rb_define_method(SwigClassNstable.klass, "stats", VALUEFUNC(_wrap_nstable_stats), -1);
|
38534
|
+
rb_define_method(SwigClassNstable.klass, "getCreateSql", VALUEFUNC(_wrap_nstable_getCreateSql), -1);
|
36332
38535
|
rb_define_method(SwigClassNstable.klass, "unlock", VALUEFUNC(_wrap_nstable_unlock), -1);
|
36333
38536
|
rb_define_method(SwigClassNstable.klass, "mode", VALUEFUNC(_wrap_nstable_mode), -1);
|
36334
38537
|
rb_define_method(SwigClassNstable.klass, "statMsg", VALUEFUNC(_wrap_nstable_statMsg), -1);
|
@@ -36338,6 +38541,85 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36338
38541
|
rb_define_singleton_method(SwigClassNstable.klass, "existsFile", VALUEFUNC(_wrap_nstable_existsFile), -1);
|
36339
38542
|
SwigClassNstable.mark = 0;
|
36340
38543
|
SwigClassNstable.trackObjects = 0;
|
38544
|
+
|
38545
|
+
SwigClassConnRecord.klass = rb_define_class_under(mTransactd, "ConnRecord", rb_cObject);
|
38546
|
+
SWIG_TypeClientData(SWIGTYPE_p_bzs__db__transactd__connection__record, (void *) &SwigClassConnRecord);
|
38547
|
+
rb_define_alloc_func(SwigClassConnRecord.klass, _wrap_connRecord_allocate);
|
38548
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
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
|
+
rb_define_method(SwigClassConnRecord.klass, "openReadOnlyEx", VALUEFUNC(_wrap_connRecord_openReadOnlyEx_get), -1);
|
38583
|
+
SwigClassConnRecord.mark = 0;
|
38584
|
+
SwigClassConnRecord.destroy = (void (*)(void *)) free_bzs_db_transactd_connection_record;
|
38585
|
+
SwigClassConnRecord.trackObjects = 0;
|
38586
|
+
|
38587
|
+
SwigClassConnRecords.klass = rb_define_class_under(mTransactd, "ConnRecords", rb_cObject);
|
38588
|
+
SWIG_TypeClientData(SWIGTYPE_p_bzs__db__transactd__connection__records, (void *) &SwigClassConnRecords);
|
38589
|
+
rb_define_alloc_func(SwigClassConnRecords.klass, _wrap_connRecords_allocate);
|
38590
|
+
rb_define_method(SwigClassConnRecords.klass, "initialize", VALUEFUNC(_wrap_new_connRecords), -1);
|
38591
|
+
rb_define_method(SwigClassConnRecords.klass, "[]", VALUEFUNC(_wrap_connRecords___getitem__), -1);
|
38592
|
+
rb_define_method(SwigClassConnRecords.klass, "size", VALUEFUNC(_wrap_connRecords_size), -1);
|
38593
|
+
SwigClassConnRecords.mark = 0;
|
38594
|
+
SwigClassConnRecords.destroy = (void (*)(void *)) free_bzs_db_transactd_connection_records;
|
38595
|
+
SwigClassConnRecords.trackObjects = 0;
|
38596
|
+
|
38597
|
+
SwigClassConnMgr.klass = rb_define_class_under(mTransactd, "ConnMgr", rb_cObject);
|
38598
|
+
SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__connMgr, (void *) &SwigClassConnMgr);
|
38599
|
+
rb_define_alloc_func(SwigClassConnMgr.klass, _wrap_connMgr_allocate);
|
38600
|
+
rb_define_method(SwigClassConnMgr.klass, "initialize", VALUEFUNC(_wrap_new_connMgr), -1);
|
38601
|
+
rb_define_method(SwigClassConnMgr.klass, "connect", VALUEFUNC(_wrap_connMgr_connect), -1);
|
38602
|
+
rb_define_method(SwigClassConnMgr.klass, "disconnect", VALUEFUNC(_wrap_connMgr_disconnect), -1);
|
38603
|
+
rb_define_method(SwigClassConnMgr.klass, "postDisconnectOne", VALUEFUNC(_wrap_connMgr_postDisconnectOne), -1);
|
38604
|
+
rb_define_method(SwigClassConnMgr.klass, "postDisconnectAll", VALUEFUNC(_wrap_connMgr_postDisconnectAll), -1);
|
38605
|
+
rb_define_method(SwigClassConnMgr.klass, "stat", VALUEFUNC(_wrap_connMgr_stat), -1);
|
38606
|
+
rb_define_method(SwigClassConnMgr.klass, "db", VALUEFUNC(_wrap_connMgr_db), -1);
|
38607
|
+
rb_define_singleton_method(SwigClassConnMgr.klass, "removeSystemDb", VALUEFUNC(_wrap_connMgr_removeSystemDb), -1);
|
38608
|
+
rb_define_singleton_method(SwigClassConnMgr.klass, "sysvarName", VALUEFUNC(_wrap_connMgr_sysvarName), -1);
|
38609
|
+
rb_define_singleton_method(SwigClassConnMgr.klass, "slaveStatusName", VALUEFUNC(_wrap_connMgr_slaveStatusName), -1);
|
38610
|
+
rb_define_singleton_method(SwigClassConnMgr.klass, "create", VALUEFUNC(_wrap_connMgr_create), -1);
|
38611
|
+
rb_define_method(SwigClassConnMgr.klass, "databases", VALUEFUNC(_wrap_connMgr_databases), -1);
|
38612
|
+
rb_define_method(SwigClassConnMgr.klass, "tables", VALUEFUNC(_wrap_connMgr_tables), -1);
|
38613
|
+
rb_define_method(SwigClassConnMgr.klass, "views", VALUEFUNC(_wrap_connMgr_views), -1);
|
38614
|
+
rb_define_method(SwigClassConnMgr.klass, "schemaTables", VALUEFUNC(_wrap_connMgr_schemaTables), -1);
|
38615
|
+
rb_define_method(SwigClassConnMgr.klass, "slaveStatus", VALUEFUNC(_wrap_connMgr_slaveStatus), -1);
|
38616
|
+
rb_define_method(SwigClassConnMgr.klass, "sysvars", VALUEFUNC(_wrap_connMgr_sysvars), -1);
|
38617
|
+
rb_define_method(SwigClassConnMgr.klass, "connections", VALUEFUNC(_wrap_connMgr_connections), -1);
|
38618
|
+
rb_define_method(SwigClassConnMgr.klass, "inUseDatabases", VALUEFUNC(_wrap_connMgr_inUseDatabases), -1);
|
38619
|
+
rb_define_method(SwigClassConnMgr.klass, "inUseTables", VALUEFUNC(_wrap_connMgr_inUseTables), -1);
|
38620
|
+
SwigClassConnMgr.mark = 0;
|
38621
|
+
SwigClassConnMgr.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_connMgr;
|
38622
|
+
SwigClassConnMgr.trackObjects = 0;
|
36341
38623
|
rb_define_const(mTransactd, "TABLE_NUM_TMP", SWIG_From_int(static_cast< int >(TABLE_NUM_TMP)));
|
36342
38624
|
rb_define_const(mTransactd, "EMinlen", SWIG_From_int(static_cast< int >(bzs::db::protocol::tdap::client::eMinlen)));
|
36343
38625
|
rb_define_const(mTransactd, "EMaxlen", SWIG_From_int(static_cast< int >(bzs::db::protocol::tdap::client::eMaxlen)));
|
@@ -36366,6 +38648,8 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36366
38648
|
rb_define_method(SwigClassDbdef.klass, "findKeynumByFieldNum", VALUEFUNC(_wrap_dbdef_findKeynumByFieldNum), -1);
|
36367
38649
|
rb_define_method(SwigClassDbdef.klass, "fieldNumByName", VALUEFUNC(_wrap_dbdef_fieldNumByName), -1);
|
36368
38650
|
rb_define_method(SwigClassDbdef.klass, "fieldValidLength", VALUEFUNC(_wrap_dbdef_fieldValidLength), -1);
|
38651
|
+
rb_define_method(SwigClassDbdef.klass, "pushBackup", VALUEFUNC(_wrap_dbdef_pushBackup), -1);
|
38652
|
+
rb_define_method(SwigClassDbdef.klass, "popBackup", VALUEFUNC(_wrap_dbdef_popBackup), -1);
|
36369
38653
|
rb_define_method(SwigClassDbdef.klass, "synchronizeSeverSchema", VALUEFUNC(_wrap_dbdef_synchronizeSeverSchema), -1);
|
36370
38654
|
rb_define_method(SwigClassDbdef.klass, "statMsg", VALUEFUNC(_wrap_dbdef_statMsg), -1);
|
36371
38655
|
rb_define_method(SwigClassDbdef.klass, "reopen", VALUEFUNC(_wrap_dbdef_reopen), -1);
|
@@ -36543,6 +38827,8 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36543
38827
|
rb_define_method(SwigClassNsdatabase.klass, "disconnect", VALUEFUNC(_wrap_nsdatabase_disconnect), -1);
|
36544
38828
|
rb_define_method(SwigClassNsdatabase.klass, "disconnectForReconnectTest", VALUEFUNC(_wrap_nsdatabase_disconnectForReconnectTest), -1);
|
36545
38829
|
rb_define_method(SwigClassNsdatabase.klass, "reconnect", VALUEFUNC(_wrap_nsdatabase_reconnect), -1);
|
38830
|
+
rb_define_method(SwigClassNsdatabase.klass, "isAssociate", VALUEFUNC(_wrap_nsdatabase_isAssociate), -1);
|
38831
|
+
rb_define_method(SwigClassNsdatabase.klass, "getCreateViewSql", VALUEFUNC(_wrap_nsdatabase_getCreateViewSql), -1);
|
36546
38832
|
rb_define_singleton_method(SwigClassNsdatabase.klass, "trnsactionFlushWaitStatus", VALUEFUNC(_wrap_nsdatabase_trnsactionFlushWaitStatus), -1);
|
36547
38833
|
rb_define_singleton_method(SwigClassNsdatabase.klass, "setExecCodePage", VALUEFUNC(_wrap_nsdatabase_setExecCodePage), -1);
|
36548
38834
|
rb_define_singleton_method(SwigClassNsdatabase.klass, "execCodePage", VALUEFUNC(_wrap_nsdatabase_execCodePage), -1);
|
@@ -36580,6 +38866,7 @@ SWIGEXPORT void Init_transactd(void) {
|
|
36580
38866
|
rb_define_method(SwigClassDatabase.klass, "mode", VALUEFUNC(_wrap_database_mode), -1);
|
36581
38867
|
rb_define_method(SwigClassDatabase.klass, "autoSchemaUseNullkey", VALUEFUNC(_wrap_database_autoSchemaUseNullkey), -1);
|
36582
38868
|
rb_define_method(SwigClassDatabase.klass, "setAutoSchemaUseNullkey", VALUEFUNC(_wrap_database_setAutoSchemaUseNullkey), -1);
|
38869
|
+
rb_define_method(SwigClassDatabase.klass, "createAssociate", VALUEFUNC(_wrap_database_createAssociate), -1);
|
36583
38870
|
rb_define_singleton_method(SwigClassDatabase.klass, "setCompatibleMode", VALUEFUNC(_wrap_database_setCompatibleMode), -1);
|
36584
38871
|
rb_define_singleton_method(SwigClassDatabase.klass, "compatibleMode", VALUEFUNC(_wrap_database_compatibleMode), -1);
|
36585
38872
|
rb_define_const(SwigClassDatabase.klass, "CMP_MODE_MYSQL_NULL", SWIG_From_int(static_cast< int >(bzs::db::protocol::tdap::client::database::CMP_MODE_MYSQL_NULL)));
|