git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c684898)
Add some blank lines for formatting.
Fri, 4 Aug 2006 22:20:06 +0000 (22:20 +0000)
Fri, 4 Aug 2006 22:20:06 +0000 (22:20 +0000)

diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
index b40e6b9d514b8d86daf4e6cd373487fddda04244..3906a52c8ccc6cb4f078df7b8b117ebfa2a9fbf4 100644 (file)
--- a/src/interfaces/libpq/fe-exec.c
+++ b/src/interfaces/libpq/fe-exec.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-exec.c,v 1.188 2006年07月04日 13:22:15 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-exec.c,v 1.189 2006年08月04日 22:20:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -973,6 +973,7 @@ PQsendQueryGuts(PGconn *conn,
pqPuts("", conn) < 0 ||
pqPuts(stmtName, conn) < 0)
goto sendFailed;
+
if (nParams > 0 && paramFormats)
{
if (pqPutInt(nParams, 2, conn) < 0)
@@ -988,8 +989,10 @@ PQsendQueryGuts(PGconn *conn,
if (pqPutInt(0, 2, conn) < 0)
goto sendFailed;
}
+
if (pqPutInt(nParams, 2, conn) < 0)
goto sendFailed;
+
for (i = 0; i < nParams; i++)
{
if (paramValues && paramValues[i])
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /