Skip to content

Commit

Permalink
Fixed a bug (Reactor bcit-ci#89) where MySQL export would fail if the…
Browse files Browse the repository at this point in the history
… table had hyphens or other non alphanumeric/underscore characters.
  • Loading branch information
Phil Sturgeon committed Aug 14, 2011
1 parent d8a8d57 commit 1eac784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/drivers/mysql/mysql_utility.php
Expand Up @@ -96,7 +96,7 @@ function _backup($params = array())
}

// Get the table schema
$query = $this->db->query("SHOW CREATE TABLE `".$this->db->database.'`.'.$table);
$query = $this->db->query("SHOW CREATE TABLE `".$this->db->database.'`.`'.$table.'`');

// No result means the table name was invalid
if ($query === FALSE)
Expand Down

0 comments on commit 1eac784

Please sign in to comment.