Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9b71adb4
Commit
9b71adb4
authored
Apr 27, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #3268: Fixed the bug that the schema name in a table name was not…
Fixes #3268: Fixed the bug that the schema name in a table name was not respected by `yii\db\mysql\Schema`
parent
12bd2573
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
Schema.php
framework/db/mysql/Schema.php
+1
-1
No files found.
framework/CHANGELOG.md
View file @
9b71adb4
...
...
@@ -21,6 +21,7 @@ Yii Framework 2 Change Log
-
Bug #3204:
`yii\di\Container`
did not handle the
`$config`
parameter well in case when it does not have a default value (qiangxue)
-
Bug #3216: Fixed the bug that
`yii.activeForm.destroy()`
did not remove
`submit`
event handlers (qiangxue)
-
Bug #3236: Return value for DateTime->format('U') casted to double to allow correct date formatting (pgaultier)
-
Bug #3268: Fixed the bug that the schema name in a table name was not respected by
`yii\db\mysql\Schema`
(terazoid, qiangxue)
-
Enh #2264:
`CookieCollection::has()`
will return false for expired or removed cookies (qiangxue)
-
Enh #2837: Error page now shows arguments in stack trace method calls (samdark)
-
Enh #2906: Added support for using conditional comments for js and css files registered through asset bundles and Html helper (exromany, qiangxue)
...
...
framework/db/mysql/Schema.php
View file @
9b71adb4
...
...
@@ -183,7 +183,7 @@ class Schema extends \yii\db\Schema
*/
protected
function
findColumns
(
$table
)
{
$sql
=
'SHOW FULL COLUMNS FROM '
.
$this
->
quoteSimpleTableName
(
$table
->
n
ame
);
$sql
=
'SHOW FULL COLUMNS FROM '
.
$this
->
quoteSimpleTableName
(
$table
->
fullN
ame
);
try
{
$columns
=
$this
->
db
->
createCommand
(
$sql
)
->
queryAll
();
}
catch
(
\Exception
$e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment