From 541716ac39884736df0931840287f358cb94f771 Mon Sep 17 00:00:00 2001 From: Jan-hinnerk Vogel <jhv@sanger.ac.uk> Date: Wed, 6 Jul 2005 16:49:32 +0000 Subject: [PATCH] mysql statement debugged --- misc-scripts/repeats/shrink_trfs.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc-scripts/repeats/shrink_trfs.pl b/misc-scripts/repeats/shrink_trfs.pl index e1fefcf048..4d36c2c389 100644 --- a/misc-scripts/repeats/shrink_trfs.pl +++ b/misc-scripts/repeats/shrink_trfs.pl @@ -117,8 +117,8 @@ $db->do( "update repeat_feature rf, tmp_old_new_rcid tonr " . print STDERR "Repeat_features updated.\n"; -$db->do( "delete repeat_consensus " . - "from repeat_consensus rc, tmp_old_new_rcid tonr " . +$db->do( "delete from rc " . + "using repeat_consensus rc, tmp_old_new_rcid tonr " . "where rc.repeat_consensus_id = tonr.old_id " ); $db->do( "update repeat_consensus " . -- GitLab