File tree 6 files changed +0
-617
lines changed
6 files changed +0
-617
lines changed Original file line number Diff line number Diff line change 7
7
'src/odbc_connection.cpp' ,
8
8
'src/odbc_statement.cpp' ,
9
9
'src/odbc_result.cpp' ,
10
- 'src/dynodbc.cpp'
11
10
],
12
11
'include_dirs' : [
13
12
"<!(node -e \" require('nan')\" )"
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ module.exports.ODBC = odbc.ODBC;
46
46
module . exports . ODBCConnection = odbc . ODBCConnection ;
47
47
module . exports . ODBCStatement = odbc . ODBCStatement ;
48
48
module . exports . ODBCResult = odbc . ODBCResult ;
49
- module . exports . loadODBCLibrary = odbc . loadODBCLibrary ;
50
49
51
50
exports . debug = false ;
52
51
var ibmdbStartTime = new Date ( ) ;
@@ -136,21 +135,6 @@ function Database(options)
136
135
137
136
options = options || { } ;
138
137
139
- if ( odbc . loadODBCLibrary )
140
- {
141
- if ( ! options . library && ! module . exports . library )
142
- {
143
- throw new Error ( "You must specify a library when complied with dynodbc, "
144
- + "otherwise this jams will segfault." ) ;
145
- }
146
-
147
- if ( ! odbc . loadODBCLibrary ( options . library || module . exports . library ) )
148
- {
149
- throw new Error ( "Could not load library. You may need to specify full "
150
- + "path." ) ;
151
- }
152
- }
153
-
154
138
self . odbc = ( options . odbc ) ? options . odbc : ( ( ENV ) ? ENV : new odbc . ODBC ( ) ) ;
155
139
if ( ! ENV ) ENV = self . odbc ;
156
140
self . queue = new SimpleQueue ( ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments