Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to GetColumnValue #9

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
93e7ca5
Initial version of getColumnValue
lee-houghton Oct 5, 2013
eb8cb55
Merge pull request #1 from wankdanker/master
lee-houghton Dec 17, 2013
2996ac5
Various changes (incomplete)
lee-houghton Jan 11, 2014
75d9240
Merge branch 'master' of https://github.com/lee-houghton/node-odbc
lee-houghton Jan 11, 2014
0e8e2f4
Simplify date/time conversion on Win32
lee-houghton Jan 11, 2014
b79c5f7
Fix test-bad-connection-string on Windows
lee-houghton Jan 11, 2014
42336ef
Fix test-date on MSSQL
lee-houghton Jan 11, 2014
3fce147
Fix test-param-select-with-numbers-only on MSSQL
lee-houghton Jan 11, 2014
c0cbf24
Fix test-query-select-unicode on MSSQL
lee-houghton Jan 11, 2014
7f136a5
Fix test-querySync-select-unicode on MSSQL
lee-houghton Jan 11, 2014
f8e8604
Fix crash in BindSync when DEBUG turned on
lee-houghton Jan 12, 2014
e8c130b
Properly print query SQL in debug mode
lee-houghton Jan 12, 2014
5acce2a
Refactor ODBC::GetColumnValue
lee-houghton Jan 12, 2014
924b26b
Fix getting long strings
lee-houghton Jan 12, 2014
ddc41d9
Improve GetColumnValue
lee-houghton Jan 13, 2014
7a2312a
Better parameter and state validation in GetColumnValue
lee-houghton Jan 16, 2014
71393a7
Fix bug in FetchMoreData where the result buffer offset was being inc…
lee-houghton Jan 16, 2014
d9612e7
Add test for GetColumnValue (async)
lee-houghton Jan 16, 2014
2b0b9bb
Fix assertion on NULL in GetColumnValue
lee-houghton Jan 16, 2014
4350a77
Merge branch 'master' of https://github.com/wankdanker/node-odbc
lee-houghton Jul 24, 2014
5ae51d6
Resolve C2308 (concatenating mismatched strings)
lee-houghton Jul 24, 2014
7bb4657
* Fix null buffer reference in GetColumnValue() when fetching short …
lee-houghton Jul 24, 2014
0104fee
Remove DEBUG flag.
lee-houghton Jul 24, 2014
45c22a8
Fix SQL server smalldatetime values being treated as dates without a …
lee-houghton Jul 30, 2014
fa8c544
Changed to use SQLLEN where appropriate (possible omissions, needs te…
lee-houghton Sep 4, 2014
851a2da
Use SQLINTEGER and SQLDOUBLE instead of long and double in ConvertCol…
lee-houghton Sep 4, 2014
2702f8b
Handle null binary values in ODBC::GetColumnValue
lee-houghton Oct 6, 2014
dd268af
On Windows, use SystemTimeToFileTime instead of timegm (since it hand…
lee-houghton Oct 14, 2014
2f818f9
Default to local time on Windows (as before), and handle the TIMEGM d…
lee-houghton Oct 15, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 41 additions & 42 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
{
'targets' : [
{
'target_name' : 'odbc_bindings',
'sources' : [
'src/odbc.cpp',
'src/odbc_connection.cpp',
'src/odbc_statement.cpp',
'src/odbc_result.cpp',
'src/dynodbc.cpp'
],
'defines' : [
'UNICODE'
],
'conditions' : [
[ 'OS == "linux"', {
'libraries' : [
'-lodbc'
],
'cflags' : [
'-g'
]
}],
[ 'OS == "mac"', {
'libraries' : [
'-L/usr/local/lib',
'-lodbc'
]
}],
[ 'OS=="win"', {
'sources' : [
'src/strptime.c',
'src/odbc.cpp'
],
'libraries' : [
'-lodbccp32.lib'
]
}]
]
}
]
}
{
'targets' : [
{
'target_name' : 'odbc_bindings',
'sources' : [
'src/odbc.cpp',
'src/odbc_connection.cpp',
'src/odbc_statement.cpp',
'src/odbc_result.cpp',
'src/dynodbc.cpp'
],
'defines' : [
'UNICODE'
],
'conditions' : [
[ 'OS == "linux"', {
'libraries' : [
'-lodbc'
],
'cflags' : [
'-g'
]
}],
[ 'OS == "mac"', {
'libraries' : [
'-L/usr/local/lib',
'-lodbc'
]
}],
[ 'OS=="win"', {
'sources' : [
'src/odbc.cpp'
],
'libraries' : [
'-lodbccp32.lib'
]
}]
]
}
]
}
Loading