[ Index ] |
|
Code source de Drupal 5.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 831 lignes (31 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers includes/install.inc includes/bootstrap.inc |
update_sql($sql) X-Ref |
db_add_column(&$ret, $table, $column, $type, $attributes = array() X-Ref |
Add a column to a database using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array. Note: when you add a column with NOT NULL and you are not sure if there are already rows in the table, you MUST also add DEFAULT. Otherwise PostgreSQL won't work when the table is not empty, and db_add_column() will fail. To have an empty string as the default, you must use: 'default' => "''" in the $attributes array. If NOT NULL and DEFAULT are set the PostgreSQL version will set values of the added column in old rows to the DEFAULT value. param: $ret param: $table param: $column param: $type param: $attributes return: |
db_change_column(&$ret, $table, $column, $column_new, $type, $attributes = array() X-Ref |
Change a column definition using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array. Remember that changing a column definition involves adding a new column and dropping an old one. This means that any indices, primary keys and sequences from serial-type columns are dropped and might need to be recreated. param: $ret param: $table param: $column param: $column_new param: $type param: $attributes return: |
update_fix_schema_version() X-Ref |
If the schema version for Drupal core is stored in the variables table (4.6.x and earlier) move it to the schema_version column of the system table. This function may be removed when update 156 is removed, which is the last update in the 4.6 to 4.7 migration. |
update_fix_sessions() X-Ref |
System update 130 changes the sessions table, which breaks the update script's ability to use session variables. This changes the table appropriately. This code, including the 'update_sessions_fixed' variable, may be removed when update 130 is removed. It is part of the Drupal 4.6 to 4.7 migration. |
update_fix_watchdog_115() X-Ref |
System update 115 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately. This code, including the 'update_watchdog_115_fixed' variable, may be removed when update 115 is removed. It is part of the Drupal 4.5 to 4.7 migration. |
update_fix_watchdog() X-Ref |
System update 142 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately. This code, including the 'update_watchdog_fixed' variable, may be removed when update 142 is removed. It is part of the Drupal 4.6 to 4.7 migration. |
update_data($module, $number) X-Ref |
Perform one update and store the results which will later be displayed on the finished page. param: $module param: $number return: |
update_selection_page() X-Ref |
Pas de description |
update_script_selection_form() X-Ref |
Pas de description |
update_update_page() X-Ref |
Pas de description |
update_progress_page() X-Ref |
Pas de description |
update_do_updates() X-Ref |
Perform updates for one second or until finished. return: |
update_do_update_page() X-Ref |
Perform updates for the JS version and return progress. |
update_progress_page_nojs() X-Ref |
Perform updates for the non-JS version and return the status page. |
update_finished_page($success) X-Ref |
Pas de description |
update_info_page() X-Ref |
Pas de description |
update_access_denied_page() X-Ref |
Pas de description |
update_fix_system_table() X-Ref |
Pas de description |
update_fix_access_table() X-Ref |
Pas de description |
update_convert_table_utf8($table) X-Ref |
Convert a single MySQL table to UTF-8. We change all text columns to their corresponding binary type, then back to text, but with a UTF-8 character set. See: http://dev.mysql.com/doc/refman/4.1/en/charset-conversion.html |
update_create_cache_tables() X-Ref |
Create tables for the split cache. This is part of the Drupal 4.7.x to 5.x migration. |
Généré le : Fri Nov 30 16:20:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |