Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Patching dbo_mysql listDetailedSources. This fixes the broken test in…

… dbo_mysql and solves ticket: 483-cakeshell-show-table-status-errors

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
commit 3627f3b3846e79f315e1a4ee12bce23cf6729786 1 parent d92202c
Nick Baker authored markstory committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/model/datasources/dbo/dbo_mysql.php
View
2  cake/libs/model/datasources/dbo/dbo_mysql.php
@@ -424,7 +424,7 @@ function insertMulti($table, $fields, $values) {
function listDetailedSources($name = null) {
$condition = '';
if (is_string($name)) {
- $condition = ' WHERE Name = ' . $this->value($name);
+ $condition = ' LIKE ' . $this->value($name);
}
$result = $this->query('SHOW TABLE STATUS FROM ' . $this->name($this->config['database']) . $condition . ';');
if (!$result) {
Please sign in to comment.
Something went wrong with that request. Please try again.