summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-02-19 23:48:30 +0000
committerMarcus Boerger <helly@php.net>2005-02-19 23:48:30 +0000
commitb788dc9d2a22760967a0727139873eaf4253e81a (patch)
tree9a2cdaaadc4921a168db79172677720eee277919 /ext/pdo/php_pdo_driver.h
parenta452a445cf7e13ba4c15c5724a59c8b4774902db (diff)
downloadphp-git-b788dc9d2a22760967a0727139873eaf4253e81a.tar.gz
- Add fetch mode PDO_FETCH_UNIQUE
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 02d30fdaef..eaf1f742c4 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -83,6 +83,7 @@ enum pdo_fetch_type {
#define PDO_FETCH_FLAGS 0xFFFF0000 /* fetchAll() modes or'd to PDO_FETCH_XYZ */
#define PDO_FETCH_GROUP 0x00010000 /* fetch into groups */
+#define PDO_FETCH_UNIQUE 0x00030000 /* fetch into groups assuming first col is unique */
/* fetch orientation for scrollable cursors */
enum pdo_fetch_orientation {