This repository was archived by the owner on Jan 8, 2020. It is now read-only.
Enable persistent connections for IbmDb2.#5314
Merged
Merged
Conversation
Usage example in global.php:
<?php
return array(
'db' => array(
'driver' => 'IbmDb2',
'database' => '*LOCAL',
'username' => 'GUIDO',
'password' => 'GUIDO55',
'persistent' => true,
'driver_options' => array(
'i5_naming' => DB2_I5_NAMING_ON,
'i5_libl' => 'WSDATA QGPL'
),
'platform_options' => array(
'quote_identifiers' => false
)
),
'service_manager' => array(
'factories' => array(
'Zend\Db\Adapter\Adapter' =>
'Zend\Db\Adapter\AdapterServiceFactory'
)
)
);
Change-Id: I42ff3d52b2f112cefb828432c93eb409d42b2cad
Contributor
|
@guidofaecke the travis failure because of trailing_spaces, you can fix it with php-cs-fixer : |
'db' => array(
'driver' => 'IbmDb2',
'database' => '*LOCAL',
'username' => 'USER',
'password' => 'PASSWORD',
'persistent' => true,
'driver_options' => array(
'i5_naming' => DB2_I5_NAMING_ON,
'i5_libl' => 'SOMELIB QGPL'
),
'platform_options' => array(
'quote_identifiers' => false
)
),
'persistent' accepts true/false, or can be left out
Change-Id: I8b42f83e7be794286fc5b23e8dc195bb22b23b66
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Usage example in global.php:
Change-Id: I42ff3d52b2f112cefb828432c93eb409d42b2cad