transactd 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/bin/common/tdclc_32_3_1.dll +0 -0
  3. data/bin/common/tdclc_64_3_1.dll +0 -0
  4. data/build/common/transactd.rc.in +1 -1
  5. data/build/swig/ruby/tdclrb_wrap.cpp +219 -15
  6. data/build/swig/tdcl.i +26 -0
  7. data/build/tdclc/tdclc.cbproj +1 -1
  8. data/build/tdclc/tdclc.rc +5 -5
  9. data/build/tdclcpp/tdclcpp.rc +5 -5
  10. data/build/tdclcpp/tdclcpp_bc.cbproj +1 -1
  11. data/build/tdclrb/tdclrb.rc +5 -5
  12. data/source/bzs/db/engine/mysql/database.cpp +131 -29
  13. data/source/bzs/db/engine/mysql/database.h +8 -6
  14. data/source/bzs/db/engine/mysql/dbManager.cpp +30 -12
  15. data/source/bzs/db/engine/mysql/dbManager.h +1 -1
  16. data/source/bzs/db/engine/mysql/mysqlInternal.h +251 -24
  17. data/source/bzs/db/engine/mysql/mysqlThd.cpp +2 -3
  18. data/source/bzs/db/protocol/tdap/client/bulkInsert.h +2 -2
  19. data/source/bzs/db/protocol/tdap/client/client.h +4 -3
  20. data/source/bzs/db/protocol/tdap/client/connMgr.h +1 -1
  21. data/source/bzs/db/protocol/tdap/client/database.cpp +195 -91
  22. data/source/bzs/db/protocol/tdap/client/database.h +6 -6
  23. data/source/bzs/db/protocol/tdap/client/databaseManager.h +9 -3
  24. data/source/bzs/db/protocol/tdap/client/dbDef.cpp +31 -25
  25. data/source/bzs/db/protocol/tdap/client/dllmain.cpp +4 -2
  26. data/source/bzs/db/protocol/tdap/client/field.cpp +6 -16
  27. data/source/bzs/db/protocol/tdap/client/filter.h +28 -9
  28. data/source/bzs/db/protocol/tdap/client/nsDatabase.cpp +14 -4
  29. data/source/bzs/db/protocol/tdap/client/nsDatabase.h +20 -2
  30. data/source/bzs/db/protocol/tdap/client/pooledDatabaseManager.h +5 -2
  31. data/source/bzs/db/protocol/tdap/client/recordsetImple.h +2 -1
  32. data/source/bzs/db/protocol/tdap/client/sqlBuilder.cpp +19 -16
  33. data/source/bzs/db/protocol/tdap/client/table.cpp +2 -1
  34. data/source/bzs/db/protocol/tdap/client/table.h +1 -1
  35. data/source/bzs/db/protocol/tdap/client/trdboostapi.h +13 -9
  36. data/source/bzs/db/protocol/tdap/mysql/tdapCommandExecuter.cpp +68 -21
  37. data/source/bzs/db/protocol/tdap/tdapSchema.cpp +3 -7
  38. data/source/bzs/db/protocol/tdap/tdapSchema.h +9 -1
  39. data/source/bzs/db/protocol/tdap/tdapcapi.h +11 -3
  40. data/source/bzs/db/protocol/tdap/uri.h +3 -1
  41. data/source/bzs/env/crosscompile.h +17 -3
  42. data/source/bzs/test/tdclatl/test_v3.js +60 -2
  43. data/source/bzs/test/tdclphp/transactd_Test.php +8 -0
  44. data/source/bzs/test/tdclphp/transactd_blob_Test.php +11 -3
  45. data/source/bzs/test/tdclphp/transactd_v3_Test.php +32 -8
  46. data/source/bzs/test/tdclrb/bench_tdclcpp.rb +7 -7
  47. data/source/bzs/test/tdclrb/transactd_spec.rb +22 -1
  48. data/source/bzs/test/tdclrb/transactd_v3_spec.rb +29 -3
  49. data/source/bzs/test/trdclengn/testField.h +34 -0
  50. data/source/bzs/test/trdclengn/test_tdclcpp_v3.cpp +7 -0
  51. data/source/bzs/test/trdclengn/test_trdclengn.cpp +7 -8
  52. data/source/global/tdclatl/Database.cpp +34 -10
  53. data/source/global/tdclatl/Database.h +5 -5
  54. data/source/global/tdclatl/PooledDbManager.cpp +20 -3
  55. data/source/global/tdclatl/PooledDbManager.h +2 -2
  56. data/source/global/tdclatl/_IDatabaseEvents_CP.h +5 -4
  57. data/source/global/tdclatl/tdclatl.idl +157 -119
  58. metadata +4 -4
  59. data/bin/common/tdclc_32_3_0.dll +0 -0
  60. data/bin/common/tdclc_64_3_0.dll +0 -0
