Skip to content

Commit

Permalink
Fix for CONC-301 (manually merged from 2.3.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Dec 22, 2017
1 parent 6d2fb01 commit 2314598
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions libmariadb/mariadb_stmt.c
Expand Up @@ -1395,15 +1395,12 @@ int STDCALL mysql_stmt_fetch(MYSQL_STMT *stmt)
return(rc);
}

if ((rc= stmt->mysql->methods->db_stmt_fetch_to_bind(stmt, row)))
{
return(rc);
}
rc= stmt->mysql->methods->db_stmt_fetch_to_bind(stmt, row);

stmt->state= MYSQL_STMT_USER_FETCHING;
CLEAR_CLIENT_ERROR(stmt->mysql);
CLEAR_CLIENT_STMT_ERROR(stmt);
return(0);
return(rc);
}

int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind, unsigned int column, unsigned long offset)
Expand Down

0 comments on commit 2314598

Please sign in to comment.