summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorfandrieu <fandrieu@gmail.com>2017-10-17 14:16:38 -0400
committerAdam Baratz <adambaratz@php.net>2017-10-17 14:16:38 -0400
commit014fd21b482cd1aa8e3fc8662936c18cee300670 (patch)
treea5417a29cbc6b0d9bcc8c9928ec52bebebb4bce4 /ext/mbstring/php_mbregex.c
parentf16b918e471de6cef38f7768f51b5f3deb2c211d (diff)
downloadphp-git-014fd21b482cd1aa8e3fc8662936c18cee300670.tar.gz
Implemented request #69592: allow 0-column rowsets to be skipped automatically
This adds a new attribute PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS to enable automatic skipping of empty rowsets. This happens with some SQL commands (like PRINT or SET): a rowset with 0 columns is returned by the driver. With this option enabled, 0 columns rowsets are automatically skipped, mirroring the behavior of the deprecated mssql extension. Credits go to MiRacLe-RPZ for developping and promoting this patch.
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
0 files changed, 0 insertions, 0 deletions