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
ea47ce5c
Commit
ea47ce5c
authored
Dec 30, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code style fixes
parent
b4719001
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Connection.php
framework/yii/db/Connection.php
+5
-4
DbFixtureManager.php
framework/yii/test/DbFixtureManager.php
+1
-1
No files found.
framework/yii/db/Connection.php
View file @
ea47ce5c
...
...
@@ -246,6 +246,10 @@ class Connection extends Component
'cubrid'
=>
'yii\db\cubrid\Schema'
,
// CUBRID
];
/**
* @var string Custom PDO wrapper class. If not set, it will use "PDO" or "yii\db\mssql\PDO" when MSSQL is used.
*/
public
$pdoClass
;
/**
* @var Transaction the currently active transaction
*/
private
$_transaction
;
...
...
@@ -253,10 +257,7 @@ class Connection extends Component
* @var Schema the database schema
*/
private
$_schema
;
/**
* @var string Custom PDO wrapper class. If not set, it will use "PDO" or "yii\db\mssql\PDO" when MSSQL is used.
*/
public
$pdoClass
;
/**
* Returns a value indicating whether the DB connection is established.
...
...
framework/yii/test/DbFixtureManager.php
View file @
ea47ce5c
...
...
@@ -145,7 +145,7 @@ class DbFixtureManager extends Component
}
$this
->
db
->
createCommand
()
->
truncateTable
(
$tableName
)
->
execute
();
$this
->
db
->
createCommand
()
->
resetSequence
(
$tableName
,
1
)
->
execute
();
$this
->
db
->
createCommand
()
->
resetSequence
(
$tableName
,
1
)
->
execute
();
$fileName
=
$this
->
basePath
.
'/'
.
$tableName
.
'.php'
;
if
(
!
is_file
(
$fileName
))
{
...
...
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