fix for mySQL>5.1 - should remain compatible with versions prior to 5.1
This commit is contained in:
		
							parent
							
								
									1abb96159b
								
							
						
					
					
						commit
						a5f3a36fa4
					
				| @ -80,7 +80,7 @@ class MySQL extends DBEngine { | |||||||
| 
 | 
 | ||||||
| 	public function create_table_sql($name, $data) { | 	public function create_table_sql($name, $data) { | ||||||
| 		$data = $this->scoreql_to_sql($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"; | 		return "CREATE TABLE $name ($data) $ctes"; | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user