projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829759a
)
UpdateDatabase.php
author
edward
<edward@roojs.com>
Wed, 24 Aug 2016 09:34:28 +0000
(17:34 +0800)
committer
edward
<edward@roojs.com>
Wed, 24 Aug 2016 09:34:28 +0000
(17:34 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
df4b24b
..
71520af
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-891,7
+891,7
@@
class Pman_Core_UpdateDatabase extends Pman
in_array('NO_ZERO_DATE', $modes) ||
!in_array('ALLOW_INVALID_DATES', $modes)
){
- die("Error: set
innodb_file_per_table = 1
in my.cnf\n\n");
+ die("Error: set
sql_mode include 'ALLOW_INVALID_DATES', remove 'NO_ZERO_IN_DATE' AND 'NO_ZERO_DATE'
in my.cnf\n\n");
}
$done_check = true;;