Fix a couple of stray // comments.
This commit is contained in:
parent
77d2622498
commit
6d18c038b7
@ -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 );
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user