[Zope-DB] SybaseDA not accepted as product
Thomas_Janke@prisma-edv.de
Thomas_Janke@prisma-edv.de
Tue, 23 Oct 2001 09:40:52 +0200
Yeah,
I had the same problem. In the file db.py, you find the following
def query(self, query_string, max_rows=None, simple=0,
# Static vars
DATAFMT=sy_occ.DATAFMT,
CS_LANG_CMD=sy_occ.CS_LANG_CMD,
CS_SUCCEED=sy_occ.CS_SUCCEED,
CS_END_RESULTS=sy_occ.CS_END_RESULTS,
CS_ROW_RESULT=sy_occ.CS_ROW_RESULT,
CS_NUMDATA=sy_occ.CS_NUMDATA,
CS_CMD_SUCCEED=sy_occ.CS_CMD_SUCCEED,
CS_CMD_DONE=sy_occ.CS_CMD_DONE,
CS_CMD_FAIL=sy_occ.CS_CMD_FAIL,
Buffer=sy_occ.Buffer,
CS_INT_TYPE=sy_occ.CS_INT_TYPE,
CS_SMALLINT_TYPE=sy_occ.CS_SMALLINT_TYPE,
CS_FLOAT_TYPE=sy_occ.CS_FLOAT_TYPE,
CS_MONEY_TYPE=sy_occ.CS_MONEY_TYPE,
CS_MONEY4_TYPE=sy_occ.CS_MONEY4_TYPE,
CS_NUMERIC_TYPE=sy_occ.CS_NUMERIC_TYPE,
CS_DECIMAL_TYPE=sy_occ.CS_DECIMAL_TYPE,
CS_TEXT_TYPE=sy_occ.CS_TEXT_TYPE,
CS_IMAGE_TYPE=sy_occ.CS_IMAGE_TYPE,
CS_ROW_FAIL=sy_occ.CS_ROW_FAIL,
CS_END_DATA=sy_occ.CS_END_DATA,
#CS_SUCCEED=sy_occ.CS_SUCCEED,
CS_FMT_UNUSED=sy_occ.CS_FMT_UNUSED,
string_type=_string_types.has_key,
type_map=_type_map,
rstrip=string.rstrip,
TupleType=type(()),
):
Just put a comment as showt in this snipped of code. Then restart ZOPE.
Yours
Thomas