Author: wyoung
Date: Sat Mar 17 07:59:09 2007
New Revision: 1451

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1451&view=rev
Log:
Renamed examples/load_file to load_jpeg, and examples/cgi_image to
cgi_jpeg.  Makes it clearer what these newly reworked examples actually
do.

Added:
    trunk/examples/cgi_jpeg.cpp
      - copied, changed from r1450, trunk/examples/cgi_image.cpp
    trunk/examples/load_jpeg.cpp
      - copied, changed from r1449, trunk/examples/load_file.cpp
Removed:
    trunk/examples/cgi_image.cpp
    trunk/examples/load_file.cpp
Modified:
    trunk/Wishlist
    trunk/mysql++.bkl

Modified: trunk/Wishlist
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=1451&r1=1450&r2=1451&view=diff
==============================================================================
--- trunk/Wishlist (original)
+++ trunk/Wishlist Sat Mar 17 07:59:09 2007
@@ -40,9 +40,7 @@
          that can have nulls, and it has the real data length at hand,
          change it to use the explicit length ColData ctor.
 
-       o Rework cgi_image so that you can drop it into a cgi-bin
-         directory and immediately use it to query the database and
-         return image data loaded by load_file in CGI format.
+       o Rework the docs for load_jpeg and cgi_jpeg.
 
 
 v2.4 Plan

Copied: trunk/examples/cgi_jpeg.cpp (from r1450, trunk/examples/cgi_image.cpp)
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/cgi_jpeg.cpp?p2=trunk/examples/cgi_jpeg.cpp&p1=trunk/examples/cgi_image.cpp&r1=1450&r2=1451&rev=1451&view=diff
==============================================================================
--- trunk/examples/cgi_image.cpp (original)
+++ trunk/examples/cgi_jpeg.cpp Sat Mar 17 07:59:09 2007
@@ -1,10 +1,8 @@
 /***********************************************************************
- cgi_image.cpp - Example code showing how to fetch BLOB data from a
-       MySQL table and build a reply suitable for making this a CGI
-       handler.  Something very much like this could pull dynamic images
-       from a database to populate web pages, for instance.
-
-       See load_file.cpp for BLOB data insert example.
+ cgi_jpeg.cpp - Example code showing how to fetch JPEG data from a BLOB
+       column and send it back to a browser that requested it by ID.
+       
+       Use load_jpeg.cpp to load JPEG files into the database we query.
 
  Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by
  MySQL AB, and (c) 2004-2007 by Educational Technology Resources, Inc.

Copied: trunk/examples/load_jpeg.cpp (from r1449, trunk/examples/load_file.cpp)
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/load_jpeg.cpp?p2=trunk/examples/load_jpeg.cpp&p1=trunk/examples/load_file.cpp&r1=1449&r2=1451&rev=1451&view=diff
==============================================================================
--- trunk/examples/load_file.cpp (original)
+++ trunk/examples/load_jpeg.cpp Sat Mar 17 07:59:09 2007
@@ -1,5 +1,5 @@
 /***********************************************************************
- load_file.cpp - Example showing how to insert BLOB data into the
+ load_jpeg.cpp - Example showing how to insert BLOB data into the
        database from a file.
 
  Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by

Modified: trunk/mysql++.bkl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.bkl?rev=1451&r1=1450&r2=1451&view=diff
==============================================================================
--- trunk/mysql++.bkl (original)
+++ trunk/mysql++.bkl Sat Mar 17 07:59:09 2007
@@ -232,16 +232,16 @@
                <exe id="fieldinf1" template="util-example,common-example">
                        <sources>examples/fieldinf1.cpp</sources>
                </exe>
-               <exe id="load_file" template="util-example,common-example">
-                       <sources>examples/load_file.cpp</sources>
+               <exe id="load_jpeg" template="util-example,common-example">
+                       <sources>examples/load_jpeg.cpp</sources>
                </exe>
                <exe id="xaction" template="util-example,common-example">
                        <sources>examples/xaction.cpp</sources>
                </exe>
 
                <!-- The few examples that don't use the util module -->
-               <exe id="cgi_image" template="common-example">
-                       <sources>examples/cgi_image.cpp</sources>
+               <exe id="cgi_jpeg" template="common-example">
+                       <sources>examples/cgi_jpeg.cpp</sources>
                </exe>
                <exe id="updel" template="common-example">
                        <sources>examples/updel.cpp</sources>


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to