Actually, I don't know how it works. (maybe I should re-start again :<)

This commit is contained in:
Xinchen Hui 2014-06-23 15:35:53 +08:00
parent 87b667221e
commit c135ca0a9d
2 changed files with 2 additions and 4 deletions

View file

@ -746,7 +746,7 @@ static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsig
}
#if PDO_USE_MYSQLND
if (S->stmt) {
//??? Z_TRY_ADDREF(S->stmt->data->result_bind[colno].zv);
Z_TRY_ADDREF(S->stmt->data->result_bind[colno].zv);
*ptr = (char*)&S->stmt->data->result_bind[colno].zv;
*len = sizeof(zval);
PDO_DBG_RETURN(1);