darkwood001 / odbc

Automatically exported from code.google.com/p/odbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

large string value test failed #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.go test -mssrv=SERVERNAME.COM -msdb=DATABASENAME -msuser=USERNAME 
-mspass=YOURPASSWORD -v -run=MS -msdriver="ODBC Driver 11 for SQL Server"

What is the expected output? What do you see instead?
=== RUN TestMSSQLTextColumnParamTypes
--- FAIL: TestMSSQLTextColumnParamTypes (0.06 seconds)
        mssql_test.go:1162: large string value test failed: SQLExecute: {07002} [Microsoft][ODBC Driver 11 for SQL Server]COUNT field incorrect or syntax error

What version of the product are you using? On what operating system?
Ubuntu 12.04
Windows Server 2003 R2 + SQL Server 2005

Please provide any additional information below.
param.go 70
        } else if size > 4000 {
            sqltype = api.SQL_WLONGVARCHAR

Original issue reported on code.google.com by masatsug...@gmail.com on 21 Jan 2014 at 10:30

GoogleCodeExporter commented 9 years ago
I need to think about your suggestion.

Alex

Original comment by alex.bra...@gmail.com on 22 Jan 2014 at 1:57

GoogleCodeExporter commented 9 years ago
I think this https://codereview.appspot.com/60540043/ will fix it. Please 
review. Thank you.

Alex

Original comment by alex.bra...@gmail.com on 6 Feb 2014 at 6:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 79ae99114308.

Original comment by alex.bra...@gmail.com on 7 Feb 2014 at 1:40