summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-06-12 02:35:34 +0000
committerArd Biesheuvel <abies@php.net>2004-06-12 02:35:34 +0000
commit50ac5db2b410de9b9faadaed786929d48b189571 (patch)
tree27c4cbd8e89517abc2f203b2dcc6b1c76a5ff305 /ext/pdo/php_pdo_driver.h
parent1e3854597cbbc8d91ce5904643f0cc04a55327a8 (diff)
downloadphp-git-50ac5db2b410de9b9faadaed786929d48b189571.tar.gz
Added double param type
Added param struct initialiser Reversed param parsing order (long <=> string)
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index a0f9ac16ab..63b2026466 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -43,6 +43,7 @@ enum pdo_param_type {
PDO_PARAM_STR,
PDO_PARAM_LOB,
PDO_PARAM_STMT, /* hierarchical result set */
+ PDO_PARAM_DBL,
};
enum pdo_fetch_type {
@@ -331,6 +332,8 @@ struct pdo_bound_param_data {
int is_param; /* parameter or column ? */
};
+#define PDO_BOUND_PARAM_INIT { -1, NULL, 0 }
+
/* represents a prepared statement */
struct _pdo_stmt_t {
/* driver specifics */