Comparing version 1.1.0 to 1.2.0
@@ -737,3 +737,4 @@ // Generated by CoffeeScript 1.7.1 | ||
packetSize: this.config.options.packetSize, | ||
tdsVersion: this.config.options.tdsVersion | ||
tdsVersion: this.config.options.tdsVersion, | ||
initDbFatal: !this.config.options.fallbackToDefaultDb | ||
}; | ||
@@ -740,0 +741,0 @@ payload = new Login7Payload(loginData); |
@@ -129,3 +129,8 @@ // Generated by CoffeeScript 1.7.1 | ||
this.clientLcid = 0x00000409; | ||
this.flags1 = FLAGS_1.ENDIAN_LITTLE | FLAGS_1.CHARSET_ASCII | FLAGS_1.FLOAT_IEEE_754 | FLAGS_1.BCD_DUMPLOAD_OFF | FLAGS_1.USE_DB_OFF | FLAGS_1.INIT_DB_WARN | FLAGS_1.SET_LANG_WARN_ON; | ||
this.flags1 = FLAGS_1.ENDIAN_LITTLE | FLAGS_1.CHARSET_ASCII | FLAGS_1.FLOAT_IEEE_754 | FLAGS_1.BCD_DUMPLOAD_OFF | FLAGS_1.USE_DB_OFF | FLAGS_1.SET_LANG_WARN_ON; | ||
if (this.loginData.initDbFatal) { | ||
this.flags1 |= FLAGS_1.INIT_DB_FATAL; | ||
} else { | ||
this.flags1 |= FLAGS_1.INIT_DB_WARN; | ||
} | ||
this.flags2 = FLAGS_2.INIT_LANG_WARN | FLAGS_2.ODBC_OFF | FLAGS_2.USER_NORMAL; | ||
@@ -132,0 +137,0 @@ if (this.loginData.domain) { |
@@ -29,3 +29,3 @@ { | ||
], | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"main": "./lib/tedious.js", | ||
@@ -32,0 +32,0 @@ "repository": { |
@@ -7,4 +7,7 @@ # Tedious (node implementation of TDS) | ||
**NOTE: Default login behavior has changed slightly as of version 1.2** | ||
See the [changelog](http://pekim.github.io/tedious/changelog.html) for version history. | ||
### Supported TDS versions | ||
@@ -22,2 +25,3 @@ | ||
<a name="documentation" /> | ||
@@ -24,0 +28,0 @@ ## Documentation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
178514
5189
49