Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/php/pecl-database-ibm_db2

Extension for IBM DB2 Universal Database, IBM Cloudscape, and Apache Derby
https://github.com/php/pecl-database-ibm_db2

Attempt at 2.2.0

Let CI catch anything I missed verification wise

c03e9b7421b62dcf2c86dfbaa1f779ce02b8bff7 authored about 1 year ago by Calvin Buckley <[email protected]>
same for 8.4 even though it'll be a year

f8ebed4c2a8df82a57fc4ae1c7f11beffb376181 authored about 1 year ago by Calvin Buckley <[email protected]>
Run 8.3 in CI

This is nightly 8.3 for now, but this should upgrade to production 8.3
when it's ready.

33d61af918b71137bf6a160343d214e6298a47a5 authored about 1 year ago by Calvin Buckley <[email protected]>
Merge pull request #57 from php/boolean

Boolean support

e7af8fde3db4a688d0fffc208e45d5fe6863e141 authored about 1 year ago by Calvin Buckley <[email protected]>
i forget that it's not an array anymore

2f82edbc45971ed613016368981b7c555a738f28 authored about 1 year ago by Calvin Buckley <[email protected]>
Fix version checks, add comment, add LUW version check

e9c27e2e5afd10af89338bd18e88fdf7810b239f authored about 1 year ago by Calvin Buckley <[email protected]>
make it based on what it is and not want we wish it was

7e973ed8508b8f829e396c1400b06cee50bd2e9e authored over 1 year ago by Calvin Buckley <[email protected]>
Treat SQL_BIT like SQL_BOOLEAN

It seems LUW prefers SQL_BIT (-7), but i prefers SQ_BOOLEAN (16).

The IBM i header files explic...

e6f8aa840aae1ac6c40a7f2d84b44c6b8667a39a authored over 1 year ago by Calvin Buckley <[email protected]>
Revert "break it for the sake of getting funny results from CI"

This reverts commit 2f28294579168556ec643dc44349fc8bd42c08d8.

90c495075c89019b0645ebcf43547a79372cb2a4 authored over 1 year ago by Calvin Buckley <[email protected]>
break it for the sake of getting funny results from CI

2f28294579168556ec643dc44349fc8bd42c08d8 authored over 1 year ago by Calvin Buckley <[email protected]>
it helps to actually include the connection

7a62942d9c8a638b4403d9af6d0c0dff3ad28a2c authored over 1 year ago by Calvin Buckley <[email protected]>
Add unit test

17dca9c4f6176f6250774b27a02b719a81b31347 authored over 1 year ago by Calvin Buckley <[email protected]>
Initial boolean support

Works with db2_result (albeit returns an integer) and db2_fetch_*
(which fetches booleans).

Tes...

9ccdffaad41add9bf3f37bf0717c46ff21f8b165 authored over 1 year ago by Calvin Buckley <[email protected]>
Merge pull request #53 from phansys/uncataloged

Argument 1 in `db2_connect()` and `db2_pconnect()` can contain the connection password

7c1458c7da0d4978cbc7e64233786d0d30fee64d authored almost 2 years ago by Calvin Buckley <[email protected]>
Argument 1 in `db2_connect()` and `db2_pconnect()` can contain the connection password

6b6f802a59f4a9e2b4dfbbb0895f492e27cbab62 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #52 from phansys/db2_fetch_row

Update allowed type and default value for `$row_number` parameter in `db2_fetch_row()`

e8e926502d69b6200d0fb08f8b48db823356e6af authored almost 2 years ago by Calvin Buckley <[email protected]>
Update allowed type and default value for `$row_number` parameter in `db2_fetch_row()`

bbc1287db6bdb0418feeaabc8f352c0087362f8c authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #51 from phansys/row_number

Update allowed type and default value for the `$row_number` parameter in several "fetch" functions

6f65637864ed35e412aa0d5d3e07a70e698708d0 authored almost 2 years ago by Calvin Buckley <[email protected]>
Update allowed type and default value for the `$row_number` parameter in several "fetch" functions

