I checked in a few small tweaks to oracle to get testbasic to work,
including that the Table objects it gives back will always have the
table name as lowercase (always queries with them uppercase
obviously). so check it out and look into some of the other tests
if you like.
I think I may want to even modify the Table metaclass to treat
incoming table names as case insensitive, because if someone's
database has two tables with the same name and just different casing,
i think we can all agree that person is crazy.
On Mar 8, 2006, at 5:45 AM, Andrija Zarić wrote:
as you will see for yourself, testbasic will fail.
first thing is that on line 176, oracle.py:
remotetable = Table(referred_table, referred_table.engine, autoload
= True)
referred_table is a string and it doesn't have engine attribute. i
can't imagine how referential integrity is supposed to work on
multiple engines, so to pass the test i've changed engine parameter
back to self.
secondly, there remains uppper_case problem. either to write all table
names in upper case (ie. change the testbasic to pass), or to write
them in lower case and convert name in engine.
i work on (ancient) Oracle 8i/linux so maybe the second problem
lies there.
regards,
andrija
On 06/03/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
Ive checked this patch in changeset 1089, but I have not yet gotten a
chance to run my oracle server to test against (its usually a several
hours routine since then i have to get all the other unittests
running again, etc....). if you want to test it, the unittest is
'engines.py', so run:
python test/engines.py --db oracle
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users