Re: [libdbi-users] libdbi transaction support
Rainer Gerhards writes: > > Zitat von Rainer Gerhards : > > > > > sorry for the long silence, we got sidetracked ourselfs. Finally, we > > > yesterday tried to write some test programs to get started. To do so, > > > I did a cvs checkout for both libdbi and libdbi-drivers (according to > > > instructions on the site). I can see the new transaction functions > > > inside the sgml files as well as the headers. > > > However, I do not find any implementation (.c files). > > > > > > Am I overlooking something? > > > > > > > No. Apparently my bad. I'll fix that tonight. > > Thanks a lot! > Rainer I've checked in new versions of libdbi/src/dbi_main.c containing the implementations of the transaction functions and libdbi-drivers/tests/test_dbi.c with a first shot at the required test functions. MySQL seems to fail to rollback transactions on my box whereas SQLite3 succeeds. I'm too tired now to track this down, maybe someone else can have a look at this too. I hope I'll get back to this on the weekend. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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 transaction support
> Rainer Gerhards writes: > > > This should be easy to retrofit. I'lls see if I find > > some time but > feel > free to beat me at it. > > > > I am quite busy myself at the moment, but I could try and see if I > could > craft something along that path... > > > > Hi all, > > I've stolen some time from myself to provide a first shot at transaction and > savepoint support, see the current cvs revisions of libdbi and libdbi-drivers. > The code is entirely untested except that the drivers which I use myself > compile and don't crash upon loading. I didn't get round to adding the > documentation and the tests, but feel free to test the current code yourself. > Usage should be pretty obvious if you look at the diffs. I'm sure some rough > edges remain, but then... it's a start. Hi Markus, sorry for the long silence, we got sidetracked ourselfs. Finally, we yesterday tried to write some test programs to get started. To do so, I did a cvs checkout for both libdbi and libdbi-drivers (according to instructions on the site). I can see the new transaction functions inside the sgml files as well as the headers. However, I do not find any implementation (.c files). Am I overlooking something? Rainer -- 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 transaction support
> Zitat von Rainer Gerhards : > > > sorry for the long silence, we got sidetracked ourselfs. Finally, we > > yesterday tried to write some test programs to get started. To do so, > > I did a cvs checkout for both libdbi and libdbi-drivers (according to > > instructions on the site). I can see the new transaction functions > > inside the sgml files as well as the headers. > > However, I do not find any implementation (.c files). > > > > Am I overlooking something? > > > > No. Apparently my bad. I'll fix that tonight. Thanks a lot! Rainer -- 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 transaction support
Zitat von Rainer Gerhards : > sorry for the long silence, we got sidetracked ourselfs. Finally, we > yesterday tried to write some test programs to get started. To do > so, I did a cvs checkout for both libdbi and libdbi-drivers > (according to instructions on the site). I can see the new > transaction functions inside the sgml files as well as the headers. > However, I do not find any implementation (.c files). > > Am I overlooking something? > No. Apparently my bad. I'll fix that tonight. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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