Skip to content

Commit a9dd217

Browse files
author
Michael Meskes
committed
Correctly name functions in debug output in ecpglib. When the functions were
refactored the debug output wasn't adjusted.
1 parent 1d66a1c commit a9dd217

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/ecpg/ecpglib/prepare.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.37 2010/02/26 02:01:30 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.38 2010/03/21 11:33:44 meskes Exp $ */
22

33
#define POSTGRES_ECPG_INTERNAL
44
#include "postgres_fe.h"
@@ -142,7 +142,7 @@ prepare_common(int lineno, struct connection * con, const bool questionmarks, co
142142
return false;
143143
}
144144

145-
ecpg_log("ECPGprepare on line %d: name %s; query: \"%s\"\n", stmt->lineno, name, stmt->command);
145+
ecpg_log("prepare_common on line %d: name %s; query: \"%s\"\n", stmt->lineno, name, stmt->command);
146146
PQclear(query);
147147
this->prepared = true;
148148

@@ -201,7 +201,7 @@ deallocate_one(int lineno, enum COMPAT_MODE c, struct connection * con, struct p
201201
{
202202
bool r = false;
203203

204-
ecpg_log("ECPGdeallocate on line %d: name %s\n", lineno, this->name);
204+
ecpg_log("deallocate_one on line %d: name %s\n", lineno, this->name);
205205

206206
/* first deallocate the statement in the backend */
207207
if (this->prepared)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy