summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-06-02 09:36:39 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-06-02 10:45:47 +0200
commit63bd8f38f4b7e8ffbcbd0ea607e21041ebba2455 (patch)
treeb3cf4c1756182744627081fb0454db73a4ef1bc6 /sapi/cli/php_http_parser.c
parent923c45bdcaebf317ce84a4bfb3fa39beae1bf952 (diff)
downloadphp-git-63bd8f38f4b7e8ffbcbd0ea607e21041ebba2455.tar.gz
Fix #79664: PDOStatement::getColumnMeta fails on empty result set
As its name suggests, `sqlite3_data_count` returns the number of columns in the current row of the result set; we are interested in the number of columns regardless of the current row, so we have to use `sqlite3_column_count` instead.
Diffstat (limited to 'sapi/cli/php_http_parser.c')
0 files changed, 0 insertions, 0 deletions