From a5f3a36fa4a9776b9b1139e53e27c626e729cdd5 Mon Sep 17 00:00:00 2001
From:  <szalwia@szalwia.net>
Date: Thu, 12 May 2011 12:32:34 -0700
Subject: [PATCH] fix for mySQL>5.1 - should remain compatible with versions
 prior to 5.1

---
 core/database.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/database.class.php b/core/database.class.php
index e3ed4105..69d54e9e 100644
--- a/core/database.class.php
+++ b/core/database.class.php
@@ -80,7 +80,7 @@ class MySQL extends DBEngine {
 
 	public function create_table_sql($name, $data) {
 		$data = $this->scoreql_to_sql($data);
-		$ctes = "TYPE=InnoDB DEFAULT CHARSET='utf8'";
+		$ctes = "ENGINE=InnoDB DEFAULT CHARSET='utf8'";
 		return "CREATE TABLE $name ($data) $ctes";
 	}
 }