Skip Menu |

This queue is for tickets about the Alzabo CPAN distribution.

Maintainer(s)' notes

Not really maintained any more. Interested in taking it over? Email the author.

Report information
The Basics
Id: 16338
Status: resolved
Priority: 0/
Queue: Alzabo

Owner: Nobody in particular
Requestors: martin.groenemeyer [...]

Bug Information
Severity: Normal
Broken in: 0.87
Fixed in: 0.88

Subject: Length of BINARY fields not supported
Download (untitled) / with headers
text/plain 737b
If I create a schema with this code: use Alzabo::Create::Schema; my $s = Alzabo::Create::Schema->new(name => 'foo', rdbms => 'MySQL' ); my $table = $s->make_table( name => 'some_table' ); my $md5 = $table->make_column( name => 'checksum', type => 'binary', length => 16, nullable => 0 ); I get the error "BINARY columns cannot have a length or precision." But the MySQL5.0 doc says: "The BINARY and VARBINARY types are similar to CHAR and VARCHAR, except that they contain binary strings rather than non-binary strings." ( A solution could be to insert a new segment in RDBMSRules::MySQL::validate_colmn_length which validates the BINRAY column_type.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to