summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/php_pdo_sqlite_int.h
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2012-01-29 04:22:23 +0000
committerRasmus Lerdorf <rasmus@php.net>2012-01-29 04:22:23 +0000
commitdc27324dd926571442ca37c5586f418aafa72b94 (patch)
tree7f77423f120fa52c6661e743ef2a53bc03b501e7 /ext/pdo_sqlite/php_pdo_sqlite_int.h
parentd8b312845c376440900296fc0ed0c1897070db37 (diff)
downloadphp-git-dc27324dd926571442ca37c5586f418aafa72b94.tar.gz
createCollation() for pdo_sqlite as well
Closes bug #55226
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
-rw-r--r--ext/pdo_sqlite/php_pdo_sqlite_int.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/php_pdo_sqlite_int.h b/ext/pdo_sqlite/php_pdo_sqlite_int.h
index 9a8d117535..8da419674f 100644
--- a/ext/pdo_sqlite/php_pdo_sqlite_int.h
+++ b/ext/pdo_sqlite/php_pdo_sqlite_int.h
@@ -46,10 +46,19 @@ struct pdo_sqlite_func {
struct pdo_sqlite_fci afunc, astep, afini;
};
+struct pdo_sqlite_collation {
+ struct pdo_sqlite_collation *next;
+
+ const char *name;
+ zval *callback;
+ struct pdo_sqlite_fci fc;
+};
+
typedef struct {
sqlite3 *db;
pdo_sqlite_error_info einfo;
struct pdo_sqlite_func *funcs;
+ struct pdo_sqlite_collation *collations;
} pdo_sqlite_db_handle;
typedef struct {