Closed (outdated)
Project:
CAPTCHA
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2011 at 11:20 UTC
Updated:
17 Jan 2018 at 01:26 UTC
Jump to comment: Most recent
the schema module reports:
captcha_points
column form_id - difference on: default
declared: array('description' => t('TODO: beschreibe dieses Feld!'), 'type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => '')
actual: array('description' => t('TODO: beschreibe dieses Feld!'), 'type' => 'varchar', 'length' => '128', 'not null' => TRUE)
as you see:
'default' => ''
is not possible with MySQL.
so please remove line 22 of captcha.install (version 6.x-2.4; // $Id: captcha.install,v 1.11.2.8 2011/02/03 23:43:56 soxofaan Exp $)
thanks Thomas
Comments
Comment #1
soxofaan commentedok, this is confusing:
a week ago I introduced this schema mismatch thinking to fix it: #1049482: Schema mis-match
Comment #2
rjbrown99 commentedSame issue here as the original report - schema module reports a mismatch unless the 'default'=>'' is removed.
Comment #3
soxofaan commented@all: what database are you using: version, storage engine, ...?
Comment #4
rjbrown99 commentedFor me it's Pressflow + MySQL 5.5 + InnoDB.
Comment #5
nardberjean commentedI observ the same with
* Pressflow 6.22.102
* MySQL 5.0.51a (MyISAM)
Comment #6
wundo commented