Code

Changed table engine to INNODB.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Sep 2008 15:36:15 +0000 (15:36 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Sep 2008 15:36:15 +0000 (15:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12546 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/DBmysql.pm

index 4c3dd589d5cf20f5c7ef4ef4b4a72ee90ebee786..54e877dbabfb4f49d1cfe34e8fbec7e3d10ced89 100644 (file)
@@ -37,7 +37,7 @@ sub create_table {
        if($recreate_table) {
                $self->{dbh}->do("DROP TABLE $table_name");
        }
-       my $sql_statement = "CREATE TABLE IF NOT EXISTS $table_name ( $col_names_string )"; 
+       my $sql_statement = "CREATE TABLE IF NOT EXISTS $table_name ( $col_names_string ) ENGINE=INNODB"; 
        # &main::daemon_log("DEBUG: $sql_statement");
        eval {
                $self->{dbh}->do($sql_statement);