@@ -1044,7 +1044,14 @@ BOOST_AUTO_TEST_CASE(field_comp)
1044
1044
  testCompBlob();
1045
1045
  testCompDecimal();
1046
1046
  }
1047
+ BOOST_AUTO_TEST_SUITE_END()
1047
1048
 
1049
+ BOOST_AUTO_TEST_SUITE(snapshot)
1050
+ BOOST_AUTO_TEST_CASE(snapshot_binlog)
1051
+ {
1052
+ testSnapshotWithbinlog();
1053
+ }
1048
1054
  BOOST_AUTO_TEST_SUITE_END()
1049
1055
 
1056
+
1050
1057
  // ------------------------------------------------------------------------
@@ -42,9 +42,9 @@ public:
42
42
  if (m_db)
43
43
  {
44
44
  // Test for SWIG interface
45
- m_db->release();
45
+ //m_db->release();
46
46
  // Test for c++
47
- // database::destroy(m_db);
47
+ database::destroy(m_db);
48
48
  }
49
49
  }
50
50
 
@@ -68,8 +68,9 @@ public:
68
68
 
69
69
  ~fixtureKanji()
70
70
  {
71
- if (m_db)
72
- m_db->release();
71
+ //if (m_db)
72
+ // m_db->release();
73
+ database::destroy(m_db);
73
74
  }
74
75
  ::database* db() const { return m_db; }
75
76
  };
@@ -541,8 +542,8 @@ void testFindIn(database* db)
541
542
  i = 0;
542
543
  while (0 == tb->stat())
543
544
  {
544
-
545
- BOOST_CHECK_MESSAGE(++i == tb->getFVint(fdi_id), "findNext in value");
545
+ int v = tb->getFVint(fdi_id);
546
+ BOOST_CHECK_MESSAGE(++i == v, "findNext in value " << i << ": bad = " << v);
546
547
  tb->findNext(true);
547
548
  }
548
549
  BOOST_CHECK_MESSAGE(i == 10000, "findNext in count");
@@ -1847,8 +1848,6 @@ void testExclusive()
1847
1848
  BOOST_CHECK_MESSAGE(STATUS_CANNOT_LOCK_TABLE == db2->stat(),
1848
1849
  "open db2->stat = " << db2->stat());
1849
1850
  dbdef* def = db->dbDef();
1850
- tabledef* td = def->tableDefs(1);
1851
- td->iconIndex = 3;
1852
1851
  def->updateTableDef(1);
1853
1852
  BOOST_CHECK_MESSAGE(0 == def->stat(), "updateTableDef");
1854
1853
  tb->release();
