From dc27324dd926571442ca37c5586f418aafa72b94 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 29 Jan 2012 04:22:23 +0000 Subject: createCollation() for pdo_sqlite as well Closes bug #55226 --- ext/pdo_sqlite/php_pdo_sqlite_int.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h') 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 { -- cgit v1.2.1