Skip to content

Commit

Permalink
Release 2.0.34
Browse files Browse the repository at this point in the history
added checks for InnoDB support
  • Loading branch information
hertsch committed Nov 25, 2013
1 parent c32bf84 commit 7eff769
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.33
2.0.34
7 changes: 7 additions & 0 deletions bootstrap.inc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ foreach ($check_directories as $directory) {
$initDoctrine = new Doctrine($app);
$initDoctrine->initDoctrine();

// check for InnoDB
$SQL = "SELECT SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE = 'InnoDB'";
$result = $app['db']->fetchColumn($SQL);
if ($result == 'NO') {
throw new \Exception("SyncData is missing the MySQL InnoDB support, please check your server configuration!");
}

// initialize the SyncData configuration
$initConfig = new Configuration($app, $config_array);
$initConfig->initConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion info.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$module_directory = 'sync_data';
$module_name = 'SyncData';
$module_function = 'tool';
$module_version = '2.0.32';
$module_version = '2.0.34';
$module_status = 'Stable';
$module_platform = '2.8';
$module_author = 'Team phpManufaktur <[email protected]>';
Expand Down

0 comments on commit 7eff769

Please sign in to comment.