Re: [libdbi-users] libdbi transaction support

2013-01-25 Thread Olivier Doucet
Hello,

 we have given it a try today and things look pretty good :-). Unfortunately, 
 we can reproduce the problem with MySQL. I barely remember that MySQL by 
 default has implicit commits enabled, what needs to be turned off if you need 
 real ones.

By default, MySQL has autocommit enabled. This is disabled
automatically when you issue START TRANSACTION statement (or changed
default behaviour in MySQL config file).

See http://dev.mysql.com/doc/refman/5.5/en/commit.html

Olivier

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users


Re: [libdbi-users] libdbi+mysql speed issues

2013-01-08 Thread Olivier Doucet
Hi Markus,

2013/1/8 Markus Hoenicka markus.hoeni...@mhoenicka.de:
 We could modify the driver function
 dbd_goto_row() by passing both the wanted row index rowidx and the
 current row index currowidx(which libdbi keeps track of anyway).

This is one way to fix the problem, I agree. Unfortunately my level in
C is too low to make such huge changes without breaking everything
else :) Anyone willing to create the patch for this ?

Is there a way, outside libdbi, to fix this problem ? For example, go
over dbd_goto_row() and call fetch_row directly() ? Or maybe the
behaviour is different between database engines ?

Olivier

--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users