projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c7748
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 Sep 2015 09:32:48 +0000
(17:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 Sep 2015 09:32:48 +0000
(17:32 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
dc4706c
..
31eaa66
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-736,6
+736,9
@@
class Pman_Core_UpdateDatabase extends Pman
$db = DB_DataObject::factory('core_enum');
$db->query("show variables like 'innodb_file_per_table'");
$db->fetch();
+ if ($db->Value == 'OFF') {
+ die("set innodb_file_per_table = ON in my.cnf");
+ }
print_r($db);
// Value should == ON
exit;