Skip to content

Commit

Permalink
Mysql > CREATE TABLE: use 'engine' keyword instead of 'type'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Bird committed Apr 24, 2012
1 parent 1ec3749 commit 49b3604
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
2012-04-24 Nathan Bird <nathan@acceleration.net>

* sql/expressions.lisp (output-sql): on mysql CREATE TABLE
statements use 'ENGINE=innodb' instead of 'Type=InnoDB'. This has
apparently been preferred since mysql 4.1 and mysql 5.5 removed
type as a valid keyword.

2012-03-28 Russ Tyndall <russ@acceleration.net>

* sql/sequences.lisp: [A Patch FROM 2011-07-28 changed sequences.
Expand Down
2 changes: 1 addition & 1 deletion sql/expressions.lisp
Expand Up @@ -939,7 +939,7 @@ uninclusive, and the args from that keyword to the end."
(when (and (eq :mysql (database-underlying-type database))
transactions
(db-type-transaction-capable? :mysql database))
(write-string " Type=InnoDB" *sql-stream*))))
(write-string " ENGINE=innodb" *sql-stream*))))
t)


Expand Down

0 comments on commit 49b3604

Please sign in to comment.