transactd 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3578c2d4a1064ceb3608b8c3b734f876e31b55f
4
- data.tar.gz: dfa2ea21477268383d17d6781c9ea77ca4e558c4
3
+ metadata.gz: 832bd257248ab6aa2b05459c3408e5e6126dd8b1
4
+ data.tar.gz: 98238e942923952e95a40700dbfa2b8f6ae1ec42
5
5
  SHA512:
6
- metadata.gz: ae426f5b61c1e4753330196b29622a321ad4d76d2e76dfcf4b15e46886804dd0963e9214d1816909884021389849ef3dcb9e472b98cfe6fdfb7164642717eff9
7
- data.tar.gz: cec557719b08f7ce2458b08401cdc1ca81282c4e98020e7edd72099d9a01cf33a2a148807c5069d4fbeab60e876c94df3c5b6da5563cb5a0bc97965ac8856ce5
6
+ metadata.gz: 9c093a7897ab87ce8771546215b944e3e0f92259b222a9f426a45825175328880d9db3fe7124223ab62916e1ca929437a3204a224eb4f8c23423c88ea0b7d35f
7
+ data.tar.gz: e922e49e4e8986ad4d997fb6640f64c6428c2e6d6c591bd77de5fdb0e8d8ab43025c8508c267cec8e2ff2b8fe9827e135c2bcde0c43c24f8e24e03e867f0f6ec
Binary file
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,4,0,203
33
- PRODUCTVERSION 3,4,0,203
32
+ FILEVERSION 3,4,0,204
33
+ PRODUCTVERSION 3,4,0,204
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.4.0.203"
50
+ VALUE "FileVersion", "3.4.0.204"
51
51
  VALUE "LegalCopyright", "Copyright(C) 2016 BizStation Corp"
52
- VALUE "ProductVersion", "3.4.0.203"
52
+ VALUE "ProductVersion", "3.4.0.204"
53
53
  VALUE "ProductName", "Transactd Client (GPL V2)"
54
54
  END
55
55
  END
@@ -29,8 +29,8 @@
29
29
  //
30
30
 
31
31
  VS_VERSION_INFO VERSIONINFO
32
- FILEVERSION 3,4,0,203
33
- PRODUCTVERSION 3,4,0,203
32
+ FILEVERSION 3,4,1,204
33
+ PRODUCTVERSION 3,4,1,204
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.4.0.203"
50
+ VALUE "FileVersion", "3.4.1.204"
51
51
  VALUE "LegalCopyright", "Copyright(C) 2016 BizStation Corp"
52
- VALUE "ProductVersion", "3.4.0.203"
52
+ VALUE "ProductVersion", "3.4.1.204"
53
53
  VALUE "ProductName", "Transactd Client (GPL V2)"
54
54
  END
55
55
  END
@@ -29,8 +29,8 @@
29
29
  //
30
30
 
31
31
  VS_VERSION_INFO VERSIONINFO
32
- FILEVERSION 3,4,0,203
33
- PRODUCTVERSION 3,4,0,203
32
+ FILEVERSION 3,4,1,204
33
+ PRODUCTVERSION 3,4,1,204
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.4.0.203"
50
+ VALUE "FileVersion", "3.4.1.204"
51
51
  VALUE "LegalCopyright", "Copyright(C) 2016 BizStation Corp"
52
- VALUE "ProductVersion", "3.4.0.203"
52
+ VALUE "ProductVersion", "3.4.1.204"
53
53
  VALUE "ProductName", "Transactd Client (GPL V2)"
54
54
  END
55
55
  END
@@ -2229,7 +2229,9 @@ const uchar* table::position(bool raw)
2229
2229
 
2230
2230
  uint table::posPtrLen() const
2231
2231
  {
2232
- return std::min(m_table->file->ref_length, (uint)REF_SIZE_MAX);
2232
+ if (m_table->file->ref_length > REF_SIZE_MAX)
2233
+ return sizeof(unsigned int);
2234
+ return m_table->file->ref_length;
2233
2235
  }
2234
2236
 
2235
2237
  ha_rows table::recordCount(bool estimate)
@@ -251,11 +251,10 @@ short dbdef::validateTableDef(short tableIndex)
251
251
  }
252
252
  // Check field length.
253
253
  uchar_td type = fd.type;
254
-
254
+ ushort_td len = (type == ft_mychar) ? fd.charNum() : fd.len;
255
255
  // reset update indicator
256
256
  const_cast<fielddef&>(fd).enableFlags.bitE = false;
257
-
258
- ret = validLen(type, fd.len);
257
+ ret = validLen(type, len);
259
258
  if (!ret || !fd.isValidCharNum())
260
259
  {
261
260
  m_stat = STATUS_INVALID_FIELDLENGTH;
@@ -1130,8 +1130,8 @@ inline void dbExecuter::doGetSchema(request& req, netsvc::server::netWriter* nw)
1130
1130
  TABLE_LIST tables; char key[256];
1131
1131
  const char* keyPtr = key;
1132
1132
  database* db = getDatabaseCid(req.cid);
1133
- std::string dbname = db->name();
1134
1133
  THD* thd = db->thd();
1134
+ std::string dbname = getDatabaseName(req);;
1135
1135
  std::string name = getTableName(req);
1136
1136
  tables.init_one_table(dbname.c_str(), dbname.size(), name.c_str(),
1137
1137
  name.size(), name.c_str(), TL_READ);
@@ -690,7 +690,7 @@ struct handshale_t
690
690
 
691
691
  #define CPP_INTERFACE_VER_MAJOR "3"//##4 Build marker! Don't remove
692
692
  #define CPP_INTERFACE_VER_MINOR "4"//##5 Build marker! Don't remove
693
- #define CPP_INTERFACE_VER_RELEASE "0"//##6 Build marker! Don't remove
693
+ #define CPP_INTERFACE_VER_RELEASE "1"//##6 Build marker! Don't remove
694
694
 
695
695
  /* use autolink tdclcpp */
696
696
  #if (__BCPLUSPLUS__ || _MSC_VER)
@@ -727,6 +727,6 @@ struct handshale_t
727
727
 
728
728
  #define TRANSACTD_VER_MAJOR 3//##7 Build marker! Don't remove
729
729
  #define TRANSACTD_VER_MINOR 4//##8 Build marker! Don't remove
730
- #define TRANSACTD_VER_RELEASE 0//##9 Build marker! Don't remove
730
+ #define TRANSACTD_VER_RELEASE 1//##9 Build marker! Don't remove
731
731
 
732
732
  #endif // BZS_DB_PROTOCOL_TDAP_TDAPCAPI_H
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.4.0
4
+ version: 3.4.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-05-13 00:00:00.000000000 Z
11
+ date: 2016-05-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Transactd client for ruby gem
14
14
  email: transactd@bizstation.jp