Skip to content

Commit

Permalink
Added a comment to address the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yitam committed Apr 25, 2018
1 parent 72ca1cd commit 3033a26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/pdo_sqlsrv/pdo_stmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ int pdo_sqlsrv_stmt_param_hook( _Inout_ pdo_stmt_t *stmt,
}
// if the parameter is output or input/output, translate the type between the PDO::PARAM_* constant
// and the SQLSRV_PHPTYPE_* constant
// vso 2829: derive the pdo_type for input/output parameter as well
int pdo_type = (direction == SQL_PARAM_OUTPUT) ? param->param_type : param->param_type & ~PDO_PARAM_INPUT_OUTPUT;
SQLSRV_PHPTYPE php_out_type = SQLSRV_PHPTYPE_INVALID;
switch (pdo_type) {
Expand Down

0 comments on commit 3033a26

Please sign in to comment.