]> granicus.if.org Git - postgresql/commitdiff
Fix a couple of stray // comments.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Oct 2001 17:53:12 +0000 (17:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Oct 2001 17:53:12 +0000 (17:53 +0000)
contrib/rtree_gist/rtree_gist.c
src/pl/plpython/plpython.c

index 5f6f688871e6f9f1a1419c2cf381b78b9497dc17..ca6263fc9eb507e4624c22a7e0e5a5ad9b4dae0c 100644 (file)
@@ -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 );
index df9b4e1080a33c0664af7fc94dc0e5440ad5d94a..2cfdeade62206d051af9a772ab0697821450b946 100644 (file)
@@ -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);