diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-06-15 07:15:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-06-15 07:15:25 +0000 |
commit | ae0392b2eb956263c35fb04b695f4974dcca2787 (patch) | |
tree | feaee181acca6a6ad7b93e119e5348cc499314e9 | |
parent | 0d5e968823f3f0932e02cc637971c504ad872e8f (diff) | |
download | brdo-ae0392b2eb956263c35fb04b695f4974dcca2787.tar.gz brdo-ae0392b2eb956263c35fb04b695f4974dcca2787.tar.bz2 |
- Patch #147947 by hswong3i: some files shouldn't defined as text:big for Oracle compatibility.
-rw-r--r-- | includes/common.inc | 2 | ||||
-rw-r--r-- | modules/aggregator/aggregator.schema | 2 | ||||
-rw-r--r-- | modules/comment/comment.schema | 2 | ||||
-rw-r--r-- | modules/contact/contact.schema | 2 | ||||
-rw-r--r-- | modules/search/search.schema | 2 | ||||
-rw-r--r-- | modules/system/system.schema | 6 | ||||
-rw-r--r-- | modules/user/user.schema | 4 |
7 files changed, 10 insertions, 10 deletions
diff --git a/includes/common.inc b/includes/common.inc index d3d786aa4..2bd402a05 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2362,7 +2362,7 @@ function drupal_mail($mailkey, $to, $subject, $body, $from = NULL, $headers = ar // CRLF === \r\n // // http://www.rfc-editor.org/rfc/rfc2646.txt - + $mimeheaders = array(); foreach ($headers as $name => $value) { $mimeheaders[] = $name .': '. mime_header_encode($value); diff --git a/modules/aggregator/aggregator.schema b/modules/aggregator/aggregator.schema index ed0c146e9..edbd8c27a 100644 --- a/modules/aggregator/aggregator.schema +++ b/modules/aggregator/aggregator.schema @@ -38,7 +38,7 @@ function aggregator_schema() { 'checked' => array('type' => 'int', 'not null' => TRUE, 'default' => 0), 'link' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''), 'description' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'), - 'image' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'), + 'image' => array('type' => 'text', 'not null' => TRUE, 'size' => 'medium'), 'etag' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''), 'modified' => array('type' => 'int', 'not null' => TRUE, 'default' => 0), 'block' => array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny') diff --git a/modules/comment/comment.schema b/modules/comment/comment.schema index 5620aa1e7..0d57892fd 100644 --- a/modules/comment/comment.schema +++ b/modules/comment/comment.schema @@ -16,7 +16,7 @@ function comment_schema() { 'status' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'), 'format' => array('type' => 'int', 'size' => 'small', 'not null' => TRUE, 'default' => 0), 'thread' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE), - 'users' => array('type' => 'text', 'not null' => FALSE, 'size' => 'big'), + 'users' => array('type' => 'text', 'not null' => FALSE, 'size' => 'medium'), 'name' => array('type' => 'varchar', 'length' => 60, 'not null' => FALSE), 'mail' => array('type' => 'varchar', 'length' => 64, 'not null' => FALSE), 'homepage' => array('type' => 'varchar', 'length' => 255, 'not null' => FALSE) diff --git a/modules/contact/contact.schema b/modules/contact/contact.schema index f77f6a27c..709559dba 100644 --- a/modules/contact/contact.schema +++ b/modules/contact/contact.schema @@ -6,7 +6,7 @@ function contact_schema() { 'fields' => array( 'cid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), 'category' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''), - 'recipients' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'), + 'recipients' => array('type' => 'text', 'not null' => TRUE, 'size' => 'medium'), 'reply' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'), 'weight' => array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'), 'selected' => array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny') diff --git a/modules/search/search.schema b/modules/search/search.schema index a90e3c6a1..4b0e9dcb7 100644 --- a/modules/search/search.schema +++ b/modules/search/search.schema @@ -6,7 +6,7 @@ function search_schema() { 'fields' => array( 'sid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), 'type' => array('type' => 'varchar', 'length' => 16, 'not null' => FALSE), - 'data' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big') + 'data' => array('type' => 'text', 'not null' => TRUE, 'size' => 'medium') ), 'indexes' => array('sid_type' => array('sid', 'type')), ); diff --git a/modules/system/system.schema b/modules/system/system.schema index a3f384b3c..a1ea98b8c 100644 --- a/modules/system/system.schema +++ b/modules/system/system.schema @@ -7,7 +7,7 @@ function system_schema() { 'bid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), 'token' => array('type' => 'varchar', 'length' => 64, 'not null' => TRUE), 'timestamp' => array('type' => 'int', 'not null' => TRUE), - 'batch' => array('type' => 'text', 'not null' => FALSE, 'size' => 'big') + 'batch' => array('type' => 'text', 'not null' => FALSE, 'size' => 'medium') ), 'primary key' => array('bid'), 'indexes' => array('token' => array('token')), @@ -145,7 +145,7 @@ function system_schema() { 'hostname' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''), 'timestamp' => array('type' => 'int', 'not null' => TRUE, 'default' => 0), 'cache' => array('type' => 'int', 'not null' => TRUE, 'default' => 0), - 'session' => array('type' => 'text', 'not null' => FALSE, 'size' => 'big') + 'session' => array('type' => 'text', 'not null' => FALSE, 'size' => 'medium') ), 'primary key' => array('sid'), 'indexes' => array( @@ -186,7 +186,7 @@ function system_schema() { $schema['variable'] = array( 'fields' => array( 'name' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''), - 'value' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'), + 'value' => array('type' => 'text', 'not null' => TRUE, 'size' => 'medium'), ), 'primary key' => array('name'), ); diff --git a/modules/user/user.schema b/modules/user/user.schema index 032778f10..5e18ffa16 100644 --- a/modules/user/user.schema +++ b/modules/user/user.schema @@ -27,7 +27,7 @@ function user_schema() { 'fields' => array( 'pid' => array('type' => 'serial', 'not null' => TRUE), 'rid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0), - 'perm' => array('type' => 'text', 'not null' => FALSE, 'size' => 'big'), + 'perm' => array('type' => 'text', 'not null' => FALSE, 'size' => 'medium'), 'tid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0) ), 'primary key' => array('pid'), @@ -62,7 +62,7 @@ function user_schema() { 'language' => array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''), 'picture' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''), 'init' => array('type' => 'varchar', 'length' => 64, 'not null' => FALSE, 'default' => ''), - 'data' => array('type' => 'text', 'not null' => FALSE, 'size' => 'big') + 'data' => array('type' => 'text', 'not null' => FALSE, 'size' => 'medium') ), 'indexes' => array( 'access' => array('access'), |