Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
221
Merge Requests
221
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
adc7f023
Commit
adc7f023
authored
Nov 22, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#49115
by pwolanin: work around a limit of the number of blocks/boxes.
parent
3518d7bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/system/system.install
modules/system/system.install
+4
-4
No files found.
modules/system/system.install
View file @
adc7f023
...
...
@@ -122,7 +122,7 @@ function system_install() {
case
'mysql'
:
case
'mysqli'
:
db_query
(
"CREATE TABLE
{
access
}
(
aid
tiny
int NOT NULL auto_increment,
aid int NOT NULL auto_increment,
mask varchar(255) NOT NULL default '',
type varchar(255) NOT NULL default '',
status tinyint NOT NULL default '0',
...
...
@@ -153,7 +153,7 @@ function system_install() {
) /*!40100 DEFAULT CHARACTER SET UTF8 */ "
);
db_query
(
"CREATE TABLE
{
boxes
}
(
bid
tiny
int NOT NULL auto_increment,
bid int NOT NULL auto_increment,
body longtext,
info varchar(128) NOT NULL default '',
format int NOT NULL default '0',
...
...
@@ -3151,8 +3151,8 @@ function system_update_1004() {
switch
(
$GLOBALS
[
'db_type'
])
{
case
'mysql'
:
case
'mysqli'
:
$ret
[]
=
update_sql
(
"ALTER TABLE
{
access
}
CHANGE `aid` `aid`
INT( 10 )
NOT NULL AUTO_INCREMENT "
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
boxes
}
CHANGE `bid` `bid`
INT( 10 )
NOT NULL AUTO_INCREMENT "
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
access
}
CHANGE `aid` `aid`
int
NOT NULL AUTO_INCREMENT "
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
boxes
}
CHANGE `bid` `bid`
int
NOT NULL AUTO_INCREMENT "
);
break
;
case
'pgsql'
:
// No database update required for PostgreSQL because it already uses big SERIAL numbers.
...
...
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