07ff9a516b84ddd5e7245a7f660584ae4561a1a2 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #49 from phansys/gh_ci_service

Leverage GitHub actions services instead of manually running the "ibmcom/db2" container

f3b1676db0b29091d0fe35e36b5ec1b4d8565633 authored almost 2 years ago by Calvin Buckley <[email protected]>
Leverage GitHub actions services instead of manually running the "ibmcom/db2" container

8517975255f16ee3299021b56c3249d4d0ea3731 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #50 from phansys/db2_statistics

Parameter 5 in `db2_statistics()` is defined as `bool`

236774b0ca5ef784fc64df0135236bb68f28975d authored almost 2 years ago by Calvin Buckley <[email protected]>
Parameter 5 in `db2_statistics()` is defined as `bool`

f7858b088b93ded886cff982464e275cf2f44585 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #48 from phansys/ci

Update Docker image location for IBM DB2

f4bfd692677db26cb16b5c3e72e0e61f122f05ac authored almost 2 years ago by Calvin Buckley <[email protected]>
Update Docker image location for IBM DB2

dd6bb6f1be220f6e43d89f8a84a6e4c70c9507d4 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #40 from phansys/ci_stub

[CI] Download just `gen_stub.php` script instead of the whole PHP source

7d70cb643be8aa099702676ca6e76240c476e942 authored almost 2 years ago by Calvin Buckley <[email protected]>
[CI] Download just `gen_stub.php` script instead of the whole PHP source

12347be5b2a724ed1207a81d901dda6f7fa7a142 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #39 from phansys/db2_bind_param

Argument 1 for `db2_bind_param()` is a statement resource

c5b5708249ea67a8a8d7c25a4054788b4702292a authored almost 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #43 from phansys/readme

Update `README.md` to make clear the situation about Db2 for IBM i

116e19f7df43329df4a4696922eb837b34eca1df authored almost 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #42 from phansys/ci_checkout

[CI] Bump to "actions/checkout@v3"

47493394b904995adc6a404e24c827425ae02b11 authored almost 2 years ago by Calvin Buckley <[email protected]>
Update `README.md` to make clear the situation about Db2 for IBM i

ab003b2956fa41e877d1e983816d60cb1b2b74a3 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
[CI] Bump to "actions/checkout@v3"

68ce9d757d6a451a02ac50d864206a541ef1e9e7 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Argument 1 for `db2_bind_param()` is a statement resource

3a6023e702fa415eb7336996f8b4d0b597b90239 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
We don't need to check out php-src for 7.x

The following check needs 8.x, so also depend on 8.x for the
download. Perhaps this could also b...

f9b90ca54866bd55ec48af31456b278ae066bf5a authored almost 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #36 from phansys/sensitive_params

