reported by coupet (http://drupal.org/user/44538)

See delete FROM {chemical}
table chemical does not exist.

/**
 * Implementation of hook_nodeapi().
 */
function synth_products_nodeapi(&$node, $op, $teaser, $page) {
 switch ($op) {
   case 'delete revision':
     db_query('DELETE FROM {chemical} WHERE vid = %d', $node->vid);
     break;
 }
}
CommentFileSizeAuthor
#1 sp_fix_revision_1.patch1.08 KBpwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

delete revision code for each node type.

coupet’s picture

confirm patch apply nicely.

Also tables (data) updated respectively including: synch_product, synth_transaction, node & node_revisions

Darly

pwolanin’s picture

Status: Needs review » Fixed

ok, patch committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)