Searched refs:collation (Results 1 – 14 of 14) sorted by relevance
/PHP-8.1/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 129 collation = H->collations; in pdo_sqlite_cleanup_callbacks() 135 collation->name, in pdo_sqlite_cleanup_callbacks() 137 collation, in pdo_sqlite_cleanup_callbacks() 145 efree(collation); in pdo_sqlite_cleanup_callbacks() 492 collation->fc.fci.size = sizeof(collation->fc.fci); in php_sqlite3_collation_callback() 493 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback); in php_sqlite3_collation_callback() 503 if ((ret = zend_call_function(&collation->fc.fci, &collation->fc.fcc)) == FAILURE) { in php_sqlite3_collation_callback() 665 collation = (struct pdo_sqlite_collation*)ecalloc(1, sizeof(*collation)); in PHP_METHOD() 679 efree(collation); in PHP_METHOD() 718 while (collation) { in pdo_sqlite_get_gc() [all …]
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_change_user_set_names.phpt | 36 $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))) 148 if ($charset->collation != $defaults['collation_connection']) 149 printf("[015] Expecting collation to be %s got %s\n", [all …]
|
H A D | mysqli_get_charset.phpt | 28 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 32 …if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation'])) 33 printf("[008] Cannot determine current character set and collation\n"); 65 if (!isset($charset->collation) || 66 !in_array(gettype($charset->collation), array("string", "unicode")) || 67 ($collation_connection !== $charset->collation)) 68 …string/%s, got %s/%s\n", $collation_connection, gettype($charset->collation), $charset->collation);
|
H A D | mysqli_character_set_name.phpt | 29 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 34 printf("[009] Cannot determine current character set and collation\n"); 38 if ($tmp['collation'] === $charset) { 39 …"[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instead of ch… 40 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
|
H A D | mysqli_character_set_name_oo.phpt | 32 …mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 37 printf("[009] Cannot determine current character set and collation\n"); 41 if ($tmp['collation'] === $charset) { 42 …"[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instead of ch… 43 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
|
H A D | mysqli_set_charset.phpt | 53 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 58 printf("[008] Cannot determine current character set and collation\n"); 78 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
|
/PHP-8.1/ext/intl/tests/ |
H A D | bug12887.phpt | 11 $keywords_arr = ut_loc_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK;sort=PHONEBOOK' ); 27 collation = PHONEBOOK
|
H A D | collator_get_set_strength.phpt | 9 * Try to set/get collation strength. 13 * Set given collation strength, then get it back
|
H A D | locale_get_keywords2.phpt | 18 "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 D | collator_get_set_attribute.phpt | 9 * Try to set/get a collation attribute.
|
/PHP-8.1/ext/sqlite3/ |
H A D | sqlite3.c | 911 collation->fci.fci.size = (sizeof(collation->fci.fci)); in php_sqlite3_callback_compare() 912 ZVAL_COPY_VALUE(&collation->fci.fci.function_name, &collation->cmp_func); in php_sqlite3_callback_compare() 913 collation->fci.fci.object = NULL; in php_sqlite3_callback_compare() 922 if ((ret = zend_call_function(&collation->fci.fci, &collation->fci.fcc)) == FAILURE) { in php_sqlite3_callback_compare() 1054 collation = (php_sqlite3_collation *)ecalloc(1, sizeof(*collation)); in PHP_METHOD() 1061 db_obj->collations = collation; in PHP_METHOD() 1065 efree(collation); in PHP_METHOD() 2176 collation = intern->collations; in php_sqlite3_object_free_storage() 2185 efree(collation); in php_sqlite3_object_free_storage() 2218 while (collation != NULL) { in php_sqlite3_get_gc() [all …]
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | gh11878.phpt | 16 $this->sqlite->createCollation("collation", array($this, "SQLiteIndex"));
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_nonapi.c | 1104 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local 1121 collation = (char *)cs.name; 1135 collation = cs->collation; 1145 add_property_string(return_value, "collation",(collation) ? (char *)collation : "");
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 182 const char *collation; member
|
Completed in 49 milliseconds