Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
ENH: refs #952. Use InnoDB as engine for password hash table
Browse files Browse the repository at this point in the history
MyISAM is the default prior to mysql 5.5, and InnoDB is the only one that
guarantees the rows are clustered by primary key
  • Loading branch information
zachmullen committed Mar 12, 2013
1 parent 5dd71f4 commit 8e83c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/database/upgrade/3.2.12.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function mysql()
$this->db->query("CREATE TABLE `password` (
`hash` varchar(128) NOT NULL,
PRIMARY KEY (`hash`)
)");
) ENGINE=InnoDB DEFAULT CHARSET=utf8");
$this->_movePasswords();

$this->db->query("ALTER TABLE `user` DROP `password`");
Expand Down

0 comments on commit 8e83c33

Please sign in to comment.