mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Good patch from Brad Dewar that adds missing createCollation()
method. Fixes bug #60871 and is related to bug #55226
This commit is contained in:
parent
a2ce8b3f97
commit
9b55be870c
3 changed files with 133 additions and 1 deletions
|
@ -62,12 +62,23 @@ typedef struct _php_sqlite3_func {
|
|||
struct php_sqlite3_fci afunc, astep, afini;
|
||||
} php_sqlite3_func;
|
||||
|
||||
/* Structure for SQLite collation function */
|
||||
typedef struct _php_sqlite3_collation {
|
||||
struct _php_sqlite3_collation *next;
|
||||
|
||||
const char *collation_name;
|
||||
zval *cmp_func;
|
||||
struct php_sqlite3_fci fci;
|
||||
} php_sqlite3_collation;
|
||||
|
||||
/* Structure for SQLite Database object. */
|
||||
typedef struct _php_sqlite3_db_object {
|
||||
zend_object zo;
|
||||
int initialised;
|
||||
sqlite3 *db;
|
||||
php_sqlite3_func *funcs;
|
||||
php_sqlite3_collation *collations;
|
||||
|
||||
zend_bool exception;
|
||||
|
||||
zend_llist free_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue