Was prompted by drupal to update my version of tweet feed. Everything was fine until i ran the update script within Drupal. It said the database update failed and here was the reason.

The following updates returned messages
tweet_feed module
Update #7113

Failed: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'NOT NULL DEFAULT 0 COMMENT 'Is this tweet a reply to another?'' at line 1: ALTER TABLE {tweet_feed} ADD `is_reply` NOT NULL DEFAULT 0 COMMENT 'Is this tweet a reply to another?'; Array ( ) in db_add_field() (line 2844 of /mnt/stor12-wc1-ord1/881452/888493/.../includes/database/database.inc).

Please let me know if you need additional information. I am not well versed in SQL...sorry in advance.

Thanks.

Comments

jubei_kibagami created an issue. See original summary.

lexmccurry4x3’s picture

We received the same error during twitter_feed update from 7.x-1.12 to 7.x-1.13. Reverting to 7.x-1.12 for now.

The following updates returned messages
tweet_feed module
Update #7113
• Failed: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'NOT NULL DEFAULT 0 COMMENT 'Is this tweet a reply to another?'' at line 1: ALTER TABLE {tweet_feed} ADD `is_reply` NOT NULL DEFAULT 0 COMMENT 'Is this tweet a reply to another?'; Array ( ) in db_add_field() (line 2844 of /var/www/vhosts/... /httpdocs/includes/database/database.inc).

elusivemind’s picture

Assigned: Unassigned » elusivemind
elusivemind’s picture

Status: Active » Fixed

  • ElusiveMind committed 560563a on 7.x-1.x
    Issue #2569609 by jubei_kibagami, ElusiveMind: PDOException: SQLSTATE[...
jubei_kibagami’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.