tiny_tds 0.6.0-x86-mingw32 → 0.6.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/README.md +1 -1
- data/ext/tiny_tds/client.c +2 -0
- data/lib/tiny_tds/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -30,7 +30,7 @@ TinyTDS is developed against FreeTDS 0.82 & 0.91, and 0.92 currents, the latest
|
|
30
30
|
|
31
31
|
* **OK, I am installing FreeTDS, how do I configure it?** Contrary to what most people think, you do not need to specially configure FreeTDS in any way for client libraries like TinyTDS to use it. About the only requirement is that you compile it with libiconv for proper encoding support. FreeTDS must also be compiled with OpenSSL (or the like) to use it with Azure. See the "Using TinyTDS with Azure" section below for more info.
|
32
32
|
|
33
|
-
* **Do I need to configure `--with-tdsver` equal to anything?**
|
33
|
+
* **Do I need to configure `--with-tdsver` equal to anything?** Most likely! Technically you should not have too. This is only a default for clients/configs that do not specify what TDS version they want to use. We are currently having issues with passing down a TDS version with the login bit. Till we get that fixed, if you are not using a freetds.conf or a TDSVER environment variable, the make sure to use 7.1 for FreeTDS 0.91 and 8.0 for FreeTDS 0.82.
|
34
34
|
|
35
35
|
* **But I want to use TDS version 7.2 for SQL Server 2005 and up!** TinyTDS uses TDS version 7.1 (previously named 8.0) and fully supports all the data types supported by FreeTDS, this includes `varchar(max)` and `nvarchar(max)`. Technically compiling and using TDS version 7.2 with FreeTDS is not supported. But this does not mean those data types will not work. I know, it's confusing If you want to learn more, read this thread. http://lists.ibiblio.org/pipermail/freetds/2011q3/027306.html
|
36
36
|
|
data/ext/tiny_tds/client.c
CHANGED
@@ -270,6 +270,8 @@ static VALUE rb_tinytds_connect(VALUE self, VALUE opts) {
|
|
270
270
|
dbsetlpwd(cwrap->login, StringValuePtr(pass));
|
271
271
|
if (!NIL_P(app))
|
272
272
|
dbsetlapp(cwrap->login, StringValuePtr(app));
|
273
|
+
if (!NIL_P(version))
|
274
|
+
dbsetlversion(cwrap->login, NUM2INT(version));
|
273
275
|
if (!NIL_P(ltimeout))
|
274
276
|
dbsetlogintime(NUM2INT(ltimeout));
|
275
277
|
if (!NIL_P(timeout))
|
data/lib/tiny_tds/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: tiny_tds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.6.
|
5
|
+
version: 0.6.1
|
6
6
|
platform: x86-mingw32
|
7
7
|
authors:
|
8
8
|
- Ken Collins
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|