Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9212ac2e
Commit
9212ac2e
authored
Jan 14, 2005
by
timeless%mozdev.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 276237 Charting is completely broken - can't add datasets to list
patch by Nick.Barnes@pobox.com r=mkanat r=justdave a=justdave
parent
427d238b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
checksetup.pl
checksetup.pl
+8
-4
No files found.
checksetup.pl
View file @
9212ac2e
...
...
@@ -3992,11 +3992,15 @@ if (TableExists("user_series_map")) {
RenameField
(
'series_categories'
,
'category_id'
,
'id'
);
AddField
(
"series"
,
"public"
,
"tinyint(1) not null default 0"
);
# Migrate public-ness across from user_series_map to new field
$dbh
->
do
(
"UPDATE series SET series.public = 1 "
.
"WHERE series.series_id = user_series_map.series_id "
.
" AND user_series_map.user_id = 0"
);
$sth
=
$dbh
->
prepare
(
"SELECT series_id from user_series_map "
.
"WHERE user_id = 0"
);
$sth
->
execute
();
while
(
my
(
$public_series_id
)
=
$sth
->
fetchrow_array
())
{
$dbh
->
do
(
"UPDATE series SET public = 1 "
.
"WHERE series_id = $public_series_id"
);
}
$dbh
->
do
(
"DROP TABLE user_series_map"
);
}
...
...
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