security update core+modules
This commit is contained in:
@@ -114,6 +114,7 @@ function node_schema() {
|
||||
'uid' => array('uid'),
|
||||
'tnid' => array('tnid'),
|
||||
'translate' => array('translate'),
|
||||
'language' => array('language'),
|
||||
),
|
||||
'unique keys' => array(
|
||||
'vid' => array('vid'),
|
||||
@@ -914,6 +915,7 @@ function node_update_7012() {
|
||||
* Change {node}.vid default value from 0 to NULL to avoid deadlock issues on MySQL.
|
||||
*/
|
||||
function node_update_7013() {
|
||||
db_drop_unique_key('node', 'vid');
|
||||
db_change_field('node', 'vid', 'vid', array(
|
||||
'description' => 'The current {node_revision}.vid version identifier.',
|
||||
'type' => 'int',
|
||||
@@ -921,6 +923,14 @@ function node_update_7013() {
|
||||
'not null' => FALSE,
|
||||
'default' => NULL,
|
||||
));
|
||||
db_add_unique_key('node', 'vid', array('vid'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an index on {node}.language.
|
||||
*/
|
||||
function node_update_7014() {
|
||||
db_add_index('node', 'language', array('language'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user