Most of the patch seems right (based on a quick look), however I don't think that just replacing db_next_id() with db_last_insert_id() will do...
Instead, the schema must use the 'serial' type for the 'fiid', and the records of the 'field_indexer_map' table be written with drupal_write_record().
Comments
Comment #1
david lesieur commentedMost of the patch seems right (based on a quick look), however I don't think that just replacing
db_next_id()withdb_last_insert_id()will do...Instead, the schema must use the 'serial' type for the 'fiid', and the records of the 'field_indexer_map' table be written with
drupal_write_record().Comment #2
scott859 commentedsubscribing...
Comment #3
deepthistars commentedgreat module..subscribing..when will this be released
Comment #4
david lesieur commentedMarked #314396: Port to Drupal 6.x for Field Indexer as duplicate.
Comment #5
david lesieur commentedI have committed DenRaf's patch with some changes, mainly: