Comments (4)
What version of node-odbc are you using? I can not replicate this issue with v0.6.4. Also what platform are you on (Windows/Linux/OSX)?
from node-odbc.
This is with node-odbc v0.6.4.
Linux (CentOS 6.3)
Output setting the DEBUG flag in odbc is:
ODBC::Init
ODBCResult::Init
ODBCConnection::Init
ODBCStatement::Init
ODBC::New
ODBC::CreateConnection
ODBC::UV_CreateConnection
ODBC::UV_AfterCreateConnection
ODBCConnection::New
ODBCConnection::Open
ODBCConnection::UV_Open
ODBCConnection::UV_AfterOpen
ODBCConnection::Query
ODBC::GetParametersFromArray
ODBC::GetParametersFromArray - ¶m[0].length = 1C309A0
ODBC::GetParametersFromArray - IsInt32(): params[0] c_type=-25 type=-5 buffer_length=0 size=0 length=0 value=2
ODBCConnection::Query : sqlLen=26, sqlSize=54, sql=E
ODBCConnection::UV_Query
ODBCConnection::UV_Query - param[0]: c_type=-25 type=-5 buffer_length=0 size=0 length=0 &length=1C309A0
ODBCConnection::UV_AfterQuery
ODBCConnection::UV_AfterQuery : data->result=0, data->noResultObject=0
ODBCResult::New
ODBCResult::New m_hDBC=1C30000 m_hDBC=440008C0 m_hSTMT=3C0008C0 canFreeHandle=1
ODBCResult::FetchAll
ODBCResult::UV_FetchAll
ODBCResult::UV_AfterFetchAll
ODBCResult::MoreResultsSync
ODBCResult::FetchAll
ODBCResult::UV_FetchAll
ODBCResult::UV_AfterFetchAll
ODBCResult::MoreResultsSync
ODBCResult::CloseSync
ODBCResult::CloseSync closeOption=9999 m_canFreeHandle=1
ODBCResult::Free m_hSTMT=3C0008C0 m_canFreeHandle=1
ODBCConnection::Close
ODBCConnection::UV_Close
ODBCConnection::Free
ODBCConnection::UV_AfterClose
Thanks
from node-odbc.
I don't think this is a node-odbc issue after all.
We're using FreeTDS to connect to SQL Server 2008, using protocol version 7.0. According to http://www.freetds.org/userguide/choosingtdsprotocol.htm SQL Server 2008 supports upto TDS protocol version 7.2. I switched to using 7.2 and I could no longer repro the problem.
Thanks anyway!
from node-odbc.
Ahhh. OK. I have my global tds version set at 8.0. That's probably why I couldn't replicate. Thank you for following up.
from node-odbc.
Related Issues (20)
- Error '[node-odbc] Error in ODBCResult::MoreResultsSync', HOT 1
- support for SQL_SUCCESS_WITH_INFO return HOT 1
- endless loop HOT 1
- node-odbc incompatible with Electron? HOT 3
- Error while installing package [Failed at the [email protected] install script 'node-gyp configure build'.]
- npm install error OSX HOT 2
- code fails with latest version of node-odbc as well as ibm_db
- node-odbc SSL encryption support? HOT 1
- Unsupported platform for [email protected] HOT 1
- Support more ODBC Features
- Statically linked Library
- npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node-gyp configure build /usr/src/pal/node_modules/odbc HOT 3
- Row count when doing UPDATE, INSERT, or DELETE via querySync()
- iso-8859-15 dont show character
- Build error when the UNICODE define is removed from binding.gyp HOT 2
- Windows odbc.open crashes on 2nd invocation with Microsoft Access Driver
- Only returning first character on macOS. HOT 2
- How to prevent conversion of datetime string to JS Date object? HOT 2
- How does odbc handle sql injection HOT 2
- odbc.Database is not a constructor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-odbc.