Skip to content
Snippets Groups Projects
Commit 3bae0460 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

Added info_type is null condition to xref sql

parent 593ee270
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@ sub entry_number_check{
$sth->finish;
$sth = $self->core->dbc->prepare('select e.db_name, count(*) from xref x, object_xref ox, external_db e where ox.xref_id = x.xref_id and x.external_db_id = e.external_db_id and e.db_name not like "AFFY%" and x.info_type != "PROJECTION" group by e.db_name');
$sth = $self->core->dbc->prepare('select e.db_name, count(*) from xref x, object_xref ox, external_db e where ox.xref_id = x.xref_id and x.external_db_id = e.external_db_id and e.db_name not like "AFFY%" and (x.info_type is NULL or x.info_type != "PROJECTION") group by e.db_name');
$sth->execute();
$sth->bind_columns(\$name,\$count);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment