[gnome-db] Bug in default provider



I believe there is a bug in gda-default-provider.c which causes the supports
handler to always return false. Shouldn't the && operator in the code below
be an || operator?

This may be an intentional bug to keep the provider from lying about what it
supports because the gda_default_provider_execute_command() and and the
process_sql_command() routines do not seem to be implemented yet. Does
anyone know the status of this provider? Is it supposed to be working yet?

Thanks for all your hard work,

Richard Campbell

/* supports handler for the GdaDefaultProvider class */
static gboolean
gda_default_provider_supports (GdaServerProvider *provider,
          GdaConnection *cnc,
          GdaConnectionFeature feature)
{
 if (feature == GDA_CONNECTION_FEATURE_TRANSACTIONS
     && feature == GDA_CONNECTION_FEATURE_XML_QUERIES)
  return TRUE;

 return FALSE;
}









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]