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);