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
c0c35271
Commit
c0c35271
authored
Nov 20, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 361176: [PostgreSQL] Warning when creating tables for the first time
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave
parent
9a9708d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Schema.pm
Bugzilla/DB/Schema.pm
+2
-2
No files found.
Bugzilla/DB/Schema.pm
View file @
c0c35271
...
...
@@ -1488,10 +1488,10 @@ sub _get_create_index_ddl {
=cut
my
(
$self
,
$table_name
,
$index_name
,
$index_fields
,
$index_type
)
=
@_
;
my
(
$self
,
$table_name
,
$index_name
,
$index_fields
,
$index_type
)
=
@_
;
my
$sql
=
"CREATE "
;
$sql
.=
"$index_type "
if
(
$index_type
eq
'UNIQUE'
);
$sql
.=
"$index_type "
if
(
$index_type
&&
$index_type
eq
'UNIQUE'
);
$sql
.=
"INDEX $index_name ON $table_name \("
.
join
(
", "
,
@$index_fields
)
.
"\)"
;
...
...
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