File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-exec.c,v 1.188 2006/07 /04 13: 22:15 momjian Exp $
11+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-exec.c,v 1.189 2006/08 /04 22:20:06 momjian Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -973,6 +973,7 @@ PQsendQueryGuts(PGconn *conn,
973973 pqPuts ("" , conn ) < 0 ||
974974 pqPuts (stmtName , conn ) < 0 )
975975 goto sendFailed ;
976+
976977 if (nParams > 0 && paramFormats )
977978 {
978979 if (pqPutInt (nParams , 2 , conn ) < 0 )
@@ -988,8 +989,10 @@ PQsendQueryGuts(PGconn *conn,
988989 if (pqPutInt (0 , 2 , conn ) < 0 )
989990 goto sendFailed ;
990991 }
992+
991993 if (pqPutInt (nParams , 2 , conn ) < 0 )
992994 goto sendFailed ;
995+
993996 for (i = 0 ; i < nParams ; i ++ )
994997 {
995998 if (paramValues && paramValues [i ])
You can’t perform that action at this time.
0 commit comments