DBAL-457: [GH-280] Use int values instead of strings for PostgreSQL booleans #1655

Closed
doctrinebot opened this Issue Mar 4, 2013 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of chEbba:

Url: #280

Message:

The Problem:

The current implementation for PostgreSQL uses strings 'true' and 'false' which are not working with PDO::ATTREMULATEPREPARES.

Solution:

Use ints like in the default platform implementation.

Comments

  • Tested only on my local php 5.4.9
  • Fixed NamedParametersTest to use int columns instead of strings (does not work with PDO::ATTREMULATEPREPARES when compare string column IN array of ints)
  • Fixed DbalFunctionalTestCase sql parameters dumping (found while fixing NamedParametersTest)
  • Added support for driver options configuration via phpunit config globals
@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-280] was closed
#280

@doctrinebot

Comment created by @ocramius:

Solved at 55128a6

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment