Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you delete a smartqueue, the record on smartqueue table remains.
Some code need to be added/fixed to handle deleting this and an update function need to be added to delete those ghost records.
I have ran the following code to clean up my smartqueue table:
delete from smartqueue where qid not in (select qid from nodequeue_queue);
Comments
Comment #1
amateescu CreditAttribution: amateescu commentedCommitted a fix to 7.x-2.x and 7.x-3.x.
http://drupalcode.org/project/nodequeue.git/commit/314efa0
http://drupalcode.org/project/nodequeue.git/commit/20f3340
Comment #2
amateescu CreditAttribution: amateescu commentedFixed in 6.x-2.x too.
http://drupalcode.org/project/nodequeue.git/commit/19bb68a
Comment #4
jweowu CreditAttribution: jweowu commentedI just posted #1733846: MySQL-specific SQL, but checking back to see where it originated, I see there are similar issues in all the commits that were made here. Those queries are not valid SQL, and will only run on MySQL.
Comment #5
fizk CreditAttribution: fizk commented