mirror of
https://github.com/php/php-src.git
synced 2024-10-07 17:56:12 +00:00
6e0d8dd06f
Allow drivers to add methods to dbh and stmt objects (note that we can't use a class, because the use only sees the PDO class). Clarify the api slightly: PDO::exec() is used for one-shot queries that don't return rows PDO::query() is a convenience function for returning a rowset without having to go through the steps of preparing and executing.
11 lines
317 B
Plaintext
Executable File
11 lines
317 B
Plaintext
Executable File
dnl $Id$
|
|
dnl config.m4 for extension pdo
|
|
|
|
PHP_ARG_ENABLE(pdo, whether to enable PDO support,
|
|
[ --enable-pdo Enable PHP Data Objects support])
|
|
|
|
if test "$PHP_PDO" != "no"; then
|
|
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
|
|
PHP_ADD_MAKEFILE_FRAGMENT
|
|
fi
|