Giter Club home page Giter Club logo

Comments (4)

wankdanker avatar wankdanker commented on July 20, 2024

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.

LaurenceCarr avatar LaurenceCarr commented on July 20, 2024

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 - &param[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.

LaurenceCarr avatar LaurenceCarr commented on July 20, 2024

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.

wankdanker avatar wankdanker commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.