~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to lib/GenTest/App/Gendata.pm

post-push fixes for the --notnull option

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
            croak "Dates and times are severly broken. Cannot be used for other than MySQL/Drizzle";
215
215
        }
216
216
    }
217
 
    $field_perms[FIELD_NULLABILITY] = $fields->{null} || $fields->{nullability} || [ undef ];
 
217
    $field_perms[FIELD_NULLABILITY] = $fields->{null} || $fields->{nullability} || [ (defined $self->[GD_NOTNULL] ? 'NOT NULL' : undef) ];
218
218
    $field_perms[FIELD_SIGN] = $fields->{sign} || [ undef ];
219
219
    $field_perms[FIELD_INDEX] = $fields->{indexes} || $fields->{keys} || [ undef, 'KEY' ];
220
220
    $field_perms[FIELD_CHARSET] =  $fields->{charsets} || [ undef ];