@@ -1,5 +1,5 @@
1
1
  /*=================================================================
2
- Copyright (C) 2013 BizStation Corp All rights reserved.
2
+ Copyright (C) 2013-2016 BizStation Corp All rights reserved.
3
3
 
4
4
  This program is free software; you can redistribute it and/or
5
5
  modify it under the terms of the GNU General Public License
@@ -21,6 +21,7 @@
21
21
  #include "DbDef.h"
22
22
  #include "Table.h"
23
23
  #include "TdVersion.h"
24
+ #include "BinlogPos.h"
24
25
 
25
26
  using namespace bzs::db::protocol::tdap::client;
26
27
  STDMETHODIMP CDatabase::InterfaceSupportsErrorInfo(REFIID riid)
@@ -178,9 +179,25 @@ STDMETHODIMP CDatabase::get_NativeDatabase(__int64** Value)
178
179
  return S_OK;
179
180
  }
180
181
 
181
- STDMETHODIMP CDatabase::BeginSnapshot(eStLockType bias)
182
+ STDMETHODIMP CDatabase::BeginSnapshot(eStLockType bias, IBinlogPos** bpos)
182
183
  {
183
- m_db->beginSnapshot(bias);
184
+ binlogPos pos;
185
+ m_db->beginSnapshot(bias, &pos);
186
+ *bpos = NULL;
187
+ if (bias == CONSISTENT_READ_WITH_BINLOG_POS)
188
+ {
189
+ CComObject<CBinlogPos>* bposObj;
190
+ CComObject<CBinlogPos>::CreateInstance(&bposObj);
191
+ if (bposObj)
192
+ {
193
+ bposObj->m_pos = pos;
194
+
195
+ IBinlogPos* ipos;
196
+ bposObj->QueryInterface(IID_IBinlogPos, (void**)&ipos);
197
+ _ASSERTE(ipos);
198
+ *bpos = ipos;
199
+ }
200
+ }
184
201
  return S_OK;
185
202
  }
186
203
 
@@ -190,9 +207,9 @@ STDMETHODIMP CDatabase::EndSnapshot()
190
207
  return S_OK;
191
208
  }
192
209
 
193
- STDMETHODIMP CDatabase::Drop()
210
+ STDMETHODIMP CDatabase::Drop(BSTR Uri)
194
211
  {
195
- m_db->drop();
212
+ m_db->drop(Uri);
196
213
  return S_OK;
197
214
  }
198
215
 
@@ -217,7 +234,6 @@ STDMETHODIMP CDatabase::Close(VARIANT_BOOL withDropDefaultSchema)
217
234
 
218
235
  STDMETHODIMP CDatabase::Connect(BSTR URI, VARIANT_BOOL newConnection,
219
236
  VARIANT_BOOL* Value)
220
-
221
237
  {
222
238
  *Value = m_db->connect(URI, newConnection);
223
239
  return S_OK;
@@ -562,22 +578,30 @@ STDMETHODIMP CDatabase::GetSqlStringForCreateTable(BSTR tableName, BSTR* retVal)
562
578
  {
563
579
  uint_td size = 65000;
564
580
  char* tmp = new char[size];
565
- CComBSTR ret;
581
+ wchar_t* tmpw = new wchar_t[size];
566
582
 
567
- ret = m_db->getSqlStringForCreateTable(tableName, tmp, &size);
583
+ m_db->getSqlStringForCreateTable(tableName, tmp, &size);
584
+ MultiByteToWideChar(CP_UTF8, 0, tmp, -1, tmpw, size);
585
+ CComBSTR ret = tmpw;
568
586
  *retVal = ret.Copy();
569
587
  delete [] tmp;
588
+ delete [] tmpw;
570
589
  return S_OK;
571
590
  }
572
591
 
573
- void __stdcall onCopyData(database* db, int recordCount, int count,
592
+ void __stdcall onCopyData(database* db, table* tb, int recordCount, int count,
574
593
  bool& cancel)
575
594
  {
576
595
  CDatabase* cdb = reinterpret_cast<CDatabase*>(db->optionalData());
577
596
  IDatabase* dbPtr = dynamic_cast<IDatabase*>(cdb);
578
597
  _ASSERTE(dbPtr);
598
+
599
+ CTableTd* ctb = reinterpret_cast<CTableTd*>(tb->optionalData());
600
+ ITable* tbPtr = dynamic_cast<ITable*>(ctb);
601
+ _ASSERTE(tbPtr);
602
+
579
603
  VARIANT_BOOL tmp = 0;
580
- cdb->Fire_OnCopyData(dbPtr, recordCount, count, &tmp);
604
+ cdb->Fire_OnCopyData(dbPtr, tbPtr, recordCount, count, &tmp);
581
605
  if (tmp)
582
606
  cancel = true;
583
607
  }
@@ -1,6 +1,6 @@
1
1
  #pragma once
2
2
  /*=================================================================
3
- Copyright (C) 2013 BizStation Corp All rights reserved.
3
+ Copyright (C) 2013-2016 BizStation Corp All rights reserved.
4
4
 
5
5
  This program is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU General Public License
@@ -27,7 +27,8 @@ using namespace ATL;
27
27
  class CDbDef;
28
28
 
29
29
  void __stdcall onCopyData(bzs::db::protocol::tdap::client::database* db,
30
- int recordCount, int count, bool& cancel);
30
+ bzs::db::protocol::tdap::client::table* tb,
31
+ int recordCount, int count, bool& cancel);
31
32
  bool __stdcall onDeleteRecord(bzs::db::protocol::tdap::client::database* db,
32
33
  bzs::db::protocol::tdap::client::table* tb,
33
34
  bool inkey);
@@ -98,11 +99,10 @@ public:
98
99
  STDMETHOD(AbortTrn)();
99
100
  STDMETHOD(BeginTrn)(eLockType bias);
100
101
  STDMETHOD(EndTrn)();
101
- STDMETHOD(BeginSnapshot)(eStLockType bias);
102
+ STDMETHOD(BeginSnapshot)(eStLockType bias, IBinlogPos** bpos);
102
103
  STDMETHOD(EndSnapshot)();
103
104
  STDMETHOD(get_NativeDatabase)(__int64** Value);
104
-
105
- STDMETHOD(Drop)();
105
+ STDMETHOD(Drop)(BSTR Uri);
106
106
  STDMETHOD(DropTable)(BSTR TableName);
107
107
  STDMETHOD(Create)(BSTR URI, int type);
108
108
  STDMETHOD(Close)(VARIANT_BOOL withDropDefaultSchema = 0);
@@ -1,5 +1,5 @@
1
1
  /*=================================================================
2
- Copyright (C) 2014 BizStation Corp All rights reserved.
2
+ Copyright (C) 2014 2016 BizStation Corp All rights reserved.
3
3
 
4
4
  This program is free software; you can redistribute it and/or
5
5
  modify it under the terms of the GNU General Public License
@@ -21,6 +21,7 @@
21
21
  #include "ConnectParams.h"
22
22
  #include "Table.h"
23
23
  #include "Database.h"
24
+ #include "BinlogPos.h"
24
25
 
25
26
  using namespace bzs::db::protocol::tdap::client;
26
27
 
@@ -103,9 +104,25 @@ STDMETHODIMP CPooledDbManager::AbortTrn(void)
103
104
  return S_OK;
104
105
  }
105
106
 
106
- STDMETHODIMP CPooledDbManager::BeginSnapshot(eStLockType bias)
107
+ STDMETHODIMP CPooledDbManager::BeginSnapshot(eStLockType bias, IBinlogPos** bpos)
107
108
  {
108
- m_mgr.beginSnapshot(bias);
109
+ binlogPos pos;
110
+ m_mgr.beginSnapshot(bias, &pos);
111
+ *bpos = NULL;
112
+ if (bias == CONSISTENT_READ_WITH_BINLOG_POS)
113
+ {
114
+ CComObject<CBinlogPos>* bposObj;
115
+ CComObject<CBinlogPos>::CreateInstance(&bposObj);
116
+ if (bposObj)
117
+ {
118
+ bposObj->m_pos = pos;
119
+
120
+ IBinlogPos* ipos;
121
+ bposObj->QueryInterface(IID_IBinlogPos, (void**)&ipos);
122
+ _ASSERTE(ipos);
123
+ *bpos = ipos;
124
+ }
125
+ }
109
126
  return S_OK;
110
127
  }
111
128
 
@@ -1,6 +1,6 @@
1
1
  #pragma once
2
2
  /*=================================================================
3
- Copyright (C) 2014 BizStation Corp All rights reserved.
3
+ Copyright (C) 2014 2016BizStation Corp All rights reserved.
4
4
 
5
5
  This program is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU General Public License
@@ -62,7 +62,7 @@ public:
62
62
  STDMETHOD(BeginTrn)(eLockType Bias);
63
63
  STDMETHOD(EndTrn)(void);
64
64
  STDMETHOD(AbortTrn)(void);
65
- STDMETHOD(BeginSnapshot)(eStLockType bias);
65
+ STDMETHOD(BeginSnapshot)(eStLockType bias, IBinlogPos** bpos);
66
66
  STDMETHOD(EndSnapshot)(void);
67
67
  STDMETHOD(Use)(VARIANT Uri);
68
68
  STDMETHOD(Unuse)();
@@ -1,6 +1,6 @@
1
1
  #pragma once
2
2
  /*=================================================================
3
- Copyright (C) 2013 BizStation Corp All rights reserved.
3
+ Copyright (C) 2013 2016 BizStation Corp All rights reserved.
4
4
 
5
5
  This program is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU General Public License
@@ -23,7 +23,7 @@ class CProxy_IDatabaseEvents
23
23
  : public ATL::IConnectionPointImpl<T, &__uuidof(_IDatabaseEvents)>
24
24
  {
25
25
  public:
26
- HRESULT Fire_OnCopyData(IDatabase* db, int recordCount, int count,
26
+ HRESULT Fire_OnCopyData(IDatabase* db, ITable* tb, int recordCount, int count,
27
27
  VARIANT_BOOL* cancel)
28
28
  {
29
29
  HRESULT hr = S_OK;
@@ -40,8 +40,9 @@ public:
40
40
 
41
41
  if (pConnection)
42
42
  {
43
- CComVariant avarParams[4];
44
- avarParams[3] = db;
43
+ CComVariant avarParams[5];
44
+ avarParams[4] = db;
45
+ avarParams[3] = tb;
45
46
  avarParams[2] = recordCount;
46
47
  avarParams[1] = count;
47
48
  avarParams[0].byref = cancel;
@@ -1,5 +1,5 @@
1
1
  /*=================================================================
2
- Copyright (C) 2013 BizStation Corp All rights reserved.
2
+ Copyright (C) 2013-2016 BizStation Corp All rights reserved.
3
3
 
4
4
  This program is free software; you can redistribute it and/or
5
5
  modify it under the terms of the GNU General Public License
@@ -47,6 +47,8 @@ interface IPooledDbManager;
47
47
  interface IPreparedQuery;
48
48
  interface IBookmark;
49
49
  interface IBitset;
50
+ interface IBinlogPos;
51
+
50
52
 
51
53
  typedef
52
54
  [
@@ -149,6 +151,7 @@ enum eStatus
149
151
  STATUS_FIELDTYPE_NOTSUPPORT = -42,
150
152
  STATUS_INVALID_NULLMODE = -43,
151
153
  STATUS_TOO_LARGE_VALUE = -44,
154
+ STATUS_SQL_PARSE_ERROR = -45,
152
155
  STATUS_SUCCESS = 0,
153
156
  STATUS_PROGRAM_ERROR = 1,
154
157
  STATUS_IO_ERROR = 2,
@@ -326,9 +329,10 @@ typedef
326
329
  ]
327
330
  enum eStLockType
328
331
  {
329
- MULTILOCK_NOGAP_SHARE = 0,
330
- MULTILOCK_GAP_SHARE = 2000,
331
- CONSISTENT_READ = 4000
332
+ MULTILOCK_NOGAP_SHARE = 0,
333
+ MULTILOCK_GAP_SHARE = 2000,
334
+ CONSISTENT_READ = 4000,
335
+ CONSISTENT_READ_WITH_BINLOG_POS = 4200
332
336
  }eStLockType;
333
337
 
334
338
  typedef
@@ -450,11 +454,11 @@ interface IDatabase : IDispatch
450
454
  [propget, id(0x0000000A)]
451
455
  HRESULT _stdcall NativeDatabase([out, retval] hyper** Value);
452
456
  [id(0x000000C9)]
453
- HRESULT _stdcall BeginSnapshot([in, defaultvalue(CONSISTENT_READ)] eStLockType Bias);
457
+ HRESULT _stdcall BeginSnapshot([in, defaultvalue(CONSISTENT_READ)] eStLockType Bias, [out, retval]IBinlogPos** bpos);
454
458
  [id(0x000000CA)]
455
459
  HRESULT _stdcall EndSnapshot(void);
456
460
  [id(0x000000CB)]
457
- HRESULT _stdcall Drop(void);
461
+ HRESULT _stdcall Drop([in, defaultvalue("")] BSTR Uri);
458
462
  [id(0x000000CC)]
459
463
  HRESULT _stdcall DropTable([in] BSTR TableName);
460
464
  [id(0x000000CD)]
@@ -1640,7 +1644,7 @@ interface IPooledDbManager : IDispatch
1640
1644
  [id(0x00000004)]
1641
1645
  HRESULT _stdcall AbortTrn(void);
1642
1646
  [id(0x00000005)]
1643
- HRESULT _stdcall BeginSnapshot([in, defaultvalue(CONSISTENT_READ)] eStLockType Bias);
1647
+ HRESULT _stdcall BeginSnapshot([in, defaultvalue(CONSISTENT_READ)] eStLockType Bias, [out, retval]IBinlogPos** bpos);
1644
1648
  [id(0x00000006)]
1645
1649
  HRESULT _stdcall EndSnapshot(void);
1646
1650
  [id(0x00000007)]
@@ -1747,126 +1751,151 @@ interface IBitset : IDispatch{
1747
1751
 
1748
1752
  };
1749
1753
 
1754
+ [
1755
+ object,
1756
+ uuid(316D0314-638E-4DCF-B68B-2F98624D02E4),
1757
+ dual,
1758
+ nonextensible,
1759
+ pointer_default(unique)
1760
+ ]
1761
+ interface IBinlogPos : IDispatch{
1762
+
1763
+ [propget, id(0)]
1764
+ #ifdef _WIN64
1765
+ HRESULT _stdcall Pos([out, retval] __int64* retVal);
1766
+ #else
1767
+ HRESULT _stdcall Pos([out, retval] int* retVal);
1768
+ #endif
1769
+ [propget, id(1)]
1770
+ HRESULT _stdcall Type([out, retval] short* retVal);
1771
+ [propget, id(2)]
1772
+ HRESULT _stdcall Filename([out, retval] BSTR* retVal);
1773
+ [propget, id(3)]
1774
+ HRESULT _stdcall Gtid([out, retval] BSTR* retVal);
1775
+ };
1776
+
1750
1777
  [
1751
1778
  uuid(3B712514-E2EF-4040-8A3C-BCACB839EB3E),
1752
1779
  version(1.0),
1753
1780
  ]
1754
1781
  library transactd
1755
1782
  {
1756
- importlib("stdole2.tlb");
1757
- [
1758
- uuid(530AC521-AB85-4139-8F78-CA56F8B7722F)
1759
- ]
1760
- dispinterface _IDatabaseEvents
1761
- {
1762
- properties:
1763
- methods:
1764
- [id(1)]
1765
- HRESULT OnCopyData(IDatabase* db, int recordCount, int count, VARIANT_BOOL* cancel);
1766
- [id(2)]
1767
- HRESULT OnDeleteRecord(IDatabase* db, ITable* tb, VARIANT_BOOL* Value);
1768
- [id(3)]
1769
- HRESULT OnSchemaMgrFn(IDatabase* db, short* Value);
1770
- };
1771
-
1772
- [
1773
- uuid(439578EB-226B-41EB-9FDB-AB27915298C7)
1774
- ]
1775
- dispinterface _ITableEvents
1776
- {
1777
- properties:
1778
- methods:
1779
- [id(1)]
1780
- HRESULT OnRecordCount(ITable* tb, int count, VARIANT_BOOL* cancel);
1781
- };
1782
-
1783
- [
1784
- uuid(1DF73F19-D216-47A4-847D-8CD1279E1077)
1785
- ]
1786
- coclass Database
1787
- {
1788
- [default] interface IDatabase;
1789
- [default, source] dispinterface _IDatabaseEvents;
1790
-
1791
- };
1783
+ importlib("stdole2.tlb");
1784
+ [
1785
+ uuid(530AC521-AB85-4139-8F78-CA56F8B7722F)
1786
+ ]
1787
+ dispinterface _IDatabaseEvents
1788
+ {
1789
+ properties:
1790
+ methods:
1791
+ [id(1)]
1792
+ HRESULT OnCopyData(IDatabase* db, ITable* tb, int recordCount, int count, VARIANT_BOOL* cancel);
1793
+ [id(2)]
1794
+ HRESULT OnDeleteRecord(IDatabase* db, ITable* tb, VARIANT_BOOL* Value);
1795
+ [id(3)]
1796
+ HRESULT OnSchemaMgrFn(IDatabase* db, short* Value);
1797
+ };
1798
+
1799
+ [
1800
+ uuid(439578EB-226B-41EB-9FDB-AB27915298C7)
1801
+ ]
1802
+ dispinterface _ITableEvents
1803
+ {
1804
+ properties:
1805
+ methods:
1806
+ [id(1)]
1807
+ HRESULT OnRecordCount(ITable* tb, int count, VARIANT_BOOL* cancel);
1808
+ };
1809
+
1810
+ [
1811
+ uuid(1DF73F19-D216-47A4-847D-8CD1279E1077)
1812
+ ]
1813
+ coclass Database
1814
+ {
1815
+ [default] interface IDatabase;
1816
+ [default, source] dispinterface _IDatabaseEvents;
1817
+ };
1792
1818
 
1793
- [
1794
- uuid(9B3CAC13-FCB8-42E1-993C-D81645B40FEF)
1795
- ,noncreatable
1796
- ]
1797
- coclass DbDef
1798
- {
1799
- [default] interface IDbDef;
1800
- };
1801
- [
1802
- uuid(4B8E64CA-F963-408C-AC4E-C1F9556738D4)
1803
- ,noncreatable
1804
- ]
1805
- coclass Table
1806
- {
1807
- [default] interface ITable;
1808
- };
1809
- [
1810
- uuid(D2115BB4-48CE-461C-A1C1-324DD12C37EE)
1811
- ,noncreatable
1812
- ]
1813
- coclass TableDef
1814
- {
1815
- [default] interface ITableDef;
1816
- };
1817
- [
1818
- uuid(42AE202D-A721-45A6-BB5C-2074101A8751)
1819
- ,noncreatable
1820
- ]
1821
- coclass FieldDef
1822
- {
1823
- [default] interface IFieldDef;
1824
-
1825
- };
1826
- [
1827
- uuid(38DDBD32-27D5-41C5-AAE6-B6D2D4CF0F0D)
1828
- ,noncreatable
1829
- ]
1830
- coclass KeyDef
1831
- {
1832
- [default] interface IKeyDef;
1833
- };
1834
- [
1835
- uuid(27968808-D981-4DEC-9937-A8E6A71714A8)
1836
- ,noncreatable
1837
- ]
1838
- coclass Flags
1839
- {
1840
- [default] interface IFlags;
1841
- };
1842
-
1843
-
1844
- [
1845
- uuid(DEC4DD3C-C661-4C41-8F6C-F579187CF2C9)
1846
- ,noncreatable
1847
- ]
1848
- coclass KeySegment
1849
- {
1850
- [default] interface IKeySegment;
1851
- };
1852
- [
1853
- uuid(692ADBB5-B156-48A6-8A32-3A6C31586698)
1854
- ,noncreatable
1855
- ]
1856
- coclass Field
1857
- {
1858
- [default] interface IField;
1859
-
1860
- };
1819
+ [
1820
+ uuid(9B3CAC13-FCB8-42E1-993C-D81645B40FEF)
1821
+ ,noncreatable
1822
+ ]
1823
+ coclass DbDef
1824
+ {
1825
+ [default] interface IDbDef;
1826
+ };
1827
+
1828
+ [
1829
+ uuid(4B8E64CA-F963-408C-AC4E-C1F9556738D4)
1830
+ ,noncreatable
1831
+ ]
1832
+ coclass Table
1833
+ {
1834
+ [default] interface ITable;
1835
+ };
1836
+
1837
+ [
1838
+ uuid(D2115BB4-48CE-461C-A1C1-324DD12C37EE)
1839
+ ,noncreatable
1840
+ ]
1841
+ coclass TableDef
1842
+ {
1843
+ [default] interface ITableDef;
1844
+ };
1845
+
1846
+ [
1847
+ uuid(42AE202D-A721-45A6-BB5C-2074101A8751)
1848
+ ,noncreatable
1849
+ ]
1850
+ coclass FieldDef
1851
+ {
1852
+ [default] interface IFieldDef;
1853
+ };
1854
+
1855
+ [
1856
+ uuid(38DDBD32-27D5-41C5-AAE6-B6D2D4CF0F0D)
1857
+ ,noncreatable
1858
+ ]
1859
+ coclass KeyDef
1860
+ {
1861
+ [default] interface IKeyDef;
1862
+ };
1863
+
1864
+ [
1865
+ uuid(27968808-D981-4DEC-9937-A8E6A71714A8)
1866
+ ,noncreatable
1867
+ ]
1868
+ coclass Flags
1869
+ {
1870
+ [default] interface IFlags;
1871
+ };
1872
+
1873
+ [
1874
+ uuid(DEC4DD3C-C661-4C41-8F6C-F579187CF2C9)
1875
+ ,noncreatable
1876
+ ]
1877
+ coclass KeySegment
1878
+ {
1879
+ [default] interface IKeySegment;
1880
+ };
1881
+
1882
+ [
1883
+ uuid(692ADBB5-B156-48A6-8A32-3A6C31586698)
1884
+ ,noncreatable
1885
+ ]
1886
+ coclass Field
1887
+ {
1888
+ [default] interface IField;
1889
+ };
1861
1890
 
1862
- [
1863
- uuid(692ADBB5-B156-48A6-8A32-3A6C31586699)
1864
- ,noncreatable
1865
- ]
1866
- coclass TdVersion
1867
- {
1868
- [default] interface ITdVersion;
1869
- };
1891
+ [
1892
+ uuid(692ADBB5-B156-48A6-8A32-3A6C31586699)
1893
+ ,noncreatable
1894
+ ]
1895
+ coclass TdVersion
1896
+ {
1897
+ [default] interface ITdVersion;
1898
+ };
1870
1899
 
1871
1900
  [
1872
1901
  uuid(CA076B05-541B-48EF-AC55-33323FB052F3)
@@ -2005,6 +2034,15 @@ library transactd
2005
2034
  {
2006
2035
  [default] interface IBitset;
2007
2036
  };
2037
+
2038
+ [
2039
+ uuid(86301596-1546-442E-BAA4-FDB656834F41)
2040
+ ,noncreatable
2041
+ ]
2042
+ coclass BinlogPos
2043
+ {
2044
+ [default] interface IBinlogPos;
2045
+ };
2008
2046
 
2009
2047
  };
2010
2048
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transactd
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BizStation Corp.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-25 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Transactd client for ruby gem
14
14
  email: transactd@bizstation.jp
@@ -19,8 +19,8 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - CMakeLists.txt
21
21
  - build/tdclrb/bldgem/extconf.rb
22
- - bin/common/tdclc_32_3_0.dll
23
- - bin/common/tdclc_64_3_0.dll
22
+ - bin/common/tdclc_32_3_1.dll
23
+ - bin/common/tdclc_64_3_1.dll
24
24
  - source/bzs/db/blobBuffer.h
25
25
  - source/bzs/db/blobStructs.h
26
26
  - source/bzs/db/engine/mysql/bookmark.h
Binary file
Binary file