Closed (outdated)
Project:
CAPTCHA
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2011 at 04:15 UTC
Updated:
27 Sep 2019 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jweowu commentedSchema module: http://drupal.org/project/schema
Comment #2
soxofaan commentedcommitted:
http://drupal.org/cvs?commit=494232
http://drupal.org/cvs?commit=494234
thanks
Comment #3
soxofaan commentedOk, this is confusing:
now I have another user complaining that the "fix" from #2 is actually a bug: #1056078: no default for colum used as primary key
@jweowu: what version of the schema module are you running? And what database (MySQL/Postrgress)?
I just tried with 6.x-1.7 (MySQL db) and it indeed indicates that #2 introduces a mismatch for me.
Comment #4
jweowu commentedMySQL 5.1 on Windows
captcha 6.x-2.3
schema 6.x-1.7
However... We upgraded this site from Drupal 5, so I would hazard a guess that this may actually an issue with the upgrade path not quite converting the Drupal 5 version of the table to what the Drupal 6 schema describes?
Here's the CREATE TABLE statement MySQL generates for the Drupal 5 version of the database:
captcha.install for Drupal 5 says:
Maybe it's some MySQL weirdness that's changed between versions of the database? Having a default value for a primary key column certainly sounds strange.
Comment #5
2xe commentedMySQL changed with version 5.02, see http://bugs.mysql.com/bug.php?id=14947
Comment #6
dpatte commentedI recently installed latest released version of Captcha 2.4 from 2.3. When I started update it reported a schema error, and after continuing with the update it now reports the same schema error as reported on Feb 3rd.
I have been using MySql 5.1.47 for a while.
Comment #7
JoshOrndorff commentedI know this is a super old post, but I just noticed I have the same issue.
Captcha 7.x-1.0
Schema 7.x-1.0-rc1
MySQL 5.5.34-log on CentOS
For full disclosure, my site was upgraded from drupal 6, but neither Captcha nor Schema were installed until after the upgrade. The exact complaint I get from Schema is:
Also, should we actually describe this field? ;-)
Thanks a lot,
-Josh
Comment #8
wundo commentedComment #9
wundo commented