teradata-cli 0.0.10 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -121,6 +121,11 @@ cli_initialize(VALUE self, VALUE logon_string, VALUE session_charset)
121
121
  p->dbcarea.req_proc_opt = 'B'; // process request and return response,
122
122
  // with column names and EXPLAIN data.
123
123
 
124
+ // try to increase req_buf_len
125
+ // see http://forums.teradata.com/forum/database/connect-failed-cli2-badbufrq302-invalid-buffer-size
126
+ p->dbcarea.req_buf_len = 65535; //64K
127
+ p->dbcarea.maximum_parcel = 'H';
128
+
124
129
  p->dbcarea.charset_type = 'N'; // multibyte character set
125
130
  snprintf(p->session_charset, CHARSET_BUFSIZE,
126
131
  "%-30s", StringValueCStr(session_charset));
@@ -1,3 +1,3 @@
1
1
  module TeradataCli
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teradata-cli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Giuseppe Privitera
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-10-29 00:00:00 Z
18
+ date: 2013-10-30 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler