DBD::SQLite on Solaris

Matts on 2004-09-01T13:58:55

DBD::SQLite 1.0x seems to fail a test on Solaris. If anyone hacks on Solaris code could help me figure out why (or send me a patch?) I would very much appreciate it. Thanks!

I head back from Redmond today. It has been *very* productive, I think. I suspect I will be a gibbering nutter by the time I get home though.


alignment

jhorwitz on 2004-09-01T14:14:43

It's an alignment problem in the SQLite code: http://www.sqlite.org/cvstrac/tktview?tn=700.

Unfortunately, nobody seems to have a definitive solution.

I get around it by putting a trap in dbdimp.c:sqlite_init -- asm("ta 6") -- but it's a band-aid solution and degrades the performance of your scripts. Hopefully this points you in the right direction, cuz I could use a fix!

-jeff

DBD::SqLite2 on Solaris (Gcc 3.4.0)

mkirank on 2004-09-09T11:10:33

as per the Bug given in the below url http://www.sqlite.org/cvstrac/tktview?tn=860,6

SQLite gives a bus error when we use the sum function in the query. The workaround for this is to compile DBD::SQLite2 without the optimize flag in solaris