Uwe Grauer wrote:
> Uwe Grauer wrote:
>> The data type of field jobid from table dabo_unittest in the database
>> dabo_unittest on server dabodev.com changed to double precision.
>> Why is that?
>> The script create_firbird_test.sql says it should be numeric(18, 0).
>> Did you change the database?
>>
>> Uwe
> 
> Paul,
> 
> did you see the obove post?

Yes, I just don't know what to do about it and haven't had time to look 
into it yet.

> I saw that the tests work with a double.

You are saying that pk and jobid in test_dCursorMixin is coming back as 
a double instead of a long?

> But just changeing the tables metadata to let the tests pass wouldn't
> help to get it right in dabo.

Agreed. I didn't do this, did I? The tests as they stand don't check for 
datatype of the pk, although they should.

> Btw, the createscript for the firebird test database wasn't changed.
> It still says that the pk and the jobid should be Numeric(18,0).

Either the database got created from a script other than 
dabo/db/test/create_firebird_test.ddl, or dbFirebird.py is incorrectly 
identifying and converting the types. I suspect the latter.

I'll try to look into this this week, but no promises.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to