Commit Graph
6 Commits
Author SHA1 Message Date
William Rogers ecc72f8faf mdb_sql_bind_all already in mdb_sql_run_query 2013-06-26 12:13:44 +02:00
William Rogers 6043e22a43 Memory leak fix in odbc
Free the stmt->bind_head list on Stmt
Reset row_affected on FreeStmt
2013-06-26 11:33:26 +02:00
William Rogers 6326e54e82 Fix mem leak in SQLGetData
Free temporary string when we are past result length and we return SQL_NO_DATA
2013-06-26 10:13:05 +02:00
William Rogers fd6e52f9bd Fixed MDBProps memory leaks 2013-06-25 21:33:38 +02:00
William Rogers 23942c19d3 Update _SQLGetData - Was incorrectly attempting to validate input of an output only parameter
According to the spec, pcbValue is designated as an output only variable, so there is no need to validate any incoming values.

Some packages do not initialize this variable before passing it into the function call; this will randomly result in an improperly thrown error.

Removed the input validation.
2013-06-23 18:28:43 +02:00
rogerswb 40d1ecd11f Update _SQLGetData - Was incorrectly attempting to validate input of an output only parameter
According to the spec, pcbValue is designated as an output only variable, so there is no need to validate any incoming values.

Some packages do not initialize this variable before passing it into the function call; this will randomly result in an improperly thrown error.

Removed the input validation.
2013-05-23 14:58:19 -05:00