transactd 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/common/tdclc_32_3_2.dll +0 -0
- data/bin/common/tdclc_64_3_2.dll +0 -0
- data/build/tdclc/tdclc.rc +4 -4
- data/build/tdclcpp/tdclcpp.rc +4 -4
- data/build/tdclrb/tdclrb.rc +4 -4
- data/source/bzs/db/protocol/tdap/client/connMgr.cpp +1 -3
- data/source/bzs/db/protocol/tdap/client/nsTable.cpp +7 -14
- data/source/bzs/db/protocol/tdap/tdapcapi.h +1 -1
- data/source/bzs/test/trdclengn/test_trdclengn.cpp +29 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8afedc283ad3c5f90748c790cd742ab52fcf8cd
|
4
|
+
data.tar.gz: bf3cf1c4865812cb1aa88603bdef95f31ae1fbb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faf1c446f6febad403c6602989c6a07f43232acf76e17855d4591fdddbe32e7604adfdc57df1a47876ea8228f3e3e6c9c188b8a8e677e55799a59f40e5ddbd6b
|
7
|
+
data.tar.gz: abc729f2184f26d922ce70a5ba7f72d882c0f507b50c1d7a47aa32564c18e630975098eae6df08aa701eb6820069cb382df4018307a865b0ebdc41a0c104b816
|
data/bin/common/tdclc_32_3_2.dll
CHANGED
Binary file
|
data/bin/common/tdclc_64_3_2.dll
CHANGED
Binary file
|
data/build/tdclc/tdclc.rc
CHANGED
@@ -29,8 +29,8 @@
|
|
29
29
|
//
|
30
30
|
|
31
31
|
VS_VERSION_INFO VERSIONINFO
|
32
|
-
FILEVERSION 3,2,0,
|
33
|
-
PRODUCTVERSION 3,2,0,
|
32
|
+
FILEVERSION 3,2,0,195
|
33
|
+
PRODUCTVERSION 3,2,0,195
|
34
34
|
FILEFLAGSMASK 0x3fL
|
35
35
|
#ifdef _DEBUG
|
36
36
|
FILEFLAGS 0x1L
|
@@ -47,9 +47,9 @@ BEGIN
|
|
47
47
|
BEGIN
|
48
48
|
VALUE "CompanyName", "BizStation Corp."
|
49
49
|
VALUE "FileDescription", "Transactd C client"
|
50
|
-
VALUE "FileVersion", "3.2.0.
|
50
|
+
VALUE "FileVersion", "3.2.0.195"
|
51
51
|
VALUE "LegalCopyright", "Copyright(C) 2016 BizStation Corp"
|
52
|
-
VALUE "ProductVersion", "3.2.0.
|
52
|
+
VALUE "ProductVersion", "3.2.0.195"
|
53
53
|
VALUE "ProductName", "Transactd Client (GPL V2)"
|
54
54
|
END
|
55
55
|
END
|
data/build/tdclcpp/tdclcpp.rc
CHANGED
@@ -29,8 +29,8 @@
|
|
29
29
|
//
|
30
30
|
|
31
31
|
VS_VERSION_INFO VERSIONINFO
|
32
|
-
FILEVERSION 3,2,
|
33
|
-
PRODUCTVERSION 3,2,
|
32
|
+
FILEVERSION 3,2,1,195
|
33
|
+
PRODUCTVERSION 3,2,1,195
|
34
34
|
FILEFLAGSMASK 0x3fL
|
35
35
|
#ifdef _DEBUG
|
36
36
|
FILEFLAGS 0x1L
|
@@ -47,9 +47,9 @@ BEGIN
|
|
47
47
|
BEGIN
|
48
48
|
VALUE "CompanyName", "BizStation Corp."
|
49
49
|
VALUE "FileDescription", "Transactd C++ client"
|
50
|
-
VALUE "FileVersion", "3.2.
|
50
|
+
VALUE "FileVersion", "3.2.1.195"
|
51
51
|
VALUE "LegalCopyright", "Copyright(C) 2016 BizStation Corp"
|
52
|
-
VALUE "ProductVersion", "3.2.
|
52
|
+
VALUE "ProductVersion", "3.2.1.195"
|
53
53
|
VALUE "ProductName", "Transactd Client (GPL V2)"
|
54
54
|
END
|
55
55
|
END
|
data/build/tdclrb/tdclrb.rc
CHANGED
@@ -29,8 +29,8 @@
|
|
29
29
|
//
|
30
30
|
|
31
31
|
VS_VERSION_INFO VERSIONINFO
|
32
|
-
FILEVERSION 3,2,
|
33
|
-
PRODUCTVERSION 3,2,
|
32
|
+
FILEVERSION 3,2,1,195
|
33
|
+
PRODUCTVERSION 3,2,1,195
|
34
34
|
FILEFLAGSMASK 0x3fL
|
35
35
|
#ifdef _DEBUG
|
36
36
|
FILEFLAGS 0x1L
|
@@ -47,9 +47,9 @@ BEGIN
|
|
47
47
|
BEGIN
|
48
48
|
VALUE "CompanyName", "BizStation Corp."
|
49
49
|
VALUE "FileDescription", "Transactd Ruby client"
|
50
|
-
VALUE "FileVersion", "3.2.
|
50
|
+
VALUE "FileVersion", "3.2.1.195"
|
51
51
|
VALUE "LegalCopyright", "Copyright(C) 2016 BizStation Corp"
|
52
|
-
VALUE "ProductVersion", "3.2.
|
52
|
+
VALUE "ProductVersion", "3.2.1.195"
|
53
53
|
VALUE "ProductName", "Transactd Client (GPL V2)"
|
54
54
|
END
|
55
55
|
END
|
@@ -323,10 +323,8 @@ const connMgr::records& connMgr::inUseTables(__int64 connid, int dbid)
|
|
323
323
|
|
324
324
|
void connMgr::postDisconnectOne(__int64 connid)
|
325
325
|
{
|
326
|
-
allocBuffer();
|
327
326
|
m_keynum = TD_STSTCS_DISCONNECT_ONE;
|
328
|
-
|
329
|
-
rec.conId = connid;
|
327
|
+
m_params[0] = connid;
|
330
328
|
tdap(TD_STASTISTICS);
|
331
329
|
}
|
332
330
|
|
@@ -987,21 +987,14 @@ _TCHAR* nstable::getDirURI(const _TCHAR* path, _TCHAR* buf)
|
|
987
987
|
else
|
988
988
|
#endif
|
989
989
|
stripAuth(path, buf, MAX_PATH);
|
990
|
-
_TUCHAR* p = _tcsmrchr((_TUCHAR*)buf,
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
if (p2 > p)
|
997
|
-
p = NULL;
|
998
|
-
else
|
999
|
-
p2 = NULL;
|
1000
|
-
}
|
1001
|
-
if (p && (uri == false))
|
990
|
+
_TUCHAR* p = _tcsmrchr((_TUCHAR*)buf, '=');
|
991
|
+
if (p)
|
992
|
+
*(p+1) = 0x00;
|
993
|
+
else if (p = _tcsmrchr((_TUCHAR*)buf, '?'))
|
994
|
+
*p = 0x00;
|
995
|
+
else if ((p = _tcsmrchr((_TUCHAR*)buf, PSEPARATOR_C)) && (uri == false))
|
1002
996
|
*p = 0x00;
|
1003
|
-
|
1004
|
-
*(p2 + 1) = 0x00;
|
997
|
+
|
1005
998
|
if (uri && !_tcsstr(buf, _T("dbfile=")))
|
1006
999
|
{
|
1007
1000
|
p = _tcsmrchr((_TUCHAR*)buf, '?');
|
@@ -678,7 +678,7 @@ struct handshale_t
|
|
678
678
|
|
679
679
|
#define CPP_INTERFACE_VER_MAJOR "3"//##4 Build marker! Don't remove
|
680
680
|
#define CPP_INTERFACE_VER_MINOR "2"//##5 Build marker! Don't remove
|
681
|
-
#define CPP_INTERFACE_VER_RELEASE "
|
681
|
+
#define CPP_INTERFACE_VER_RELEASE "1"//##6 Build marker! Don't remove
|
682
682
|
|
683
683
|
/* use autolink tdclcpp */
|
684
684
|
#if (__BCPLUSPLUS__ || _MSC_VER)
|
@@ -5223,6 +5223,27 @@ void testBinaryField()
|
|
5223
5223
|
}
|
5224
5224
|
}
|
5225
5225
|
|
5226
|
+
void testGetDirUri()
|
5227
|
+
{
|
5228
|
+
_TCHAR retbuf[MAX_PATH];
|
5229
|
+
nstable::getDirURI(_T("tdap://localhost/db?dbfile=test.bdf"), retbuf);
|
5230
|
+
BOOST_CHECK(_tcscmp(_T("tdap://localhost/db?dbfile="), retbuf) == 0);
|
5231
|
+
nstable::getDirURI(_T("tdap://root@localhost/db?dbfile=test.bdf&pwd=1234"), retbuf);
|
5232
|
+
BOOST_CHECK(_tcscmp(_T("tdap://localhost/db?dbfile="), retbuf) == 0);
|
5233
|
+
nstable::getDirURI(_T("tdap://localhost/db"), retbuf);
|
5234
|
+
BOOST_CHECK(_tcscmp(_T("tdap://localhost/db?dbfile="), retbuf) == 0);
|
5235
|
+
nstable::getDirURI(_T("tdap://root@localhost/db"), retbuf);
|
5236
|
+
BOOST_CHECK(_tcscmp(_T("tdap://localhost/db?dbfile="), retbuf) == 0);
|
5237
|
+
nstable::getDirURI(_T("tdap://root@localhost/"), retbuf);
|
5238
|
+
BOOST_CHECK(_tcscmp(_T("tdap://localhost/?dbfile="), retbuf) == 0);
|
5239
|
+
nstable::getDirURI(_T("btrv://root@localhost/db"), retbuf);
|
5240
|
+
BOOST_CHECK(_tcscmp(_T("btrv://localhost/db?dbfile="), retbuf) == 0);
|
5241
|
+
#ifdef _WIN32
|
5242
|
+
nstable::getDirURI(_T("c:\\temp\\abc\\abc.def"), retbuf);
|
5243
|
+
BOOST_CHECK(_tcscmp(_T("c:\\temp\\abc"), retbuf) == 0);
|
5244
|
+
#endif
|
5245
|
+
}
|
5246
|
+
|
5226
5247
|
|
5227
5248
|
// ------------------------------------------------------------------------
|
5228
5249
|
BOOST_AUTO_TEST_SUITE(btrv_nativ)
|
@@ -5629,6 +5650,14 @@ BOOST_AUTO_TEST_CASE(binary)
|
|
5629
5650
|
{
|
5630
5651
|
testBinaryField();
|
5631
5652
|
}
|
5653
|
+
BOOST_AUTO_TEST_SUITE_END()
|
5654
|
+
|
5655
|
+
BOOST_AUTO_TEST_SUITE(static_function)
|
5656
|
+
|
5657
|
+
BOOST_AUTO_TEST_CASE(getDirUri)
|
5658
|
+
{
|
5659
|
+
testGetDirUri();
|
5660
|
+
}
|
5632
5661
|
|
5633
5662
|
BOOST_AUTO_TEST_CASE(fuga)
|
5634
5663
|
{
|
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.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BizStation Corp.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Transactd client for ruby gem
|
14
14
|
email: transactd@bizstation.jp
|