Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Tomáš Trávníček
doctrine-dbal
Commits
0062d9c3
Commit
0062d9c3
authored
Jun 25, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete DQL rewrite, Fixed : Ticket #13
parent
94433f90
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
95 deletions
+160
-95
Query.php
Doctrine/Query.php
+118
-63
Session.php
Doctrine/Session.php
+4
-2
QueryTestCase.php
tests/QueryTestCase.php
+38
-30
No files found.
Doctrine/Query.php
View file @
0062d9c3
This diff is collapsed.
Click to expand it.
Doctrine/Session.php
View file @
0062d9c3
...
...
@@ -74,7 +74,9 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
/**
* the constructor
* @param PDO $pdo -- database handle
*
* @param Doctrine_Manager $manager the manager object
* @param PDO $pdo the database handler
*/
public
function
__construct
(
Doctrine_Manager
$manager
,
PDO
$pdo
)
{
$this
->
dbh
=
$pdo
;
...
...
@@ -562,7 +564,7 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
if
(
$k
==
0
)
{
// record uses auto_increment column
$id
=
$this
->
dbh
->
last
insertid
();
$id
=
$this
->
dbh
->
last
InsertID
();
if
(
!
$id
)
$id
=
$table
->
getMaxIdentifier
();
...
...
tests/QueryTestCase.php
View file @
0062d9c3
This diff is collapsed.
Click to expand it.
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