Home
last modified time | relevance | path

Searched refs:collation (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/mysqli/tests/
H A Dmysqli_change_user_set_names.phpt21 $charsets[$row['Charset']] = $row['Default collation'];
41 foreach ($charsets as $charset => $collation) {
59 $collation != $not_changed['collation_connection'] &&
60 mysqli_query($link, sprintf("SET @@collation_connection = '%s'", $collation)))
64 $collation != $not_changed['collation_database'] &&
65 mysqli_query($link, sprintf("SET @@collation_database = '%s'", $collation)))
69 $collation != $not_changed['collation_server'] &&
70 mysqli_query($link, sprintf("SET @@collation_server = '%s'", $collation)))
133 if ($charset->collation != $defaults['collation_connection'])
134 printf("[015] Expecting collation to be %s got %s\n",
[all …]
H A Dmysqli_get_charset.phpt18 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
22 …if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation']))
23 printf("[008] Cannot determine current character set and collation\n");
51 if (!isset($charset->collation) ||
52 !is_string($charset->collation) ||
53 $collation_connection !== $charset->collation)
54 …string/%s, got %s/%s\n", $collation_connection, gettype($charset->collation), $charset->collation);
H A Dmysqli_set_charset.phpt26 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
31 printf("[008] Cannot determine current character set and collation\n");
51 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c129 collation = H->collations; in pdo_sqlite_cleanup_callbacks()
130 H->collations = collation->next; in pdo_sqlite_cleanup_callbacks()
135 collation->name, in pdo_sqlite_cleanup_callbacks()
137 collation, in pdo_sqlite_cleanup_callbacks()
141 efree((char*)collation->name); in pdo_sqlite_cleanup_callbacks()
145 efree(collation); in pdo_sqlite_cleanup_callbacks()
650 collation = (struct pdo_sqlite_collation*)ecalloc(1, sizeof(*collation)); in pdo_sqlite_create_collation_internal()
659 H->collations = collation; in pdo_sqlite_create_collation_internal()
670 efree(collation); in pdo_sqlite_create_collation_internal()
722 while (collation) { in pdo_sqlite_get_gc()
[all …]
H A Dpdo_sqlite.c341 struct pdo_sqlite_collation *collation = (struct pdo_sqlite_collation*) context; in php_sqlite_collation_callback() local
347 zend_call_known_fcc(&collation->callback, &retval, /* argc */ 2, zargs, /* named_params */ NULL); in php_sqlite_collation_callback()
/php-src/ext/intl/tests/
H A Dbug12887.phpt11 $keywords_arr = ut_loc_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK;sort=PHONEBOOK' );
27 collation = PHONEBOOK
H A Dcollator_get_set_strength.phpt9 * Try to set/get collation strength.
13 * Set given collation strength, then get it back
H A Dlocale_get_keywords2.phpt18 "de_DE@currency=EUR;collation=PHONEBOOK",
23 'de_DE@currency=EUR;collation=PHONEBOOK',
101 de_DE@currency=EUR;collation=PHONEBOOK: Key is collation and Value is PHONEBOOK
H A Dcollator_get_set_attribute.phpt9 * Try to set/get a collation attribute.
/php-src/ext/mysqli/tests/functions/
H A Dmysqli_character_set_name.phpt16 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation');
21 throw new Exception("Cannot determine current character set and collation");
H A Dmysqli_character_set_name_oo.phpt16 … $link->query('SELECT @@character_set_connection AS charset, @@collation_connection AS collation');
21 throw new Exception("Cannot determine current character set and collation");
/php-src/ext/sqlite3/
H A Dsqlite3.c1042 php_sqlite3_collation *collation; in PHP_METHOD() local
1061 collation = (php_sqlite3_collation *)ecalloc(1, sizeof(*collation)); in PHP_METHOD()
1067 collation->next = db_obj->collations; in PHP_METHOD()
1068 db_obj->collations = collation; in PHP_METHOD()
1072 efree(collation); in PHP_METHOD()
2181 php_sqlite3_collation *collation; in php_sqlite3_object_free_storage() local
2214 collation = intern->collations; in php_sqlite3_object_free_storage()
2215 intern->collations = collation->next; in php_sqlite3_object_free_storage()
2223 efree(collation); in php_sqlite3_object_free_storage()
2263 while (collation != NULL) { in php_sqlite3_get_gc()
[all …]
/php-src/ext/sqlite3/tests/
H A Dgh11878.phpt18 $this->sqlite->createCollation("collation", array($this, "SQLiteIndex"));
/php-src/ext/mysqli/
H A Dmysqli_nonapi.c963 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local
979 collation = cs->collation;
988 add_property_string(return_value, "collation",(collation) ? (char *)collation : "");
/php-src/ext/mysqlnd/
H A Dmysqlnd_structs.h182 const char *collation; member

Completed in 31 milliseconds