Skip to content

Commit e9da787

Browse files
committed
merge conflict resolve
2 parents de2ecf3 + e2986e2 commit e9da787

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ before_script:
3030
- mkdir test_db
3131
- cd test_db
3232
- sudo isql-fb -input ../../tests/createTestDB.sql
33-
- sudo chmod 0666 TEST.FDB
33+
- sudo chmod -c 0666 TEST.FDB
34+
- sudo chmod -v a+x /home/travis/build/xdenser/node-firebird-libfbclient/build/test_db
35+
- sudo chmod -v a+x /home/travis/build/xdenser/node-firebird-libfbclient/build
36+
- sudo chmod -v a+x /home/travis/build/xdenser/node-firebird-libfbclient
37+
- sudo chmod -v a+x /home/travis/build/xdenser
38+
- sudo chmod -v a+x /home/travis/build
39+
- sudo chmod -v a+x /home/travis
40+
- sudo chmod -v a+x /home
41+
- pwd
42+
- ls -l
3443
- cd ../..
44+
- sleep 5
3545

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Test against these versions of Io.js and Node.js.
44
environment:
5-
fb_download: https://www.dropbox.com/s/i9h93c813nrvt26/fb25.7z?dl=1
5+
fb_download: https://www.dropbox.com/s/3qghi5u6e652fn6/fb25.7z?dl=1
66
fb_start: .\bin\fb_inet_server.exe -a -m
77
matrix:
88
# lts

src/fb-bindings-connection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#define MAX_USERNAME_LENGTH 31
1111
#define MAX_ROLENAME_LENGTH 31
12-
#define MAX_PASSWORD_LENGTH 8
12+
#define MAX_PASSWORD_LENGTH 20
1313

1414
#include <uv.h>
1515
#include "./fb-bindings.h"

tests/def/test-async.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ var
1212

1313

1414
exports.AsyncConnection = function (test) {
15-
test.expect(4);
15+
test.expect(5);
1616
var conn = fb_binding.createConnection();
17-
conn.connect(cfg.db, cfg.user, cfg.password, cfg.role, function(err){
17+
conn.connect(cfg.db, cfg.user, cfg.password, cfg.role, function(cerr){
18+
test.ok(!cerr,"No Error");
19+
if(cerr) {
20+
console.error(cerr);
21+
return;
22+
}
1823
test.ok(conn.connected,"Connected to database");
1924
conn.query("select * from rdb$relations", function(err,res){
2025
test.ok(!err,"No Error");

0 commit comments

Comments
 (0)