Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
f9a89872
Commit
f9a89872
authored
May 06, 2007
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#139673
by hunmonk and bjaspan: made caching work on PostgreSQL.
parent
e66371ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/system/system.install
modules/system/system.install
+6
-6
No files found.
modules/system/system.install
View file @
f9a89872
...
...
@@ -713,7 +713,7 @@ function system_install() {
expire int NOT NULL default '0',
created int NOT NULL default '0',
headers text,
serialized int
(1)
NOT NULL default '0',
serialized
small
int NOT NULL default '0',
PRIMARY KEY (cid)
)"
);
db_query
(
"CREATE TABLE
{
cache_filter
}
(
...
...
@@ -722,7 +722,7 @@ function system_install() {
expire int NOT NULL default '0',
created int NOT NULL default '0',
headers text,
serialized int
(1)
NOT NULL default '0',
serialized
small
int NOT NULL default '0',
PRIMARY KEY (cid)
)"
);
db_query
(
"CREATE TABLE
{
cache_page
}
(
...
...
@@ -731,7 +731,7 @@ function system_install() {
expire int NOT NULL default '0',
created int NOT NULL default '0',
headers text,
serialized int
(1)
NOT NULL default '0',
serialized
small
int NOT NULL default '0',
PRIMARY KEY (cid)
)"
);
db_query
(
"CREATE INDEX
{
cache
}
_expire_idx ON
{
cache
}
(expire)"
);
...
...
@@ -3848,9 +3848,9 @@ function system_update_6012() {
switch
(
$GLOBALS
[
'db_type'
])
{
case
'pgsql'
:
db_add_column
(
$ret
,
'cache'
,
'serialized'
,
'int
(1)
'
,
array
(
'default'
=>
"'0'"
,
'not null'
=>
TRUE
));
db_add_column
(
$ret
,
'cache_filter'
,
'serialized'
,
'int
(1)
'
,
array
(
'default'
=>
"'0'"
,
'not null'
=>
TRUE
));
db_add_column
(
$ret
,
'cache_page'
,
'serialized'
,
'int
(1)
'
,
array
(
'default'
=>
"'0'"
,
'not null'
=>
TRUE
));
db_add_column
(
$ret
,
'cache'
,
'serialized'
,
'
small
int'
,
array
(
'default'
=>
"'0'"
,
'not null'
=>
TRUE
));
db_add_column
(
$ret
,
'cache_filter'
,
'serialized'
,
'
small
int'
,
array
(
'default'
=>
"'0'"
,
'not null'
=>
TRUE
));
db_add_column
(
$ret
,
'cache_page'
,
'serialized'
,
'
small
int'
,
array
(
'default'
=>
"'0'"
,
'not null'
=>
TRUE
));
break
;
case
'mysql'
:
case
'mysqli'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment