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

Commit

Permalink
TYPE is no longer a supported modifier on 'CREATE TABLE' as of MySQL …
Browse files Browse the repository at this point in the history
…5.1. ENGINE is a supported modifier as far back as at least 4.0.
  • Loading branch information
bmatheny committed Oct 3, 2011
1 parent 684ef53 commit 8aaa7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/twitter/flockdb/shards/SqlShard.scala
Expand Up @@ -64,7 +64,7 @@ CREATE TABLE IF NOT EXISTS %s (
PRIMARY KEY (source_id, state, position),
UNIQUE unique_source_id_destination_id (source_id, destination_id)
) TYPE=INNODB"""
) ENGINE=INNODB"""

val METADATA_TABLE_DDL = """
CREATE TABLE IF NOT EXISTS %s (
Expand All @@ -74,7 +74,7 @@ CREATE TABLE IF NOT EXISTS %s (
updated_at INT UNSIGNED NOT NULL,
PRIMARY KEY (source_id)
) TYPE=INNODB
) ENGINE=INNODB
"""

def instantiate(shardInfo: ShardInfo, weight: Int) = {
Expand Down

0 comments on commit 8aaa7ac

Please sign in to comment.