# Brief:
## When test python DBI, test cases should use _cubrid.so which was compiled by gcc. But when using _cubrid.so and importing _cubrid or CUBRIDdb in python, 'Segmentation fault' will generate.
# Test Steps:
## install python DBI by using command : 'python setup.py install'
## gcc -g -Wall -fprofile-arcs -ftest-coverage -o _cubrid.so python_cubrid.c -I$CUBRID/include -I$PYTHON_INCLUDE -L$CUBRID/lib -fpic -shared -lcascci
## replace _cubrid.so in $python/lib/python2.6/site-packages ($python is the python install path)
## in python: import _cubrid
# Result:
## a fault generate: 'Segmentation fault'