summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2001-10-01 17:53:12 +0000
committerTom Lane2001-10-01 17:53:12 +0000
commit6d18c038b70b7c6d745b466443eff96d53394c21 (patch)
tree0f3b29c0f617c99dc7c5b5cc821a0e20383649e3
parent77d262249879028cb44635aa89503bb042849b1b (diff)
Fix a couple of stray // comments.
-rw-r--r--contrib/rtree_gist/rtree_gist.c10
-rw-r--r--src/pl/plpython/plpython.c4
2 files changed, 6 insertions, 8 deletions
diff --git a/contrib/rtree_gist/rtree_gist.c b/contrib/rtree_gist/rtree_gist.c
index 5f6f688871..ca6263fc9e 100644
--- a/contrib/rtree_gist/rtree_gist.c
+++ b/contrib/rtree_gist/rtree_gist.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/contrib/rtree_gist/Attic/rtree_gist.c,v 1.2 2001/08/22 18:24:26 tgl Exp $
+ * $Header: /cvsroot/pgsql/contrib/rtree_gist/Attic/rtree_gist.c,v 1.3 2001/10/01 17:53:11 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -275,13 +275,11 @@ gbox_picksplit(PG_FUNCTION_ARGS)
sizeLR = size_box( interLR );
sizeBT = size_box( interBT );
- if ( sizeLR < sizeBT ) {
+ if ( sizeLR < sizeBT )
direction = 'x';
- //} else if ( sizeLR > sizeBT ) {
- } else {
+ else
direction = 'y';
- }
- }
+ }
if ( direction == 'x' ) {
pfree( unionB ); pfree( listB );
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c
index df9b4e1080..2cfdeade62 100644
--- a/src/pl/plpython/plpython.c
+++ b/src/pl/plpython/plpython.c
@@ -29,7 +29,7 @@
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.5 2001/09/12 03:03:25 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.6 2001/10/01 17:53:12 tgl Exp $
*
*********************************************************************
*/
@@ -2325,7 +2325,7 @@ PLy_init_plpy(void)
plpy = Py_InitModule("plpy", PLy_methods);
plpy_dict = PyModule_GetDict(plpy);
- //PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType);
+ /* PyDict_SetItemString(plpy, "PlanType", (PyObject *) &PLy_PlanType); */
PLy_exc_error = PyErr_NewException("plpy.Error", NULL, NULL);
PLy_exc_fatal = PyErr_NewException("plpy.Fatal", NULL, NULL);