The following line of code in function services_resource_build_index_query (services.module line 453):
$sql = "SELECT $fields FROM {$table} $where ORDER BY $order";
should be something like this:
$sql = "SELECT $fields FROM {{$table}} $where ORDER BY $order";
otherwise PHP removes the {} surrounding the table name, which causes Drupal not to prefix the table name with the database prefix.
Comments
Comment #1
kylebrowning commented