Was testing out generating votes for testing with the
votingapi generate module.

In votingapi_generate_votes_form_submit() there is a
problem with the code that attempts to reset the sequences
table. Only MySQL uses the sequences table in Drupal as
PostgreSQL allows for creating a SEQUENCE type.

Attached patch adds a db_type switch to call the proper
sequence reset function.

Comments

jaydub’s picture

StatusFileSize
new1.07 KB

oops botched the patch. use this one instead

eaton’s picture

Status: Needs review » Closed (won't fix)

Support for the 5.x branch of VotingAPI has ended with the release of Drupal 7 and the upcoming release of VotingAPI 7.x-2.4.