diff options
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-x | ext/pdo_mysql/php_pdo_mysql_int.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index 9a2c473a13..4f5a091c98 100755 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2004 The PHP Group | + | Copyright (c) 1997-2005 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.0 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -13,6 +13,7 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: George Schlossnagle <george@omniti.com> | + | Wez Furlong <wez@php.net> | +----------------------------------------------------------------------+ */ @@ -52,14 +53,20 @@ typedef struct { MYSQL_ROW current_data; long *current_lengths; pdo_mysql_error_info einfo; -} pdo_mysql_stmt; +#if HAVE_MYSQL_STMT_PREPARE + MYSQL_STMT *stmt; + + int num_params; + MYSQL_BIND *params; + my_bool *in_null; + unsigned long *in_length; + + MYSQL_BIND *bound_result; + my_bool *out_null; + unsigned long *out_length; -typedef struct { - char *repr; - long repr_len; - int mysql_type; - void *thing; /* for LOBS, REFCURSORS etc. */ -} pdo_mysql_bound_param; +#endif +} pdo_mysql_stmt; extern pdo_driver_t pdo_mysql_driver; |