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
commit9111a8a58a2559e3905ad304e03141c0c9ed7dee (patch)
tree80408d9a7172a73175ac96cdcd1440f1f116d273 /ext/pdo_sqlite/php_pdo_sqlite_int.h
parent9722bff0c337f015ecda5d072049ca599e2f7e71 (diff)
downloadphp-git-9111a8a58a2559e3905ad304e03141c0c9ed7dee.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 {