Searched refs:collation (Results 1 – 13 of 13) sorted by relevance
/PHP-8.0/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 131 collation = H->collations; in pdo_sqlite_cleanup_callbacks() 137 collation->name, in pdo_sqlite_cleanup_callbacks() 139 collation, in pdo_sqlite_cleanup_callbacks() 143 efree((char*)collation->name); in pdo_sqlite_cleanup_callbacks() 147 efree(collation); in pdo_sqlite_cleanup_callbacks() 488 collation->fc.fci.size = sizeof(collation->fc.fci); in php_sqlite3_collation_callback() 489 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback); in php_sqlite3_collation_callback() 499 if ((ret = zend_call_function(&collation->fc.fci, &collation->fc.fcc)) == FAILURE) { in php_sqlite3_collation_callback() 661 collation = (struct pdo_sqlite_collation*)ecalloc(1, sizeof(*collation)); in PHP_METHOD() 670 H->collations = collation; in PHP_METHOD() [all …]
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_change_user_set_names.phpt | 35 $charsets[$row['Charset']] = $row['Default collation']; 55 foreach ($charsets as $charset => $collation) { 73 $collation != $not_changed['collation_connection'] && 74 mysqli_query($link, sprintf("SET @@collation_connection = '%s'", $collation))) 78 $collation != $not_changed['collation_database'] && 79 mysqli_query($link, sprintf("SET @@collation_database = '%s'", $collation))) 83 $collation != $not_changed['collation_server'] && 84 mysqli_query($link, sprintf("SET @@collation_server = '%s'", $collation))) 147 if ($charset->collation != $defaults['collation_connection']) 148 printf("[015] Expecting collation to be %s got %s\n", [all …]
|
H A D | mysqli_get_charset.phpt | 27 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 31 …if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation'])) 32 printf("[008] Cannot determine current character set and collation\n"); 64 if (!isset($charset->collation) || 65 !in_array(gettype($charset->collation), array("string", "unicode")) || 66 ($collation_connection !== $charset->collation)) 67 …string/%s, got %s/%s\n", $collation_connection, gettype($charset->collation), $charset->collation);
|
H A D | mysqli_character_set_name.phpt | 28 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 33 printf("[009] Cannot determine current character set and collation\n"); 37 if ($tmp['collation'] === $charset) { 38 …"[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instead of ch… 39 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
|
H A D | mysqli_character_set_name_oo.phpt | 31 …mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 36 printf("[009] Cannot determine current character set and collation\n"); 40 if ($tmp['collation'] === $charset) { 41 …"[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instead of ch… 42 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
|
H A D | mysqli_set_charset.phpt | 52 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation')) 57 printf("[008] Cannot determine current character set and collation\n"); 77 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
|
/PHP-8.0/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.0/ext/sqlite3/ |
H A D | sqlite3.c | 912 collation->fci.fci.size = (sizeof(collation->fci.fci)); in php_sqlite3_callback_compare() 913 ZVAL_COPY_VALUE(&collation->fci.fci.function_name, &collation->cmp_func); in php_sqlite3_callback_compare() 914 collation->fci.fci.object = NULL; in php_sqlite3_callback_compare() 921 collation->fci.fci.params = zargs; in php_sqlite3_callback_compare() 923 if ((ret = zend_call_function(&collation->fci.fci, &collation->fci.fcc)) == FAILURE) { in php_sqlite3_callback_compare() 1038 php_sqlite3_collation *collation; in PHP_METHOD() local 1055 collation = (php_sqlite3_collation *)ecalloc(1, sizeof(*collation)); in PHP_METHOD() 1062 db_obj->collations = collation; in PHP_METHOD() 1066 efree(collation); in PHP_METHOD() 2200 collation = intern->collations; in php_sqlite3_object_free_storage() [all …]
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_nonapi.c | 1060 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local 1077 collation = (char *)cs.name; 1091 collation = cs->collation; 1101 add_property_string(return_value, "collation",(collation) ? (char *)collation : "");
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 186 const char *collation; member
|
Completed in 98 milliseconds