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
b778d54f
Commit
b778d54f
authored
May 01, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 335572: contrib/bzdbcopy.pl fails because it tries to insert too long a name into fielddefs
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
parent
640fb049
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
bzdbcopy.pl
contrib/bzdbcopy.pl
+0
-7
No files found.
contrib/bzdbcopy.pl
View file @
b778d54f
...
@@ -172,13 +172,6 @@ foreach my $table (@table_list) {
...
@@ -172,13 +172,6 @@ foreach my $table (@table_list) {
print
"\n\n"
;
print
"\n\n"
;
}
}
# And there's one entry in the fielddefs table that needs
# to be manually fixed. This is a huge hack.
my
$delta_fdef
=
"("
.
$target_db
->
sql_to_days
(
'NOW()'
)
.
" - "
.
$target_db
->
sql_to_days
(
'bugs.delta_ts'
)
.
")"
;
$target_db
->
do
(
q{UPDATE fielddefs SET name = ?
WHERE name LIKE '%bugs.delta_ts%'}
,
undef
,
$delta_fdef
);
print
"Committing changes to the target database...\n"
;
print
"Committing changes to the target database...\n"
;
$target_db
->
commit
;
$target_db
->
commit
;
...
...
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