Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Sample files -- BadQuery w/Errnum patch part 4

From: Jim Wallace <jwallace(at)kaneva.com>
Date: Wed Oct 24 2007 - 14:44:18 EDT


I've attached sample source files. If they don't make in into the list I can send then inline.

Added sample projects to bkl file, and a blurb in the readme.

See http://lists.mysql.com/plusplus/7060 for reference

Diffs are from the current svn

Index: mysql++.bkl


  • mysql++.bkl (revision 1779) +++ mysql++.bkl (working copy) @@ -278,6 +278,12 @@ <exe id="cgi_jpeg" template="libutil-user,programs"> <sources>examples/cgi_jpeg.cpp</sources> </exe> + <exe id="deadlock1" template="libutil-user,programs"> + <sources>examples/deadlock1.cpp</sources> + </exe> + <exe id="deadlock2" template="libutil-user,programs"> + <sources>examples/deadlock2.cpp</sources> + </exe> </if> <!-- build examples -->

         <if cond="FORMAT=='autoconf'">

Index: README.examples


  • README.examples (revision 1779) +++ README.examples (working copy) @@ -117,6 +117,9 @@
         dbinfo: Dumps a bunch of information about the database
             server and the tables in its 'mysql' database.
+
+	deadlock1 and deadlock2: Tests detecting a deadlock between
+            two transactions, using the BadQuery::what_errnum() value
     
     If you run the load_jpeg example, you should consider also
     playing with the other half of the demonstration, cgi_jpeg.

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Wed Oct 24 14:44:41 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 00:21:40 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library