From: janw Date: Wed, 24 Sep 2008 15:36:15 +0000 (+0000) Subject: Changed table engine to INNODB. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=40a4689e787103ce22100c1adc5ec5fc4430797c;p=gosa.git Changed table engine to INNODB. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12546 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/DBmysql.pm b/gosa-si/modules/DBmysql.pm index 4c3dd589d..54e877dba 100644 --- a/gosa-si/modules/DBmysql.pm +++ b/gosa-si/modules/DBmysql.pm @@ -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);