~juan457/+junk/zorba

« back to all changes in this revision

Viewing changes to src/runtime/full_text/apply.cpp

  • Committer: Markos Zaharioudakis
  • Date: 2012-07-11 15:38:39 UTC
  • mfrom: (10924 zorba)
  • mto: This revision was merged to the branch mainline in revision 10932.
  • Revision ID: markos_za@yahoo.com-20120711153839-0mkh15cg2ubknchd
work in progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
1224
1224
  auto_ptr<internal::Resource> rsrc = static_ctx_.resolve_uri(
1225
1225
    uri, internal::EntityData::THESAURUS, error_msg
1226
1226
  );
1227
 
  if ( !rsrc.get() )
1228
 
    throw XQUERY_EXCEPTION( err::FTST0018, ERROR_PARAMS( uri ) );
 
1227
  ZORBA_ASSERT( rsrc.get() );
1229
1228
 
1230
1229
  internal::ThesaurusProvider const *const t_provider =
1231
1230
    dynamic_cast<internal::ThesaurusProvider const*>( rsrc.get() );