projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6dda95d
)
use ENGINE rather than TYPE for compatibility with recent MySQL
author
ivan
<ivan>
Wed, 18 Jan 2012 03:13:09 +0000
(
03:13
+0000)
committer
ivan
<ivan>
Wed, 18 Jan 2012 03:13:09 +0000
(
03:13
+0000)
FS/FS/Schema.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
4148919
..
be46f24
100644
(file)
--- a/
FS/FS/Schema.pm
+++ b/
FS/FS/Schema.pm
@@
-70,7
+70,7
@@
sub dbdef { $dbdef; }
Returns the current canoical database definition as defined in this file.
Optionally, pass a DBI data source to enable syntax specific to that database.
Returns the current canoical database definition as defined in this file.
Optionally, pass a DBI data source to enable syntax specific to that database.
-Currently, this enables "
TYP
E=InnoDB" for MySQL databases.
+Currently, this enables "
ENGIN
E=InnoDB" for MySQL databases.
=cut
=cut
@@
-79,7
+79,7
@@
sub dbdef_dist {
my $local_options = '';
if ( $datasrc =~ /^dbi:mysql/i ) {
my $local_options = '';
if ( $datasrc =~ /^dbi:mysql/i ) {
- $local_options = '
TYP
E=InnoDB';
+ $local_options = '
ENGIN
E=InnoDB';
}
###
}
###