Home
last modified time | relevance | path

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

/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_driver.c135 collation = H->collations; in pdo_sqlite_cleanup_callbacks()
141 collation->name, in pdo_sqlite_cleanup_callbacks()
143 collation, in pdo_sqlite_cleanup_callbacks()
147 efree((char*)collation->name); in pdo_sqlite_cleanup_callbacks()
148 if (collation->callback) { in pdo_sqlite_cleanup_callbacks()
151 efree(collation); in pdo_sqlite_cleanup_callbacks()
492 collation->fc.fci.size = sizeof(collation->fc.fci); in php_sqlite3_collation_callback()
494 collation->fc.fci.function_name = collation->callback; in php_sqlite3_collation_callback()
696 collation = (struct pdo_sqlite_collation*)ecalloc(1, sizeof(*collation)); in PHP_METHOD()
706 H->collations = collation; in PHP_METHOD()
[all …]
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_change_user_set_names.phpt36 $charsets[$row['Charset']] = $row['Default collation'];
56 foreach ($charsets as $charset => $collation) {
74 $collation != $not_changed['collation_connection'] &&
75 mysqli_query($link, sprintf("SET @@collation_connection = '%s'", $collation)))
79 $collation != $not_changed['collation_database'] &&
80 mysqli_query($link, sprintf("SET @@collation_database = '%s'", $collation)))
84 $collation != $not_changed['collation_server'] &&
85 mysqli_query($link, sprintf("SET @@collation_server = '%s'", $collation)))
156 if ($charset->collation != $defaults['collation_connection'])
157 printf("[015] Expecting collation to be %s got %s\n",
[all …]
H A Dmysqli_get_charset.phpt40 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
44 if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation']))
45 printf("[008] Cannot determine current character set and collation\n");
77 if (!isset($charset->collation) ||
78 !in_array(gettype($charset->collation), array("string", "unicode")) ||
79 ($collation_connection !== $charset->collation))
80 …string/%s, got %s/%s\n", $collation_connection, gettype($charset->collation), $charset->collation);
H A Dmysqli_character_set_name_oo.phpt35 …mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
40 printf("[009] Cannot determine current character set and collation\n");
44 if ($tmp['collation'] === $charset) {
45 …printf("[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instea…
46 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
H A Dmysqli_character_set_name.phpt41 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
46 printf("[009] Cannot determine current character set and collation\n");
50 if ($tmp['collation'] === $charset) {
51 …printf("[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instea…
52 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
H A Dmysqli_set_charset.phpt69 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
74 printf("[008] Cannot determine current character set and collation\n");
94 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
/PHP-5.5/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_keywords.phpt19 "de_DE@currency=EUR;collation=PHONEBOOK",
24 'de_DE@currency=EUR;collation=PHONEBOOK',
102 de_DE@currency=EUR;collation=PHONEBOOK: Key is collation and Value is PHONEBOOK
H A Dlocale_get_keywords2.phpt19 "de_DE@currency=EUR;collation=PHONEBOOK",
24 'de_DE@currency=EUR;collation=PHONEBOOK',
102 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-5.5/ext/mysql/tests/
H A Dmysql_client_encoding.phpt36 …_query('SELECT @@character_set_connection AS charset, @@collation_connection AS collation', $link))
41 printf("[008] Cannot determine current character set and collation\n");
44 if ($link_enc === $tmp['collation']) {
45 …printf("[009] Known bug, collation instead of chatset returned, http://bugs.mysql.com/bug.php?id=7…
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c871 collation->fci.fci.size = (sizeof(collation->fci.fci));
873 collation->fci.fci.function_name = collation->cmp_func;
889 collation->fci.fci.params = zargs;
891 if ((ret = zend_call_function(&collation->fci.fci, &collation->fci.fcc TSRMLS_CC)) == FAILURE) {
1037 php_sqlite3_collation *collation; local
1060 collation = (php_sqlite3_collation *)ecalloc(1, sizeof(*collation));
1068 db_obj->collations = collation;
1072 efree(collation);
2079 collation = intern->collations;
2085 if (collation->cmp_func){
[all …]
/PHP-5.5/ext/mysqli/
H A Dmysqli_nonapi.c997 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local
1014 collation = (char *)cs.name;
1028 collation = cs->collation;
1038 add_property_string(return_value, "collation",(collation) ? (char *)collation : "", 1);
/PHP-5.5/ext/intl/doc/
H A DTutorial.txt25 supported by ICU) and the actual locale is "root" (the collation data comes unmodified from the UCA…
48 Performance optimizations have been made for ICU collation with the default level
237 NUMERIC_COLLATION - When turned on, this attribute generates a collation key for the
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_structs.h140 const char *collation; member

Completed in 80 milliseconds