Use `\SensitiveParameter` attribute for `$password` parameter in `db2_connect()` and `db2_pconne...

765c646ab699fc24b653ca47a926033c5b7d78f5 authored almost 2 years ago by Calvin Buckley <[email protected]>
Use `\SensitiveParameter` attribute for `$password` parameter in `db2_connect()` and `db2_pconnect()` functions

2a485bfb29e8bed579d2348709fcae6a7c40fc39 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #38 from phansys/db2_execute

Parameter 2 for `db2_execute()` contains prepared statement parameters, not options

a5cd8531df83368888eb721a9844f97f3c563ee0 authored almost 2 years ago by Calvin Buckley <[email protected]>
Parameter 2 for `db2_execute()` contains prepared statement parameters, not options

5791c3bcbca4604d7659d220690f0248349d9eb5 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #35 from phansys/stub_ci

[CI] Check that headers are up to date in the CI pipeline

74eea5f9ff9b1e445bf067d0070fe4e8f3a53063 authored almost 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #37 from phansys/last_insert_id

`db2_last_insert_id()` may return `null`

44da4e8a25e57712e715459178201536326b9db6 authored almost 2 years ago by Calvin Buckley <[email protected]>
`db2_last_insert_id()` may return `null`

255cfca23c60640a237358268419e04bb9d4cca4 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
[CI] Check that headers are up to date in the CI pipeline

558908d084cf796cb44d069ec6a4bb8181217370 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #34 from phansys/object_stdclass

Instances of `object` returned by `db2_*()` functions are always instances of `stdClass`

1ab0aff5c29094c1ebd3ce943799c8f6c1ee5d71 authored almost 2 years ago by Calvin Buckley <[email protected]>
Instances of `object` returned by `db2_*()` functions are always instances of `stdClass`

696235d1c0059248c0f4e73b0a257cf527f7a466 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #32 from phansys/stub

Update `ibm_db2.stub.php`

0af91df4f7d96853512fac48644c132871de6b9f authored almost 2 years ago by Calvin Buckley <[email protected]>
Update `ibm_db2.stub.php` and resulting headers

9a196c8bae25f0621697f9f996671caccc8603a3 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #31 from phansys/db2_server_info

Confirm that `db2_server_info()` returns an instance of `\stdClass`

61b806f31e29171b71396e9e6a88281ea4880ebb authored almost 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #30 from phansys/readme

Update `README.md`

f91f731dd2c8d020dd446c9067f2b223fcba0c3d authored almost 2 years ago by Calvin Buckley <[email protected]>
Update `README.md`

b47b7e597b566e6f19ed430fa4faea3a36905fc0 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Confirm that `db2_server_info()` returns an instance of `\stdClass`

89ed5e084bcf98e7f6b685c1a537b9aa8ee47ab0 authored almost 2 years ago by Javier Spagnoletti <[email protected]>
Merge pull request #29 from php/cleanup-m4

Cleanup autotools scripts

75b16f651e671ab07d581b063302440aaa5939ad authored almost 2 years ago by Calvin Buckley <[email protected]>
Add comment about PASE defines

0a9c66ff8cc2ccd16dcff1fa1c73ff3b5fb4243d authored almost 2 years ago by Calvin Buckley <[email protected]>
Cleanup autotools scripts

The changes match that of php/pecl-database-pdo_ibm#16.

e53fd03e4c0aa74408ed8a4cc3df3347cf5bef78 authored almost 2 years ago by Calvin Buckley <[email protected]>
Update CI for 8.2

ad6334e7aee177d4c2a63d6db02dd307c2836826 authored almost 2 years ago by Calvin Buckley <[email protected]>
Workaround for empty/all whitespace string on trim

fb50e0b10b0d0dc8ddd5f220e39d95afcb655c23 authored almost 2 years ago by Calvin Buckley <[email protected]>
Bump to 2.1.7 to correct packaging mistake

0e1f023947ce6495f713992b091c5288def7dfc4 authored over 2 years ago by Calvin Buckley <[email protected]>
Check if xml and C header version are in sync

pecl package-verify doesn't seem to run this test, but pecl.php.net
does.

I don't know of a sta...

c4c9f0bc938f4abdeed0c65131fed207e5392da4 authored over 2 years ago by Calvin Buckley <[email protected]>
2.1.6

cf5320a5852c6902761eff7b3b82f6b2d217cab1 authored over 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #26 from php/php81-ci

Make CI go on 8.1

4cee62727b0dd9d678a29febb716d0805b31c1be authored over 2 years ago by Calvin Buckley <[email protected]>
Handle deprecation of null to ?string in tests

Probably not the ideal fix; should perhaps look at changing the stub
instead of the callsites.

35356b67dbf3aef7da5b6d90f16d335b672b849e authored over 2 years ago by Calvin Buckley <[email protected]>
Disable skip cache, since skip check uses name

a88e407723da980edfdffb72dfcd619b5932301a authored over 2 years ago by Calvin Buckley <[email protected]>
Make CI go on 8.1

ecabf2a97d841466c00fcc4b7de05011e7c1aeae authored over 2 years ago by Calvin Buckley <[email protected]>
Merge pull request #23 from praveen-db2/patch-1

Update README.md to have pre-requisite info.

2880aa16cfbbf5ddc20ee8a575d1d8c6b91ec975 authored over 2 years ago by Calvin Buckley <[email protected]>
Update README.md

731b2c9c73255d0580cea8fc90fb2f52e29512de authored over 2 years ago by Praveen Narayanappa <[email protected]>
Update README.md to have pre-requisite info.

Hi @NattyNarwhal,

Can we update readme as I proposed here, I just added an extra pre-requ...

238548e1b888facc57154105ed96b2fd45351ea8 authored over 2 years ago by Praveen Narayanappa <[email protected]>
Verify PECL package as part of CI

b87c0803c24b9718aca15ce1ecf82f7343a4c927 authored almost 3 years ago by Calvin Buckley <[email protected]>
Remove deleted tests from manifest

f72363f1c7d0fb477333f3532741761bbb7b277c authored almost 3 years ago by Calvin Buckley <[email protected]>
Merge pull request #21 from php/ci

GitHub Actions CI

de3ef0f24f69ae62512451bfc443a321526a8c78 authored almost 3 years ago by Calvin Buckley <[email protected]>
Temporarily disable PHP 8.1 tests

Most of the failures are just noise related to argument nullability
deprecations that we can cle...

1f7db1523f4d92b03ab00cfe77732435c1ebe2cf authored almost 3 years ago by Calvin Buckley <[email protected]>
Attempt to cache the docker container

This is a big 2.7GB download. It'd be nice if we didn't have to keep
redownloading it...

ff6ec7402bb55bef468272d3ab96323dd63d095f authored almost 3 years ago by Calvin Buckley <[email protected]>
Merge pull request #19 from php/check-pw-for-persistent

Include password in persistent hash key

e103c687ae2d28937c0519dbf53a557dc4ac289c authored almost 3 years ago by Calvin Buckley <[email protected]>
PHP 7.3 seems to be dropped by the Windows setup

3d3dd8da72b92b98cc345716e1d3474f084a6c89 authored almost 3 years ago by Calvin Buckley <[email protected]>
Skip debug leak check test on release builds, make note of it not working on 8 anyways

2c261bacc3c862c9f843ff73e1d2e012ce190a52 authored almost 3 years ago by Calvin Buckley <[email protected]>
Attempt to use Docker container for tests

7a6a128c90a21c468b401ef657879cde38bb2d5f authored almost 3 years ago by Calvin Buckley <[email protected]>
Add GitHub Actions CI

d73c2805c598c485d4376de0bae22df5910191ee authored almost 3 years ago by Calvin Buckley <[email protected]>
Handle 64-bit clidriver on Windows

6f6f85e7a573d577176f284525a198e40f4c42a8 authored almost 3 years ago by Calvin Buckley <[email protected]>
Add test case for improper persistent PW handling

4ba59617eb6c58ec5d40d7360571210edfb5c5af authored almost 3 years ago by Calvin Buckley <[email protected]>
Merge pull request #12 from php/cleanup-v6

Remove unnecessary IBM i variants of tests

276e7c09f2217b52e62710f7e3e8b10bd2fe9e48 authored about 3 years ago by Calvin Buckley <[email protected]>
Use sizeof string constant for constant parts

563cb03dab2a4c60747d076217f13aeb0558fc20 authored about 3 years ago by Calvin Buckley <[email protected]>
correct comment mistake

Ideally this should be constexpr, but this is C99, not C++17...

2c73ec24637a74e836e7755d0d25fbe5976487ef authored about 3 years ago by Calvin Buckley <[email protected]>
Use murmur for hashing

Not cryptographic, but obfuscates the password for the purpose of a hash
key for internal usage.

085a66caa48d48f960b4b54bb971303799f7dc02 authored about 3 years ago by Calvin Buckley <[email protected]>
explain the magic number for the hash key

ae5d274ca66f1fb10ba4bf0cdcc02091f1da45f7 authored about 3 years ago by Calvin Buckley <[email protected]>
Include password in persistent hash key

Matches behaviour of other database extensions, and removes some
surprise that the extension doe...

5a49472dad68d4b25cb67b1ba83057ed56edda81 authored about 3 years ago by Calvin Buckley <[email protected]>
[IBMi] Use buffer's real length for pconnect check

The buffer is an unknown state, but likely all zeroes. Using zero here
would result in spurious ...

4fa9ae3bd206c6a52b852d6dc24dde2796000e57 authored about 3 years ago by Calvin Buckley <[email protected]>
Update prose like PDO_IBM for Windows builds

38a39e000510a416724375659ce4235d9f836f97 authored about 3 years ago by Calvin Buckley <[email protected]>
fetch system naming mode at runtime (PASE)

This is similar to what PDO_IBM does. The benefit is for applications
like the Toolkit for gener...

140aefd7c231ba8f957ee1d24298af58a93384cf authored about 3 years ago by Calvin Buckley <[email protected]>
Merge branch 'master' of github.com:php/pecl-database-ibm_db2

aa8e82582c6f85f537c418a981b4b5cc81b4e3d9 authored about 3 years ago by Calvin Buckley <[email protected]>
2.1.5

deca81515ea8c08f874e7e831f6fdc4e974ab899 authored about 3 years ago by Calvin Buckley <[email protected]>
Merge pull request #13 from cmb69/cmb/ulong

Fix #81331: compile errors ibm_db2.c v2.1.3 on Windows

7b25ec67b0a7c5b68c6d68dc01790ba28453b21f authored over 3 years ago by Calvin Buckley <[email protected]>
Use proper types

These should actually be `zend_long`, not `ulong`. `num_idx` in
`_php_db2_parse_options` is unu...

916c5281c75b9ce23e7955ae373384efe2c4cf2c authored over 3 years ago by Christoph M. Becker <[email protected]>
Fix #81331: compile errors ibm_db2.c v2.1.3 on Windows

As of PHP 7.4.0, the fallback definition of `ulong` has been removed
from php-src[1]. This is u...

3d612efbb2d56c1118b5d5d245a98af8c3825403 authored over 3 years ago by Christoph M. Becker <[email protected]>
Convert to the modern (7.3) persistent resource API

7052dc7922449c943465cb0b928353387da4a11f authored over 3 years ago by Calvin Buckley <[email protected]>
Oops, we use erealloc later, so use this too

ddfff11c029ba361f6a71ca9abf5aab0420d1085 authored over 3 years ago by Calvin Buckley <[email protected]>
fix missing free on error

19850ece1954bb24f433ea2286f447a7b6c85da0 authored over 3 years ago by Calvin Buckley <[email protected]>
fix mixed up free/return order

f5650b2729ad078bfb21179afd4312deef0c0f2f authored over 3 years ago by Calvin Buckley <[email protected]>
Free when no rows in db2_execute_many

LUW only so slipped by me. I suspect the efree in chaining flag
condition should probably be mov...

7e593047db8761829c9a829100114425a1401f23 authored over 3 years ago by Calvin Buckley <[email protected]>
Frees in db2_result

a5ccc7bd3b82399df83f71feef8627e2bfd7bf6e authored over 3 years ago by Calvin Buckley <[email protected]>
Fix leak with db2_escape_string

Allocation failure should also be handled in a way that fits the func
info

9abcc9ac69893eb059dc8070e0495a5726e6aece authored over 3 years ago by Calvin Buckley <[email protected]>
Fix leak when wrong args given to last insert ID

db9dcd79d1447369759a057eee2228061d3fb1c4 authored over 3 years ago by Calvin Buckley <[email protected]>
they were identical somehow

0a4eda2894c12ab5eb42d2f2c5bd7f87d3a29677 authored over 3 years ago by Calvin Buckley <[email protected]>