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.
Have received the following warning after deleting comment:
user warning: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM node WHERE node_comment_statistics.nid = node.nid AND node query: UPDATE node_comment_statistics SET comment_count = 0, last_comment_timestamp = created, last_comment_name = '', last_comment_uid = uid FROM node WHERE node_comment_statistics.nid = node.nid AND node.nid = 47 in C:\htdocs\drupal-4.7\includes\database.mysql.inc on line 129.
Comment | File | Size | Author |
---|---|---|---|
#5 | comment_delete-47045_0.diff | 1.01 KB | Cvbge |
#3 | comment.module.patch_1 | 1.36 KB | tomsys |
#2 | comment.module.patch_0 | 1.36 KB | tomsys |
Comments
Comment #1
tomsys CreditAttribution: tomsys commentedrelated node/46227
T.
Comment #2
tomsys CreditAttribution: tomsys commentedComment #3
tomsys CreditAttribution: tomsys commented..Sorry .. the previous was Inverse Diff :(
this is the right one !!
T.
Comment #4
Gerhard Killesreiter CreditAttribution: Gerhard Killesreiter commentedChanging status.
Comment #5
Cvbge CreditAttribution: Cvbge commentedIt seems I've broken this in http://drupal.org/node/44101
Please test attached patch.
Comment #6
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #7
(not verified) CreditAttribution: commented