~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

enable CHECKSUM=1 when creating tables

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
        
439
439
        my $index_sqls = $#index_fields > -1 ? join(",\n", map { $_->[FIELD_INDEX_SQL] } @index_fields) : undef;
440
440
        
441
 
        $executor->execute("CREATE TABLE `$table->[TABLE_NAME]` (\n".join(",\n/*Indices*/\n", grep { defined $_ } (@field_sqls, $index_sqls) ).") $table->[TABLE_SQL] ");
 
441
        $executor->execute("CREATE TABLE `$table->[TABLE_NAME]` (\n".join(",\n/*Indices*/\n", grep { defined $_ } (@field_sqls, $index_sqls) ).") $table->[TABLE_SQL] /*! CHECKSUM=1 */");
442
442
        
443
443
        if (not ($executor->type() == DB_MYSQL || 
444
444
                 $executor->type() == DB_DRIZZLE)) {