Обсуждение: python - be: Fix Query allocation issue.

Поиск
Список
Период
Сортировка

python - be: Fix Query allocation issue.

От
jwp@pgfoundry.org (James William Pye)
Дата:
Log Message:
-----------
Fix Query allocation issue.

Some of Python's reference tracing utilities take offense to how I was freeing
the structure when an exception occurred. So refactor the code a bit to reduce
my rudeness. (Only allocate when successful, probably better idea anyways.)

Modified Files:
--------------
    be/src:
        call.c (r1.13 -> r1.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/call.c.diff?r1=1.13&r2=1.14)
        module.c (r1.26 -> r1.27)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/module.c.diff?r1=1.26&r2=1.27)
        query.c (r1.19 -> r1.20)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/query.c.diff?r1=1.19&r2=1.20)
    be/include/pypg:
        cis.h (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/cis.h.diff?r1=1.10&r2=1.11)
        query.h (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/query.h.diff?r1=1.9&r2=1.10)