PostgreSQL error in votingapi_generate_votes_form_submit

jaydub - May 3, 2008 - 17:54
Project:Voting API
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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.

AttachmentSize
votingapi_generate.module.patch1.06 KB

#1

jaydub - May 3, 2008 - 17:56

oops botched the patch. use this one instead

AttachmentSize
votingapi_generate.module.patch 1.07 KB
 
 

Drupal is a registered trademark of Dries Buytaert.