From: lingutln Date: Fri, 10 May 2013 23:25:44 +0000 (+0000) Subject: Updated annotated_image stored procedure X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=1854a85c502a3be7554ae21ff132eaccd7dcba64;p=old-jaiswallab-svn%2F.git Updated annotated_image stored procedure svn path=/; revision=477 --- diff --git a/image_annotation_db/ia_upload/annotation_data_importer.pl b/image_annotation_db/ia_upload/annotation_data_importer.pl index 20c5092..61932a3 100644 --- a/image_annotation_db/ia_upload/annotation_data_importer.pl +++ b/image_annotation_db/ia_upload/annotation_data_importer.pl @@ -121,10 +121,6 @@ sub insert_image_data_into_database my $collection_date = trim($image_data_fields[11]); my $comments = trim($image_data_fields[15]); - #$dbh->do('INSERT INTO annotated_image (curator_id, taxon_id, image_path, collection_location, collection_date, ip_comment, doi, source_db_name, source_db_id, comments) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', -# undef, $curator_id, $taxon_id, $image_path, $collection_location, $collection_date, $ip_comment, $doi, $source_db_name, $source_db_id, $comments); - #my $annotated_image_id = $dbh->{'mysql_insertid'}; - my $annotated_image_id; my $sth = $dbh->prepare("call import_annotated_image('$curator_id', '$taxon_id', '$image_path', '$collection_location', '$collection_date', '$ip_comment', '$doi', '$source_db_name', '$source_db_id', '$comments');"); $sth->execute();