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

Commit240de61

Browse files
committed
The method PgLargeObject::LOid() is missing an implementation in the .cc
file.The program seems to compile ok, but when linking a program that usesthe call,g++ chokes with an undefined reference error.If you know how this problem might be fixed, list the solution below:---------------------------------------------------------------------I include the code:Oid PgLargeObject::LOid(){ return pgObject;}in the .cc file.Chris Traylor
1 parentd54ae2a commit240de61

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/interfaces/libpq++/pglobject.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Copyright (c) 1994, Regents of the University of California
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.9 2002/06/1518:49:29 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.10 2002/06/1519:30:40 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -121,7 +121,6 @@ int PgLargeObject::Unlink()
121121
}
122122

123123

124-
125124
voidPgLargeObject::Close()
126125
{
127126
if (pgFd >=0)lo_close(pgConn, pgFd);
@@ -169,3 +168,7 @@ string PgLargeObject::Status() const
169168
{
170169
return loStatus;
171170
}
171+
172+
OidPgLargeObject::LOid(){
173+
return pgObject;
174+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp