issue-#49 new fixes in SqlOdbc/3

Locked

Should we merge topic branch issue-#49 with master?

Yes
5
71%
No
0
No votes
Abstain
2
29%
 
Total votes: 7

Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

issue-#49 new fixes in SqlOdbc/3

Post by Ivan Denisov »

This is voting about issue-#49.
http://redmine.blackboxframework.org/issues/49
The discussion

ODBC deadlock problem in SqlOdbc and SqlOdbc3 was resolved completely.
The previous fix was a best effort (95%) work around but not a 100% fix.

When reading multiple parts of a column (ReadVarString, ReadBlob),
any DB operation must be suppressed until the column has been read completely.
Calling NEW in between can invoke the garbage collector, which in turn can finalize unused tables.
Finalization of tables has therefore been delayed by using an action.

Plus one trivial Optimization: empty and NULL VARCHAR strings reuse a common string object.

The BlackBox version for testing:
http://blackboxframework.org/unstable/i ... b1.515.zip

The suggested differences:
http://redmine.blackboxframework.org/pr ... ae881451b2
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#49 new fixes in SqlOdbc/3

Post by Ivan Denisov »

Voting finished. The resulting version:
http://blackboxframework.org/unstable/m ... b1.516.zip
Locked