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
1cc0c764
Commit
1cc0c764
authored
Apr 22, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
c435286e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Session.class.php
classes/Session.class.php
+2
-0
Mysql.class.php
classes/Session/Mysql.class.php
+1
-2
No files found.
classes/Session.class.php
View file @
1cc0c764
...
...
@@ -414,6 +414,8 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
public
function
bulkInsert
()
{
if
(
empty
(
$this
->
insert
))
return
false
;
foreach
(
$this
->
insert
as
$name
=>
$inserts
)
{
if
(
!
isset
(
$inserts
[
0
]))
...
...
classes/Session/Mysql.class.php
View file @
1cc0c764
...
...
@@ -75,8 +75,6 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
if
(
empty
(
$this
->
insert
))
return
false
;
$values
=
$this
->
getMaximumValues
(
array_keys
(
$this
->
insert
));
foreach
(
$this
->
insert
as
$name
=>
$inserts
)
{
if
(
!
isset
(
$inserts
[
0
]))
continue
;
...
...
@@ -156,6 +154,7 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
}
}
}
$this
->
insert
=
array
();
return
true
;
}
...
...
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