Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Fixed "Commands out of sync; you can't run this command now" #116

Merged

Conversation

malkesh
Copy link
Contributor

@malkesh malkesh commented May 2, 2019

  • Are you fixing a bug?

PHP: 5.6
MariaDB: 10.0.24

Fixed database session update.

@malkesh malkesh marked this pull request as ready for review May 2, 2019 07:34
@@ -129,9 +129,9 @@ public function write($id, $data)
$rows = $this->tableGateway->select([
$this->options->getIdColumn() => $id,
$this->options->getNameColumn() => $this->sessionName,
]);
])->current();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes like these require a failing test case validating that the bug was present and fixed afterwards.

@michalbundyra michalbundyra added this to the 2.8.6 milestone Aug 11, 2019
@michalbundyra michalbundyra merged commit 0bd40f1 into zendframework:master Aug 11, 2019
michalbundyra added a commit that referenced this pull request Aug 11, 2019
@michalbundyra
Copy link
Member

Thanks, @malkesh !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants