Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d72b2d

Browse files
committed
'const' decorations are fine, but not when they're inserted without
bothering to clean up the resulting warnings ...
1 parent29d35d5 commit0d72b2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/commands/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.90 2000/07/15 12:37:14 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.91 2000/07/18 03:57:33 tgl Exp $
1212
*
1313
* NOTES
1414
* The PerformAddAttribute() code, like most of the relation
@@ -1076,7 +1076,7 @@ AlterTableDropColumn(const char *relationName,
10761076
* ALTER TABLE ADD CONSTRAINT
10771077
*/
10781078
void
1079-
AlterTableAddConstraint(constchar*relationName,
1079+
AlterTableAddConstraint(char*relationName,
10801080
boolinh,Node*newConstraint)
10811081
{
10821082
charrulequery[41+NAMEDATALEN];

‎src/include/commands/command.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: command.h,v 1.21 2000/07/05 12:45:31 wieck Exp $
10+
* $Id: command.h,v 1.22 2000/07/18 03:57:32 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -51,7 +51,7 @@ extern void AlterTableDropColumn(const char *relationName,
5151
boolinh,constchar*colName,
5252
intbehavior);
5353

54-
externvoidAlterTableAddConstraint(constchar*relationName,
54+
externvoidAlterTableAddConstraint(char*relationName,
5555
boolinh,Node*newConstraint);
5656

5757
externvoidAlterTableDropConstraint(constchar*relationName,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp