<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-749</id>
	<title>Nabble - MySQL - C++</title>
	<updated>2008-11-05T01:30:27Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/MySQL---C++-f749.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL---C%2B%2B-f749.html" />
	<subtitle type="html">All things concerning programming with the C++ API to MySQL.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-20338510</id>
	<title>Training &amp; jobs</title>
	<published>2008-11-05T01:30:27Z</published>
	<updated>2008-11-05T01:30:27Z</updated>
	<author>
		<name>KiranUS</name>
	</author>
	<content type="html">“Join us to make future”
&lt;br&gt;FOR OPT/F-1 STUDENTS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FREE TRAINING 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FOOD ACCOMODATION 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; H1B PROCESSING 
&lt;br&gt;FOR L1/ L2/ H1/ H4/ EAD/ GC 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXCELLENT OPPRTUNITIES 
&lt;br&gt;&amp;nbsp;	TRAINING 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PLACEMENT 
&lt;br&gt;Highly Competitive offers for New H1b Transfers
&lt;br&gt;&lt;br&gt;About Us:
&lt;br&gt;V2 technology inc is serving NJ since 2005, for us our employees are 
&lt;br&gt;of utmost importance. Our highly skilled and dedicated instructors 
&lt;br&gt;train you explicitly in market-related technologies for today and 
&lt;br&gt;tomorrow. We will work with you in developing marketing strategies 
&lt;br&gt;and finding the assignments of your choice.
&lt;br&gt;We not only help you get a job but we build your long lasting 
&lt;br&gt;careers!!! 
&lt;br&gt;What are we Looking for:
&lt;br&gt;&amp;nbsp; &amp;nbsp;Excellent communication skills. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Valid F1/ OPT/ CPT/ H1/ H4/ L1 or valid work status &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;(EAD, GC). 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Bachelors’ degree in CS/ IT or previous IT experience. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Preferably (not mandatory) Master's Degree in Computers/ 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Electronics or previous IT experience. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Willing to relocate anywhere in USA.
&lt;br&gt;&lt;br&gt;What’s The Deal: 
&lt;br&gt;&amp;nbsp; &amp;nbsp;H1-B sponsorship to F1/ OPT/ H4/ L1/ L2/ E3/ EAD 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Transfer of H1 &amp; L1 visas. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Green Card sponsorship through PERM 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Job focused professional training in 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Java/ J2EE 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .NET 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Documentum 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Share point 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Oracle 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Data Modeling 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Relocation assistance- airfare, hotel accommodation, car rental 
&lt;br&gt;&amp;nbsp; &amp;nbsp;etc 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Guarantee lowest bench period. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Employee referral program. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Effective Resume writing help, Marketing and Placement. 
&lt;br&gt;&amp;nbsp; &amp;nbsp;Technical mock interviews. Preparation of In Person Interviews 
&lt;br&gt;&lt;br&gt;100% Guaranteed placement 
&lt;br&gt;Get in Touch:
&lt;br&gt;Contact immediately to know more about the opportunities with us 
&lt;br&gt;at:609-843-0312 
&lt;br&gt;or 
&lt;br&gt;write mail at jobs@v2techinc.com
&lt;br&gt;Contact person : John
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Training---jobs-tp20338510p20338510.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19621922</id>
	<title>Training &amp; jobs</title>
	<published>2008-09-22T23:18:15Z</published>
	<updated>2008-09-22T23:18:15Z</updated>
	<author>
		<name>KiranGupta</name>
	</author>
	<content type="html">“Join us to make future”
&lt;br&gt;FOR OPT/F-1 STUDENTS
&lt;br&gt;FREE TRAINING 
&lt;br&gt;FOOD ACCOMODATION 
&lt;br&gt;H1B PROCESSING 	FOR L1/ L2/ H1/ H4/ EAD/ GC 
&lt;br&gt;EXCELLENT OPPRTUNITIES 
&lt;br&gt;TRAINING 
&lt;br&gt;PLACEMENT 
&lt;br&gt;Highly Competitive offers for New H1b Transfers
&lt;br&gt;About Us:
&lt;br&gt;V2 technology inc is serving NJ since 2005, for us our employees are of utmost importance. Our highly skilled and dedicated instructors train you explicitly in market-related technologies for today and tomorrow. We will work with you in developing marketing strategies and finding the assignments of your choice.
&lt;br&gt;We not only help you get a job but we build your long lasting careers!!! 
&lt;br&gt;What are we Looking for:
&lt;br&gt;Excellent communication skills. 
&lt;br&gt;Valid F1/ OPT/ CPT/ H1/ H4/ L1 or valid work status (EAD, GC). 
&lt;br&gt;Bachelors’ degree in CS/ IT or previous IT experience. 
&lt;br&gt;Preferably (not mandatory) Master's Degree in Computers/ Electronics or previous IT experience. 
&lt;br&gt;Willing to relocate anywhere in USA. 
&lt;br&gt;What’s The Deal: 
&lt;br&gt;H1-B sponsorship to F1/ OPT/ H4/ L1/ L2/ E3/ EAD 
&lt;br&gt;Transfer of H1 &amp; L1 visas. 
&lt;br&gt;Green Card sponsorship through PERM 
&lt;br&gt;Job focused professional training in 
&lt;br&gt;Java/ J2EE 
&lt;br&gt;.NET 
&lt;br&gt;Documentum 
&lt;br&gt;Share point 
&lt;br&gt;Oracle 
&lt;br&gt;Data Modeling 
&lt;br&gt;Relocation assistance- airfare, hotel accommodation, car rental etc 
&lt;br&gt;Guarantee lowest bench period. 
&lt;br&gt;Employee referral program. 
&lt;br&gt;Effective Resume writing help, Marketing and Placement. 
&lt;br&gt;Technical mock interviews. Preparation of In Person Interviews 
&lt;br&gt;100% Guaranteed placement 
&lt;br&gt;Get in Touch:
&lt;br&gt;Contact immediately to know more about the opportunities with us at:609-843-0312 
&lt;br&gt;or 		
&lt;br&gt;write mail at jobs@v2techinc.com
&lt;br&gt;Contact person : John
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Training---jobs-tp19621922p19621922.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17997442</id>
	<title>Re: dbdriver sigsegv errors.</title>
	<published>2008-06-18T22:10:40Z</published>
	<updated>2008-06-18T22:10:40Z</updated>
	<author>
		<name>Daniel Kolbo</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;answering my own question here...
&lt;br&gt;&lt;br&gt;So I spent about 5 hours figuring out that I was using an old version of 
&lt;br&gt;mysqlpp.dll in my system32 folder. &amp;nbsp;When upgrading to mysql6 i decided 
&lt;br&gt;to rebuild the mysql++ dll against the mysql6 headers, but i forgot to 
&lt;br&gt;update the system32 folder! &amp;nbsp;No wonder it compiled but didn't run well...
&lt;br&gt;&lt;br&gt;So that is my, &amp;quot;don't be stupid like me&amp;quot; post.
&lt;br&gt;&lt;br&gt;Daniel Kolbo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using mysql6. &amp;nbsp;mysql++ seems to be 'working' and 'installed' 
&lt;br&gt;&amp;gt; correctly; however, at the end of the execution of my programs i am 
&lt;br&gt;&amp;gt; receiving SIGSEGV errors.
&lt;br&gt;&amp;gt; When I installed mysql++ simple1 was built. &amp;nbsp;This version of simple1 
&lt;br&gt;&amp;gt; does NOT produce the error. &amp;nbsp;However, when I copy the code and try to 
&lt;br&gt;&amp;gt; build it myself I receive the error at the end of the file when 
&lt;br&gt;&amp;gt; running the application. &amp;nbsp;I am able to compile, but when I run the 
&lt;br&gt;&amp;gt; program it has to abort, and when i debug I get the SIGSEGV error at 
&lt;br&gt;&amp;gt; end of the file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is the commands codeblocks used to compile my project titled 
&lt;br&gt;&amp;gt; 'temp' that contains the exact same code as simple1.cpp.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; mingw32-g++.exe -Wall -fexceptions &amp;nbsp;-g &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; -IE:\mysql++-3.0.3\include_mysql++ -IE:\mysql++-3.0.3\include_mysql6 &amp;nbsp;
&lt;br&gt;&amp;gt; -c E:\C++\codeblocks\Practice\temp\main.cpp -o obj\Debug\main.o
&lt;br&gt;&amp;gt; mingw32-g++.exe -Wall -fexceptions &amp;nbsp;-g &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; -IE:\mysql++-3.0.3\include_mysql++ -IE:\mysql++-3.0.3\include_mysql6 &amp;nbsp;
&lt;br&gt;&amp;gt; -c E:\C++\codeblocks\Practice\temp\printdata.cpp -o obj\Debug\printdata.o
&lt;br&gt;&amp;gt; mingw32-g++.exe &amp;nbsp;-o bin\Debug\temp.exe obj\Debug\main.o 
&lt;br&gt;&amp;gt; obj\Debug\printdata.o obj\Debug\cmdline.o &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; E:\mysql++-3.0.3\include_lib_a_def\libmysqlpp.a
&lt;br&gt;&amp;gt; Output size is 1.92 MB
&lt;br&gt;&amp;gt; Process terminated with status 0 (0 minutes, 9 seconds)
&lt;br&gt;&amp;gt; 0 errors, 0 warnings
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;E:\mysql++-3.0.3\include_mysql6&amp;quot; contains the exact contents of 
&lt;br&gt;&amp;gt; C:\Program Files\MySQL\MySQL Server 6.0\include
&lt;br&gt;&amp;gt; &amp;quot;E:\mysql++-3.0.3\include_mysql++&amp;quot; contains all the mysql++ header 
&lt;br&gt;&amp;gt; files (the same as the contents of the &amp;quot;include&amp;quot; folder when running 
&lt;br&gt;&amp;gt; the default install.bat)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In codeblocks' debugger I get a SIGSEGV. &amp;nbsp;This occurs at the end of 
&lt;br&gt;&amp;gt; the file, right around the return 0 in my int main() c++ console 
&lt;br&gt;&amp;gt; application. &amp;nbsp;I think the error is occuring when the connection 
&lt;br&gt;&amp;gt; destructor is being called. &amp;nbsp;Here is the backtrace.
&lt;br&gt;&amp;gt; #0 6B3C5834 &amp;nbsp; &amp;nbsp;mysqlpp::DBDriver::~DBDriver(this=0x3e3f80) 
&lt;br&gt;&amp;gt; (lib/dbdriver.cpp:67)
&lt;br&gt;&amp;gt; #1 6B3C21B7 &amp;nbsp; &amp;nbsp;mysqlpp::Connection::~Connection(this=0x22ff30) 
&lt;br&gt;&amp;gt; (lib/connection.cpp:67)
&lt;br&gt;&amp;gt; #2 0040185A &amp;nbsp; &amp;nbsp;main(argc=1, argv=0x3e3f60) 
&lt;br&gt;&amp;gt; (E:/C++/codeblocks/Practice/temp/main.cpp:68)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is the code for the destructor for dbdriver
&lt;br&gt;&amp;gt; DBDriver::~DBDriver()
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (connected()) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;disconnect();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;OptionList::const_iterator it;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for (it = applied_options_.begin(); it != applied_options_.end(); 
&lt;br&gt;&amp;gt; ++it) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;delete *it;//THIS IS LINE 67 where the SIGSEGV occurs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't think this has to do with mysql6, b/c the default build of 
&lt;br&gt;&amp;gt; simple1 does not create the error whereas mine does create the error. &amp;nbsp;
&lt;br&gt;&amp;gt; Hopefully, this means there is a solution.
&lt;br&gt;&amp;gt; What is going on here? Did I link the project correctly?
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dbdriver-sigsegv-errors.-tp17996023p17997442.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17996023</id>
	<title>dbdriver sigsegv errors.</title>
	<published>2008-06-18T19:19:20Z</published>
	<updated>2008-06-18T19:19:20Z</updated>
	<author>
		<name>Daniel Kolbo</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am using mysql6. &amp;nbsp;mysql++ seems to be 'working' and 'installed' 
&lt;br&gt;correctly; however, at the end of the execution of my programs i am 
&lt;br&gt;receiving SIGSEGV errors. 
&lt;br&gt;&lt;br&gt;When I installed mysql++ simple1 was built. &amp;nbsp;This version of simple1 
&lt;br&gt;does NOT produce the error. &amp;nbsp;However, when I copy the code and try to 
&lt;br&gt;build it myself I receive the error at the end of the file when running 
&lt;br&gt;the application. &amp;nbsp;I am able to compile, but when I run the program it 
&lt;br&gt;has to abort, and when i debug I get the SIGSEGV error at end of the file.
&lt;br&gt;&lt;br&gt;Here is the commands codeblocks used to compile my project titled 'temp' 
&lt;br&gt;that contains the exact same code as simple1.cpp.
&lt;br&gt;&lt;br&gt;mingw32-g++.exe -Wall -fexceptions &amp;nbsp;-g &amp;nbsp; &amp;nbsp;
&lt;br&gt;-IE:\mysql++-3.0.3\include_mysql++ -IE:\mysql++-3.0.3\include_mysql6 &amp;nbsp;-c 
&lt;br&gt;E:\C++\codeblocks\Practice\temp\main.cpp -o obj\Debug\main.o
&lt;br&gt;mingw32-g++.exe -Wall -fexceptions &amp;nbsp;-g &amp;nbsp; &amp;nbsp;
&lt;br&gt;-IE:\mysql++-3.0.3\include_mysql++ -IE:\mysql++-3.0.3\include_mysql6 &amp;nbsp;-c 
&lt;br&gt;E:\C++\codeblocks\Practice\temp\printdata.cpp -o obj\Debug\printdata.o
&lt;br&gt;mingw32-g++.exe &amp;nbsp;-o bin\Debug\temp.exe obj\Debug\main.o 
&lt;br&gt;obj\Debug\printdata.o obj\Debug\cmdline.o &amp;nbsp; &amp;nbsp;
&lt;br&gt;E:\mysql++-3.0.3\include_lib_a_def\libmysqlpp.a
&lt;br&gt;Output size is 1.92 MB
&lt;br&gt;Process terminated with status 0 (0 minutes, 9 seconds)
&lt;br&gt;0 errors, 0 warnings
&lt;br&gt;&lt;br&gt;&amp;quot;E:\mysql++-3.0.3\include_mysql6&amp;quot; contains the exact contents of 
&lt;br&gt;C:\Program Files\MySQL\MySQL Server 6.0\include
&lt;br&gt;&amp;quot;E:\mysql++-3.0.3\include_mysql++&amp;quot; contains all the mysql++ header files 
&lt;br&gt;(the same as the contents of the &amp;quot;include&amp;quot; folder when running the 
&lt;br&gt;default install.bat)
&lt;br&gt;&lt;br&gt;In codeblocks' debugger I get a SIGSEGV. &amp;nbsp;This occurs at the end of the 
&lt;br&gt;file, right around the return 0 in my int main() c++ console 
&lt;br&gt;application. &amp;nbsp;I think the error is occuring when the connection 
&lt;br&gt;destructor is being called. &amp;nbsp;Here is the backtrace.
&lt;br&gt;#0 6B3C5834 &amp;nbsp; &amp;nbsp;mysqlpp::DBDriver::~DBDriver(this=0x3e3f80) 
&lt;br&gt;(lib/dbdriver.cpp:67)
&lt;br&gt;#1 6B3C21B7 &amp;nbsp; &amp;nbsp;mysqlpp::Connection::~Connection(this=0x22ff30) 
&lt;br&gt;(lib/connection.cpp:67)
&lt;br&gt;#2 0040185A &amp;nbsp; &amp;nbsp;main(argc=1, argv=0x3e3f60) 
&lt;br&gt;(E:/C++/codeblocks/Practice/temp/main.cpp:68)
&lt;br&gt;&lt;br&gt;Here is the code for the destructor for dbdriver
&lt;br&gt;DBDriver::~DBDriver()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (connected()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; disconnect();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; OptionList::const_iterator it;
&lt;br&gt;&amp;nbsp; &amp;nbsp; for (it = applied_options_.begin(); it != applied_options_.end(); 
&lt;br&gt;++it) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete *it;//THIS IS LINE 67 where the SIGSEGV occurs
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;I don't think this has to do with mysql6, b/c the default build of 
&lt;br&gt;simple1 does not create the error whereas mine does create the error. &amp;nbsp;
&lt;br&gt;Hopefully, this means there is a solution. 
&lt;br&gt;&lt;br&gt;What is going on here? Did I link the project correctly? 
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/dbdriver-sigsegv-errors.-tp17996023p17996023.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17958312</id>
	<title>Re: sql_create_ macro</title>
	<published>2008-06-17T19:05:55Z</published>
	<updated>2008-06-17T19:05:55Z</updated>
	<author>
		<name>soulboy</name>
	</author>
	<content type="html">Actually can see the difference between what works and what doesn't.
&lt;br&gt;&lt;br&gt;If I do this it doesn't work:
&lt;br&gt;&lt;br&gt;bool database::AddRow (string A,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string B,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string C)
&lt;br&gt;{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RowTyoe newRow &amp;nbsp;(mysqlpp::String (A),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::String (B),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::String (C));
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;If I do this it does
&lt;br&gt;&lt;br&gt;bool database::AddRow (string A,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string B,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string C)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::String &amp;nbsp;A2 (A);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RowTyoe newRow &amp;nbsp;(A2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::String (B),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::String (C));
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;G
&lt;br&gt;&lt;br&gt;2008/6/13 Warren Young &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17958312&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mysqlpp@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Jun 12, 2008, at 9:36 PM, Soul Boy wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I can see no difference between my macro declarations other than the
&lt;br&gt;&amp;gt;&amp;gt; number of parameters.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please show your SSQLS declarations.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; MySQL++ Mailing List
&lt;br&gt;&amp;gt; For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe:
&lt;br&gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=redgreenandpotatoe@yahoo.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=redgreenandpotatoe@...&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/sql_create_-macro-tp17814569p17958312.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17937421</id>
	<title>RE: mysql++ load local infile</title>
	<published>2008-06-17T14:05:40Z</published>
	<updated>2008-06-17T14:05:40Z</updated>
	<author>
		<name>Dennis M.</name>
	</author>
	<content type="html">Just wanted to say thanks. My problem had to do with using backslashes instead of forward slashes. I was using \\ instead of /
&lt;br&gt;_________________________________________________________________
&lt;br&gt;The other season of giving begins 6/24/08. Check out the i’m Talkathon.
&lt;br&gt;&lt;a href=&quot;http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mysql%2B%2B-load-local-infile-tp17919705p17937421.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17921954</id>
	<title>Re: mysql++ load local infile</title>
	<published>2008-06-17T10:10:30Z</published>
	<updated>2008-06-17T10:10:30Z</updated>
	<author>
		<name>John Gehring</name>
	</author>
	<content type="html">What exactly is failing with your program?
&lt;br&gt;&lt;br&gt;I do this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string statement = &amp;quot;load data infile '&amp;quot; + fullFileName;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; statement += &amp;quot;' into table daytypes &amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; statement += &amp;quot;fields terminated by ',' enclosed by '' &amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; statement += &amp;quot;lines terminated by '\\r\\n'&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; executeSQLStatement(statement);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::Exception&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...stuff
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;executeSQLStatement() simply invokes:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::Query query = mySQLConn-&amp;gt;query();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; query &amp;lt;&amp;lt; SQLStatement;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; query.execute();
&lt;br&gt;&lt;br&gt;I'd have to double check, but I believe that it is important that the 
&lt;br&gt;slashes in the file name are forward slashes.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Dennis M. wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am using mysql++ to access mySQL from a C++ program.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am able execute various queries except LOAD DATA LOCAL INFILE.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How do I go about doing this? I have not seen an implementation in any of the examples provided in the mysql++ download.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is what I am doing right now:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #define HOST &amp;quot;localhost&amp;quot;
&lt;br&gt;&amp;gt; #define DB &amp;quot;databse_name&amp;quot;
&lt;br&gt;&amp;gt; #define USER &amp;quot;anonymous&amp;quot;
&lt;br&gt;&amp;gt; #define PASS &amp;quot;&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; mysqlpp::Connection con(DB, HOST, USER, PASS);
&lt;br&gt;&amp;gt; mysqlpp::NoExceptions ne(con);
&lt;br&gt;&amp;gt; mysqlpp::Query query = con.query();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CString command;
&lt;br&gt;&amp;gt; command = &amp;quot;LOAD DATA LOCAL INFILE \&amp;quot;file_location\&amp;quot; into TABLE name_of_table;&amp;quot;;
&lt;br&gt;&amp;gt; query = con.query(command);
&lt;br&gt;&amp;gt; query.execute();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there anything else that needs to be done for this to work, or do I have my query set up incorrectly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; Need to know now? Get instant answers with Windows Live Messenger.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_062008&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_062008&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mysql%2B%2B-load-local-infile-tp17919705p17921954.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17919705</id>
	<title>mysql++ load local infile</title>
	<published>2008-06-17T09:53:36Z</published>
	<updated>2008-06-17T09:53:36Z</updated>
	<author>
		<name>Dennis M.</name>
	</author>
	<content type="html">I am using mysql++ to access mySQL from a C++ program.
&lt;br&gt;&lt;br&gt;I am able execute various queries except LOAD DATA LOCAL INFILE.
&lt;br&gt;&lt;br&gt;How do I go about doing this? I have not seen an implementation in any of the examples provided in the mysql++ download.
&lt;br&gt;&lt;br&gt;This is what I am doing right now:
&lt;br&gt;&lt;br&gt;#define HOST &amp;quot;localhost&amp;quot;
&lt;br&gt;#define DB &amp;quot;databse_name&amp;quot;
&lt;br&gt;#define USER &amp;quot;anonymous&amp;quot;
&lt;br&gt;#define PASS &amp;quot;&amp;quot;
&lt;br&gt;&lt;br&gt;.
&lt;br&gt;.
&lt;br&gt;.
&lt;br&gt;&lt;br&gt;mysqlpp::Connection con(DB, HOST, USER, PASS);
&lt;br&gt;mysqlpp::NoExceptions ne(con);
&lt;br&gt;mysqlpp::Query query = con.query();
&lt;br&gt;&lt;br&gt;CString command;
&lt;br&gt;command = &amp;quot;LOAD DATA LOCAL INFILE \&amp;quot;file_location\&amp;quot; into TABLE name_of_table;&amp;quot;;
&lt;br&gt;query = con.query(command);
&lt;br&gt;query.execute();
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there anything else that needs to be done for this to work, or do I have my query set up incorrectly?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;_________________________________________________________________
&lt;br&gt;Need to know now? Get instant answers with Windows Live Messenger.
&lt;br&gt;&lt;a href=&quot;http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_062008&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_062008&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mysql%2B%2B-load-local-infile-tp17919705p17919705.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17821985</id>
	<title>Re: sql_create_ macro</title>
	<published>2008-06-13T05:05:49Z</published>
	<updated>2008-06-13T05:05:49Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">On Jun 12, 2008, at 9:36 PM, Soul Boy wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I can see no difference between my macro declarations other than the
&lt;br&gt;&amp;gt; number of parameters.
&lt;br&gt;&lt;br&gt;Please show your SSQLS declarations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/sql_create_-macro-tp17814569p17821985.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17814569</id>
	<title>sql_create_ macro</title>
	<published>2008-06-12T20:36:00Z</published>
	<updated>2008-06-12T20:36:00Z</updated>
	<author>
		<name>explodingbadger</name>
	</author>
	<content type="html">Hi I am trying to use the sql_create_4 and sql_create_7 macros to
&lt;br&gt;create a classes which I can pass to
&lt;br&gt;query.insert on. Actually I have created several classes with this
&lt;br&gt;macro and they all work. I just added
&lt;br&gt;a new one with 4 values and suddenly I get the error:
&lt;br&gt;&lt;br&gt;/usr/local/include/mysql++/query.h: In member function
&lt;br&gt;`mysqlpp::Query&amp; mysqlpp::Query::insert(const T&amp;) [with T = AcctMncTb
&lt;br&gt;()(mysqlpp::String, mysqlpp::String, mysqlpp::String,
&lt;br&gt;mysqlpp::String)]':
&lt;br&gt;database.cpp:347: &amp;nbsp; instantiated from here
&lt;br&gt;/usr/local/include/mysql++/query.h:958: error: request for member
&lt;br&gt;`value_list' in `v', which is of non-class type `AcctMncTb
&lt;br&gt;()(mysqlpp::String, mysqlpp::String, mysqlpp::String,
&lt;br&gt;mysqlpp::String)'
&lt;br&gt;/usr/local/include/mysql++/query.h:958: error: request for member
&lt;br&gt;`field_list' in `v', which is of non-class type `AcctMncTb
&lt;br&gt;()(mysqlpp::String, mysqlpp::String, mysqlpp::String,
&lt;br&gt;mysqlpp::String)'
&lt;br&gt;/usr/local/include/mysql++/query.h:958: error: request for member
&lt;br&gt;`table' in `v', which is of non-class type `AcctMncTb
&lt;br&gt;()(mysqlpp::String, mysqlpp::String, mysqlpp::String,
&lt;br&gt;mysqlpp::String)'
&lt;br&gt;*** Error code 1
&lt;br&gt;make: Fatal error: Command failed for target `database.o'
&lt;br&gt;&lt;br&gt;I can see no difference between my macro declarations other than the
&lt;br&gt;number of parameters.
&lt;br&gt;&lt;br&gt;I could see one post on the mailing list referencing these errors but
&lt;br&gt;I couldn't see an answer.
&lt;br&gt;&lt;br&gt;I am using g++ on solaris mysql++ version 3.0.3 mysql version 5.0.51
&lt;br&gt;&lt;br&gt;Any ideas ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;G
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/sql_create_-macro-tp17814569p17814569.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17616478</id>
	<title>Re: mysqlpp::Query  Issue</title>
	<published>2008-06-02T22:54:31Z</published>
	<updated>2008-06-02T22:54:31Z</updated>
	<author>
		<name>onlyreply-sql</name>
	</author>
	<content type="html">Hi Warren,
&lt;br&gt;&lt;br&gt;I was saying that if I declare &amp;nbsp;mysqlpp::Query sqlquery(); &amp;nbsp; instead of &amp;nbsp; &amp;nbsp; &amp;nbsp;mysqlpp::Query sqlquery = m_pCommon-&amp;gt;commonDBCon.query(); &amp;nbsp; then I was not able to use 'sqlquery' object &amp;nbsp;for another transaction. I tried to do it &amp;nbsp;again to see what happens but it is not compiling because of &amp;nbsp;stream &amp;quot;&amp;lt;&amp;lt;&amp;quot; operation. 
&lt;br&gt;Anyway, It seems all is fine &amp;nbsp;now and I also removed CriticalSection calls and now using another Mutex object. &amp;nbsp;
&lt;br&gt;SysMutex is predefined object which I have been using other places and destructor of this class takes care of releasing. 
&lt;br&gt;&lt;br&gt;Here is &amp;nbsp;final code...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; SysMutex_var mutex = m_pCommon-&amp;gt;m_mutexDBAccess;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (!mutex.waitForMutex(INFINITE))
&lt;br&gt;&amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_WARN(logger,&amp;quot;Tel_app::Load:Error getting mutex&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; try 
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Load the app
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::Query sqlquery = m_pCommon-&amp;gt;commonDBCon.query();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::StoreQueryResult sqlresults;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Form query first &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlquery &amp;lt;&amp;lt; &amp;quot;select * from Applications where AppDN=&amp;quot; &amp;lt;&amp;lt; AppDN; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlresults = sqlquery.store();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(sqlresults) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //for (size_t i = 0; i &amp;lt; res.num_rows(); ++i) { &amp;nbsp;// one app only
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_nAppDN &amp;nbsp; = sqlresults[0][&amp;quot;AppDN&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_sAppName = sqlresults[0][&amp;quot;AppName&amp;quot;]; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_sAppDesc = sqlresults[0][&amp;quot;AppDescription&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;Failed to get AppInfo&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Now, Load Application Steps
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlquery &amp;lt;&amp;lt; &amp;quot;select * from ApplicationSteps where AppDN=&amp;quot; &amp;lt;&amp;lt; AppDN; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlresults = sqlquery.store();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppSteps_Module temp2;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (sqlresults) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (size_t i = 0; i &amp;lt; sqlresults.num_rows(); ++i) { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.StepNumber = sqlresults[i][&amp;quot;StepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int StepType = sqlresults[i][&amp;quot;StepType&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.StepType = (Step_Type)StepType;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.PromptID= sqlresults[i][&amp;quot;PromptID&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.PromptFileName &amp;nbsp;= sqlresults[i][&amp;quot;PromptFileName&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.PromptText &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;PromptText&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.MaxDigits &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;MaxDigits&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.MaxSeconds &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;MaxSeconds&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.TermTones &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;TermTones&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.ValidDigits &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;ValidDigits&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppSteps.push_back(temp2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;Failed to get AppSteps&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Now, Load Application Step Items 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlquery &amp;lt;&amp;lt; &amp;quot;select * from ApplicationStepItems where AppDN=&amp;quot; &amp;lt;&amp;lt; AppDN; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlresults = sqlquery.store();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppStepItems_Module temp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (sqlresults) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (size_t i = 0; i &amp;lt; sqlresults.num_rows(); ++i) { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //AppStepItems.push_back(sqlresults[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp.StepNumber = sqlresults[i][&amp;quot;StepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp.AppKeypadId = sqlresults[i][&amp;quot;AppKeypadId&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp.NextStepNumber = sqlresults[i][&amp;quot;NextStepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppStepItems.push_back(temp);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;Failed to get AppStepItems&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; } // try
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::BadQuery&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Handle any query errors
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Query error: &amp;quot; &amp;lt;&amp;lt; er.what() );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::BadConversion&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Handle bad conversions; e.g. type mismatch populating 'stock'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Conversion error: &amp;quot; &amp;lt;&amp;lt; er.what() &amp;lt;&amp;lt; &amp;quot; tretrieved data size: &amp;quot; &amp;lt;&amp;lt; er.retrieved &amp;lt;&amp;lt;&amp;quot;, actual size: &amp;quot; &amp;lt;&amp;lt; er.actual_size);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::Exception&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Catch-all for any other MySQL++ exceptions
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Exception: &amp;quot; &amp;lt;&amp;lt; er.what() );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch(...){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Unknown Exception&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Warren Young &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17616478&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mysqlpp@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: MySQL++ Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17616478&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plusplus@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, June 2, 2008 2:00:44 AM
&lt;br&gt;Subject: Re: mysqlpp::Query &amp;nbsp;Issue
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17616478&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;onlyreply-sql@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; I think the problem was with
&lt;br&gt;&amp;gt; default constructor on query object not properly being initialized.
&lt;br&gt;&amp;gt; Once I &amp;nbsp;initialized sqlquery object like this ... mysqlpp::Query
&lt;br&gt;&amp;gt; sqlquery = commonDBCon.query(); , the problem went away 
&lt;br&gt;&lt;br&gt;Are you saying that it doesn't work when you pass the query string to 
&lt;br&gt;Connection::query()? &amp;nbsp;The examples do this in several places 
&lt;br&gt;successfully, and this is an intended feature, so if you can show an 
&lt;br&gt;instance where it doesn't work, I'd be interested in seeing compilable 
&lt;br&gt;code that shows it.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&lt;br&gt;Not MySQL++ related, but this is highly error-prone code. &amp;nbsp;You should be 
&lt;br&gt;using an RAII pattern here to make sure that all code paths that exit 
&lt;br&gt;the function release the critical section mutex. &amp;nbsp;It appears fine now, 
&lt;br&gt;but future maintenance could add a code path that accidentally doesn't 
&lt;br&gt;release the mutex. &amp;nbsp;See the code for MySQL++'s Transaction class -- it's 
&lt;br&gt;short -- for the general idea.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=onlyreply-sql@yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=onlyreply-sql@...&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17616478.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17616349</id>
	<title>Re: loading shared library error</title>
	<published>2008-06-02T22:38:08Z</published>
	<updated>2008-06-02T22:38:08Z</updated>
	<author>
		<name>jupiter.hce</name>
	</author>
	<content type="html">On Tue, Jun 3, 2008 at 3:35 AM, Warren Young &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17616349&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mysqlpp@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; yh wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What was I missing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You will find a deeper study of README-examples.txt rewarding.
&lt;br&gt;&lt;br&gt;Oops, my apology.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Kind Regards,
&lt;br&gt;&lt;br&gt;Jim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/loading-shared-library-error-tp17600151p17616349.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17606779</id>
	<title>Re: loading shared library error</title>
	<published>2008-06-02T10:35:13Z</published>
	<updated>2008-06-02T10:35:13Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">yh wrote:
&lt;br&gt;&amp;gt; What was I missing?
&lt;br&gt;&lt;br&gt;You will find a deeper study of README-examples.txt rewarding.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/loading-shared-library-error-tp17600151p17606779.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17602307</id>
	<title>RE: loading shared library error</title>
	<published>2008-06-02T05:47:47Z</published>
	<updated>2008-06-02T05:47:47Z</updated>
	<author>
		<name>william.dowling</name>
	</author>
	<content type="html">Maybe you have to add a path to your LD_LIBRARY_PATH environment variable, pointing to the path under /home/my/Install that contains the libmysqlpp.so that you just built and installed.
&lt;br&gt;&lt;br&gt;Will
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: yh [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17602307&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jupiter.hce@...&lt;/a&gt;]
&lt;br&gt;Sent: Mon 6/2/2008 6:32 PM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17602307&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plusplus@...&lt;/a&gt;
&lt;br&gt;Subject: loading shared library error
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I installed MySQL++ to a local directory, but could not run the
&lt;br&gt;example code. What was I missing?
&lt;br&gt;&lt;br&gt;[mysql++-3.0.3]$ ./configure --prefix=/home/my/Install
&lt;br&gt;[mysql++-3.0.3]$ make
&lt;br&gt;[mysql++-3.0.3]$ make install
&lt;br&gt;&lt;br&gt;[mysql++-3.0.3]$ ./simple1
&lt;br&gt;./simple1: error while loading shared libraries: libmysqlpp.so.3:
&lt;br&gt;cannot open shared object file: No such file or directory
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Jim
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=william.dowling@thomson.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=william.dowling@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/loading-shared-library-error-tp17600151p17602307.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17600151</id>
	<title>loading shared library error</title>
	<published>2008-06-02T05:28:34Z</published>
	<updated>2008-06-02T05:28:34Z</updated>
	<author>
		<name>jupiter.hce</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I installed MySQL++ to a local directory, but could not run the
&lt;br&gt;example code. What was I missing?
&lt;br&gt;&lt;br&gt;[mysql++-3.0.3]$ ./configure --prefix=/home/my/Install
&lt;br&gt;[mysql++-3.0.3]$ make
&lt;br&gt;[mysql++-3.0.3]$ make install
&lt;br&gt;&lt;br&gt;[mysql++-3.0.3]$ ./simple1
&lt;br&gt;./simple1: error while loading shared libraries: libmysqlpp.so.3:
&lt;br&gt;cannot open shared object file: No such file or directory
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Jim
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/loading-shared-library-error-tp17600151p17600151.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17599917</id>
	<title>Re: mysqlpp::Query  Issue</title>
	<published>2008-06-02T05:13:31Z</published>
	<updated>2008-06-02T05:13:31Z</updated>
	<author>
		<name>Alexis Rodriguez Castedo</name>
	</author>
	<content type="html">Hi:
&lt;br&gt;&lt;br&gt;Try mutex instead critical section, mutexes have the advantage that can be 
&lt;br&gt;accessed by the threads of different processes. Critical section is often used 
&lt;br&gt;to protect a shared resource in order to synchronize the access order and (one 
&lt;br&gt;of the most important restriction for me) you cannot have a wait with a timeout 
&lt;br&gt;like mutex or semaphore,
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Warren Young&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17599917&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mysqlpp@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;MySQL++ Mailing List&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17599917&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plusplus@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, June 02, 2008 11:00 AM
&lt;br&gt;Subject: Re: mysqlpp::Query Issue
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17599917&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;onlyreply-sql@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I think the problem was with
&lt;br&gt;&amp;gt;&amp;gt; default constructor on query object not properly being initialized.
&lt;br&gt;&amp;gt;&amp;gt; Once I &amp;nbsp;initialized sqlquery object like this ... mysqlpp::Query
&lt;br&gt;&amp;gt;&amp;gt; sqlquery = commonDBCon.query(); , the problem went away
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you saying that it doesn't work when you pass the query string to 
&lt;br&gt;&amp;gt; Connection::query()? &amp;nbsp;The examples do this in several places successfully, and 
&lt;br&gt;&amp;gt; this is an intended feature, so if you can show an instance where it doesn't 
&lt;br&gt;&amp;gt; work, I'd be interested in seeing compilable code that shows it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not MySQL++ related, but this is highly error-prone code. &amp;nbsp;You should be using 
&lt;br&gt;&amp;gt; an RAII pattern here to make sure that all code paths that exit the function 
&lt;br&gt;&amp;gt; release the critical section mutex. &amp;nbsp;It appears fine now, but future 
&lt;br&gt;&amp;gt; maintenance could add a code path that accidentally doesn't release the mutex. 
&lt;br&gt;&amp;gt; See the code for MySQL++'s Transaction class -- it's short -- for the general 
&lt;br&gt;&amp;gt; idea.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; MySQL++ Mailing List
&lt;br&gt;&amp;gt; For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=alexis.rodriguez@gruporecoletas.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=alexis.rodriguez@...&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17599917.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17596832</id>
	<title>Re: mysqlpp::Query  Issue</title>
	<published>2008-06-02T01:59:06Z</published>
	<updated>2008-06-02T01:59:06Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17596832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;onlyreply-sql@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; I think the problem was with
&lt;br&gt;&amp;gt; default constructor on query object not properly being initialized.
&lt;br&gt;&amp;gt; Once I &amp;nbsp;initialized sqlquery object like this ... mysqlpp::Query
&lt;br&gt;&amp;gt; sqlquery = commonDBCon.query(); , the problem went away 
&lt;br&gt;&lt;br&gt;Are you saying that it doesn't work when you pass the query string to 
&lt;br&gt;Connection::query()? &amp;nbsp;The examples do this in several places 
&lt;br&gt;successfully, and this is an intended feature, so if you can show an 
&lt;br&gt;instance where it doesn't work, I'd be interested in seeing compilable 
&lt;br&gt;code that shows it.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&lt;br&gt;Not MySQL++ related, but this is highly error-prone code. &amp;nbsp;You should be 
&lt;br&gt;using an RAII pattern here to make sure that all code paths that exit 
&lt;br&gt;the function release the critical section mutex. &amp;nbsp;It appears fine now, 
&lt;br&gt;but future maintenance could add a code path that accidentally doesn't 
&lt;br&gt;release the mutex. &amp;nbsp;See the code for MySQL++'s Transaction class -- it's 
&lt;br&gt;short -- for the general idea.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17596832.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17593946</id>
	<title>Re: mysqlpp::Query  Issue</title>
	<published>2008-06-01T21:49:04Z</published>
	<updated>2008-06-01T21:49:04Z</updated>
	<author>
		<name>onlyreply-sql</name>
	</author>
	<content type="html">&lt;br&gt;Thanks Warren for detailed reply ! 
&lt;br&gt;Sorry for garbled code and after reading your reply &amp; user manual , finally I got everything working. &amp;nbsp;I think the problem was with default constructor on query object not properly being initialized. &amp;nbsp; Once I &amp;nbsp;initialized sqlquery object like this ... mysqlpp::Query sqlquery = commonDBCon.query(); , the problem went away and I'm able to use this object with multiple queries/tables. &amp;nbsp;I also removed 'reset' &amp; 'clear' function calls. &amp;nbsp; Here is the final code and please take a look when you get chance and let me know if it's not right way of doing it. &amp;nbsp;I can store result directly in my container also but &amp;nbsp;issue is I use some &amp;nbsp;enum types &amp; also want to restrict some values.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; EnterCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; try 
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Load the app
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::Query sqlquery = commonDBCon.query();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mysqlpp::StoreQueryResult sqlresults;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Form query first &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlquery &amp;lt;&amp;lt; &amp;quot;select * from Applications where AppDN=&amp;quot; &amp;lt;&amp;lt; AppDN; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlresults = sqlquery.store();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(sqlresults) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //for (size_t i = 0; i &amp;lt; res.num_rows(); ++i) { &amp;nbsp;// one app only
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_nAppDN &amp;nbsp; = sqlresults[0][&amp;quot;AppDN&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_sAppName = sqlresults[0][&amp;quot;AppName&amp;quot;]; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_sAppDesc = sqlresults[0][&amp;quot;AppDescription&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;Failed to get AppInfo&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Now, Load Application Steps
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlquery &amp;lt;&amp;lt; &amp;quot;select * from ApplicationSteps where AppDN=&amp;quot; &amp;lt;&amp;lt; AppDN; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlresults = sqlquery.store();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppSteps_Module temp2;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (sqlresults) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (size_t i = 0; i &amp;lt; sqlresults.num_rows(); ++i) { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.StepNumber = sqlresults[i][&amp;quot;StepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int StepType = sqlresults[i][&amp;quot;StepType&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.StepType = (Step_Type)StepType;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.PromptID= sqlresults[i][&amp;quot;PromptID&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.PromptFileName &amp;nbsp;= sqlresults[i][&amp;quot;PromptFileName&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.PromptText &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;PromptText&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.MaxDigits &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;MaxDigits&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.MaxSeconds &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;MaxSeconds&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.TermTones &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;TermTones&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp2.ValidDigits &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= sqlresults[i][&amp;quot;ValidDigits&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppSteps.push_back(temp2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;Failed to get AppSteps&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Now, Load Application Step Items 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlquery &amp;lt;&amp;lt; &amp;quot;select * from ApplicationStepItems where AppDN=&amp;quot; &amp;lt;&amp;lt; AppDN; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqlresults = sqlquery.store();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppStepItems_Module temp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (sqlresults) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (size_t i = 0; i &amp;lt; sqlresults.num_rows(); ++i) { &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //AppStepItems.push_back(sqlresults[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp.StepNumber = sqlresults[i][&amp;quot;StepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp.AppKeypadId = sqlresults[i][&amp;quot;AppKeypadId&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp.NextStepNumber = sqlresults[i][&amp;quot;NextStepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AppStepItems.push_back(temp);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;Failed to get AppStepItems&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; } // try
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::BadQuery&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Handle any query errors
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Query error: &amp;quot; &amp;lt;&amp;lt; er.what() );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::BadConversion&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Handle bad conversions; e.g. type mismatch populating 'stock'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Conversion error: &amp;quot; &amp;lt;&amp;lt; er.what() &amp;lt;&amp;lt; &amp;quot; tretrieved data size: &amp;quot; &amp;lt;&amp;lt; er.retrieved &amp;lt;&amp;lt;&amp;quot;, actual size: &amp;quot; &amp;lt;&amp;lt; er.actual_size);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (const mysqlpp::Exception&amp; er) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Catch-all for any other MySQL++ exceptions
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Exception: &amp;quot; &amp;lt;&amp;lt; er.what() );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch(...){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERROR(logger,&amp;quot;TelApp:Unknown Exception&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; LeaveCriticalSection(&amp;m_csDBAccess);
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Warren Young &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17593946&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mysqlpp@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17593946&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plusplus@...&lt;/a&gt;
&lt;br&gt;Sent: Sunday, June 1, 2008 5:27:57 PM
&lt;br&gt;Subject: Re: mysqlpp::Query &amp;nbsp;Issue
&lt;br&gt;&lt;br&gt;(Something in the way you posted this message is messed up: all these &amp;nbsp;
&lt;br&gt;&amp;nbsp;s make reading it a lot harder than it ought to be. &amp;nbsp;Please find &amp;nbsp;
&lt;br&gt;and fix this problem.)
&lt;br&gt;&lt;br&gt;On Jun 1, 2008, at 3:47 AM, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17593946&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;onlyreply-sql@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; sqlresults.clear();
&lt;br&gt;&lt;br&gt;It's not necessary to clear() the query result object.
&lt;br&gt;&lt;br&gt;&amp;gt; sqlquery.reset();
&lt;br&gt;&lt;br&gt;This reset() call is either misplaced, or unnecessary.
&lt;br&gt;&lt;br&gt;MySQL++ v3 auto-resets the query object after a successful execution &amp;nbsp;
&lt;br&gt;unless you're using template queries.
&lt;br&gt;&lt;br&gt;It doesn't auto-reset with template queries because that would throw &amp;nbsp;
&lt;br&gt;away the template. &amp;nbsp;This doesn't apply here because you're not using &amp;nbsp;
&lt;br&gt;that feature.
&lt;br&gt;&lt;br&gt;It also doesn't auto-reset after an error executing the query because &amp;nbsp;
&lt;br&gt;some people like to send the failed SQL out to the debug log when &amp;nbsp;
&lt;br&gt;reporting query errors. &amp;nbsp;Thus, if I'm wrong and reset() is somehow &amp;nbsp;
&lt;br&gt;needed in your program, the bug may be that you have the reset() call &amp;nbsp;
&lt;br&gt;inside the if { } statement: if the query fails, you need to reset() &amp;nbsp;
&lt;br&gt;the query object before reusing it.
&lt;br&gt;&lt;br&gt;&amp;gt; sprintf(strquery,&amp;quot;select * from ApplicationStepItems where AppDN= 
&lt;br&gt;&amp;gt; %d&amp;quot;,nAppDN);
&lt;br&gt;&lt;br&gt;It's not relevant to your problem, but I wanted to point out that &amp;nbsp;
&lt;br&gt;there's no need to build the query string separately here. &amp;nbsp;MySQL++ &amp;nbsp;
&lt;br&gt;has two built-in mechanisms for building query strings like this &amp;nbsp;
&lt;br&gt;already: template queries, and a C++ stream interface.
&lt;br&gt;&lt;br&gt;Template queries are very much like sprintf(), but I think &amp;nbsp;
&lt;br&gt;inappropriate in this particular instance. &amp;nbsp;They make the most sense &amp;nbsp;
&lt;br&gt;when you re-use the same basic query format multiple times. &amp;nbsp;In your &amp;nbsp;
&lt;br&gt;case, you're giving a different type of query each time.
&lt;br&gt;&lt;br&gt;I'd use the stream interface:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Query q = conn.query(&amp;quot;select * from ApplicationStepItems where &amp;nbsp;
&lt;br&gt;AppDN=&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; q &amp;lt;&amp;lt; nAppDN;
&lt;br&gt;&lt;br&gt;This gives you several advantages. &amp;nbsp;You avoid the need for a temporary &amp;nbsp;
&lt;br&gt;buffer, you avoid the possibility of a buffer overrun, you can use &amp;nbsp;
&lt;br&gt;data types that sprintf() doesn't know how to cope with, and you get &amp;nbsp;
&lt;br&gt;features like automatic quoting and escaping.
&lt;br&gt;&lt;br&gt;&amp;gt; mysqlpp::Query sqlquery2 = pSystem-&amp;gt;m_pCommon- 
&lt;br&gt;&amp;gt; &amp;gt;commonDBCon.query(strquery);
&lt;br&gt;&lt;br&gt;Here we see that you're not reusing the Query object, so reset() &amp;nbsp;
&lt;br&gt;cannot help. &amp;nbsp;Resetting the first Query object can't affect this one, &amp;nbsp;
&lt;br&gt;even though they use the same Connection object.
&lt;br&gt;&lt;br&gt;&amp;gt; Can anyone please suggest me the solution ?
&lt;br&gt;&lt;br&gt;You haven't given enough information. &amp;nbsp;You just say it doesn't work, &amp;nbsp;
&lt;br&gt;but don't give the error message. I may have accidentally hit on the &amp;nbsp;
&lt;br&gt;solution above, but if you make all these changes and you still get &amp;nbsp;
&lt;br&gt;the same problem, I wouldn't be surprised. &amp;nbsp;Post the error message &amp;nbsp;
&lt;br&gt;you're getting.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=onlyreply-sql@yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=onlyreply-sql@...&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17593946.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17592240</id>
	<title>Re: mysqlpp::Query  Issue</title>
	<published>2008-06-01T17:27:57Z</published>
	<updated>2008-06-01T17:27:57Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">(Something in the way you posted this message is messed up: all these &amp;nbsp;
&lt;br&gt;&amp;nbsp;s make reading it a lot harder than it ought to be. &amp;nbsp;Please find &amp;nbsp;
&lt;br&gt;and fix this problem.)
&lt;br&gt;&lt;br&gt;On Jun 1, 2008, at 3:47 AM, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17592240&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;onlyreply-sql@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; sqlresults.clear();
&lt;br&gt;&lt;br&gt;It's not necessary to clear() the query result object.
&lt;br&gt;&lt;br&gt;&amp;gt; sqlquery.reset();
&lt;br&gt;&lt;br&gt;This reset() call is either misplaced, or unnecessary.
&lt;br&gt;&lt;br&gt;MySQL++ v3 auto-resets the query object after a successful execution &amp;nbsp;
&lt;br&gt;unless you're using template queries.
&lt;br&gt;&lt;br&gt;It doesn't auto-reset with template queries because that would throw &amp;nbsp;
&lt;br&gt;away the template. &amp;nbsp;This doesn't apply here because you're not using &amp;nbsp;
&lt;br&gt;that feature.
&lt;br&gt;&lt;br&gt;It also doesn't auto-reset after an error executing the query because &amp;nbsp;
&lt;br&gt;some people like to send the failed SQL out to the debug log when &amp;nbsp;
&lt;br&gt;reporting query errors. &amp;nbsp;Thus, if I'm wrong and reset() is somehow &amp;nbsp;
&lt;br&gt;needed in your program, the bug may be that you have the reset() call &amp;nbsp;
&lt;br&gt;inside the if { } statement: if the query fails, you need to reset() &amp;nbsp;
&lt;br&gt;the query object before reusing it.
&lt;br&gt;&lt;br&gt;&amp;gt; sprintf(strquery,&amp;quot;select * from ApplicationStepItems where AppDN= 
&lt;br&gt;&amp;gt; %d&amp;quot;,nAppDN);
&lt;br&gt;&lt;br&gt;It's not relevant to your problem, but I wanted to point out that &amp;nbsp;
&lt;br&gt;there's no need to build the query string separately here. &amp;nbsp;MySQL++ &amp;nbsp;
&lt;br&gt;has two built-in mechanisms for building query strings like this &amp;nbsp;
&lt;br&gt;already: template queries, and a C++ stream interface.
&lt;br&gt;&lt;br&gt;Template queries are very much like sprintf(), but I think &amp;nbsp;
&lt;br&gt;inappropriate in this particular instance. &amp;nbsp;They make the most sense &amp;nbsp;
&lt;br&gt;when you re-use the same basic query format multiple times. &amp;nbsp;In your &amp;nbsp;
&lt;br&gt;case, you're giving a different type of query each time.
&lt;br&gt;&lt;br&gt;I'd use the stream interface:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Query q = conn.query(&amp;quot;select * from ApplicationStepItems where &amp;nbsp;
&lt;br&gt;AppDN=&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; q &amp;lt;&amp;lt; nAppDN;
&lt;br&gt;&lt;br&gt;This gives you several advantages. &amp;nbsp;You avoid the need for a temporary &amp;nbsp;
&lt;br&gt;buffer, you avoid the possibility of a buffer overrun, you can use &amp;nbsp;
&lt;br&gt;data types that sprintf() doesn't know how to cope with, and you get &amp;nbsp;
&lt;br&gt;features like automatic quoting and escaping.
&lt;br&gt;&lt;br&gt;&amp;gt; mysqlpp::Query sqlquery2 = pSystem-&amp;gt;m_pCommon- 
&lt;br&gt;&amp;gt; &amp;gt;commonDBCon.query(strquery);
&lt;br&gt;&lt;br&gt;Here we see that you're not reusing the Query object, so reset() &amp;nbsp;
&lt;br&gt;cannot help. &amp;nbsp;Resetting the first Query object can't affect this one, &amp;nbsp;
&lt;br&gt;even though they use the same Connection object.
&lt;br&gt;&lt;br&gt;&amp;gt; Can anyone please suggest me the solution ?
&lt;br&gt;&lt;br&gt;You haven't given enough information. &amp;nbsp;You just say it doesn't work, &amp;nbsp;
&lt;br&gt;but don't give the error message. I may have accidentally hit on the &amp;nbsp;
&lt;br&gt;solution above, but if you make all these changes and you still get &amp;nbsp;
&lt;br&gt;the same problem, I wouldn't be surprised. &amp;nbsp;Post the error message &amp;nbsp;
&lt;br&gt;you're getting.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17592240.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17583955</id>
	<title>mysqlpp::Query  Issue</title>
	<published>2008-06-01T02:47:16Z</published>
	<updated>2008-06-01T02:47:16Z</updated>
	<author>
		<name>onlyreply-sql</name>
	</author>
	<content type="html">Hi All, 
&lt;br&gt;&lt;br&gt;I'm not able to reuse mysqlpp::Query&amp;nbsp; object and program throws exception.&amp;nbsp; Although,I'm calling &amp;nbsp;&amp;nbsp; reset() function on it.&amp;nbsp; Here si the code snippet...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mysqlpp::Query sqlquery = commonDBCon.query(strquery);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (sqlresults = sqlquery.store()) {
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; AppDN&amp;nbsp;&amp;nbsp; = sqlresults[0][&amp;quot;AppDN&amp;quot;];
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; AppName = sqlresults[0][&amp;quot;AppName&amp;quot;]; 
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; AppDesc = sqlresults[0][&amp;quot;AppDescription&amp;quot;];
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; sqlresults.clear();
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; sqlquery.reset();
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Now, Load Application Step Items 
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sprintf(strquery,&amp;quot;select * from ApplicationStepItems where AppDN=%d&amp;quot;,nAppDN);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mysqlpp::Query sqlquery2 = pSystem-&amp;gt;m_pCommon-&amp;gt;commonDBCon.query(strquery);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sqlquery.storein(AppStepItems);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppStepItems_Module temp;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (sqlresults = sqlquery2.store()) {
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for (size_t i = 0; i &amp;lt; sqlresults.num_rows(); ++i) {&amp;nbsp; 
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //AppStepItems.push_back(sqlresults[i]);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; temp.StepNumber = sqlresults[i][&amp;quot;StepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; temp.AppKeypadId = sqlresults[i][&amp;quot;AppKeypadId&amp;quot;];
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; temp.NextStepNumber = sqlresults[i][&amp;quot;NextStepNumber&amp;quot;];
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppStepItems.push_back(temp);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Can anyone please suggest me the solution ?&amp;nbsp; 
&lt;br&gt;My requirements is just to&amp;nbsp; access multiple tables and store records in appropriate structures/templates. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17583955.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17557517</id>
	<title>Re: Deadlock exception</title>
	<published>2008-05-30T05:15:23Z</published>
	<updated>2008-05-30T05:15:23Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">Warren Young wrote:
&lt;br&gt;&amp;gt; use a separate Connection from each thread?
&lt;br&gt;&lt;br&gt;Sorry, wooly thinking... &amp;nbsp;Of course you can get deadlocks with multiple 
&lt;br&gt;connections....that's the only way, in fact. &amp;nbsp;Need more caffeine....
&lt;br&gt;&lt;br&gt;Anyway, this is almost certainly not a bug in MySQL++. &amp;nbsp;Not that MySQL++ 
&lt;br&gt;never has bugs, but that there's no code in MySQL++ for generating this 
&lt;br&gt;error code. &amp;nbsp;Unless MySQL++ is somehow corrupting your query strings, I 
&lt;br&gt;don't see how the problem could be in MySQL++.
&lt;br&gt;&lt;br&gt;It could be a bug in the server, but that's unlikely if you're running 
&lt;br&gt;the current GA release. &amp;nbsp;If you're running something else, at least try 
&lt;br&gt;your program against the current GA release on a test server.
&lt;br&gt;&lt;br&gt;If the problem continues when running against the current GA release of 
&lt;br&gt;the server, the server is reporting a legitimate problem to your 
&lt;br&gt;program. &amp;nbsp;Your program is somehow mistreating the database, and it is 
&lt;br&gt;not happy about it.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Deadlock-exception-tp17554002p17557517.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17557036</id>
	<title>Re: Deadlock exception</title>
	<published>2008-05-30T04:46:35Z</published>
	<updated>2008-05-30T04:46:35Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">António Santos wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This happened when I was using transactions but then I removed the use 
&lt;br&gt;&amp;gt; of transactions and I get the same result.
&lt;br&gt;&amp;gt; Do anyone know why this is happening? I have a mutex that assures that 
&lt;br&gt;&amp;gt; two threads do not affect the same rows at the same time.
&lt;br&gt;&lt;br&gt;First, I want to point out that this error comes from the MySQL server. 
&lt;br&gt;&amp;nbsp; MySQL++ is only reporting it.
&lt;br&gt;&lt;br&gt;A Google search for ER_LOCK_DEADLOCK (the underlying MySQL error code) 
&lt;br&gt;says there are many more causes for this error than trying to modify 
&lt;br&gt;rows at the same time.
&lt;br&gt;&lt;br&gt;Rather than try to fight all of these cases, why not follow the advice 
&lt;br&gt;in the MySQL++ user manual, and use a separate Connection from each 
&lt;br&gt;thread? &amp;nbsp;You cannot cause a MySQL server deadlock in this situation.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Deadlock-exception-tp17554002p17557036.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17554002</id>
	<title>Deadlock exception</title>
	<published>2008-05-30T01:30:27Z</published>
	<updated>2008-05-30T01:30:27Z</updated>
	<author>
		<name>António Santos</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;I've been using mysql++ 3.0 lately in a multithreaded program and &amp;nbsp;
&lt;br&gt;sometimes, when I issue an INSERT query, I get an exception:
&lt;br&gt;Deadlock found when trying to get lock; try restarting transaction
&lt;br&gt;This happened when I was using transactions but then I removed the use &amp;nbsp;
&lt;br&gt;of transactions and I get the same result.
&lt;br&gt;Do anyone know why this is happening? I have a mutex that assures that &amp;nbsp;
&lt;br&gt;two threads do not affect the same rows at the same time.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Antonio Santos
&lt;br&gt;Portugal
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Deadlock-exception-tp17554002p17554002.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17536782</id>
	<title>MySQL example code</title>
	<published>2008-05-29T08:31:00Z</published>
	<updated>2008-05-29T08:31:00Z</updated>
	<author>
		<name>jupiter.hce</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Are there any good reference / example code to show how to connect MySQL
&lt;br&gt;database, what is the whole procedule to get query response (data in
&lt;br&gt;buffer) using multithreads and cache?
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Kind Regards,
&lt;br&gt;&lt;br&gt;Jim
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17536782.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17537751</id>
	<title>Re: MySQL example code</title>
	<published>2008-05-29T07:48:12Z</published>
	<updated>2008-05-29T07:48:12Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17537751&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jupiter.hce@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are there any good reference / example code to show how to connect MySQL
&lt;br&gt;&amp;gt; database, what is the whole procedule to get query response (data in
&lt;br&gt;&amp;gt; buffer) using multithreads and cache?
&lt;br&gt;&lt;br&gt;Read the user manual:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://tangentsoft.net/mysql++/doc/html/userman/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tangentsoft.net/mysql++/doc/html/userman/&lt;/a&gt;&lt;br&gt;&lt;br&gt;At the very least, read chapters 1 through 3, plus 7.
&lt;br&gt;&lt;br&gt;Then, read README-examples.txt in the MySQL++ distribution, along with 
&lt;br&gt;the README for your platform and/or tool chain. &amp;nbsp;Then play with the 
&lt;br&gt;examples.
&lt;br&gt;&lt;br&gt;This should answer most of your questions.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL-example-code-tp17536782p17537751.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17482381</id>
	<title>Re: Miscellaneous questions - compile flags and StoreQueryResult</title>
	<published>2008-05-26T20:29:19Z</published>
	<updated>2008-05-26T20:29:19Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">On May 24, 2008, at 11:24 PM, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17482381&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alpha@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Is there any way can I get rid of need for adding these include and
&lt;br&gt;&amp;gt; library flags every time I want to compile?
&lt;br&gt;&lt;br&gt;These headers are segregated for good reason.
&lt;br&gt;&lt;br&gt;Perhaps you're typing the compilation command by hand each time? &amp;nbsp;If &amp;nbsp;
&lt;br&gt;so, you need to start learning any or all of: Bourne shell scripting, &amp;nbsp;
&lt;br&gt;Make, and Automake. &amp;nbsp;Once you have your build process automated, the &amp;nbsp;
&lt;br&gt;build commands can be as long as you like.
&lt;br&gt;&lt;br&gt;&amp;gt; Also I read that sometimes I might need the flags &amp;quot;-L/usr/lib/mysql
&lt;br&gt;&amp;gt; -L/usr/local/lib/mysql++&amp;quot;, though my test script didn't need them. &amp;nbsp;
&lt;br&gt;&amp;gt; In what
&lt;br&gt;&amp;gt; situations would I need these flags?
&lt;br&gt;&lt;br&gt;You'd need them if the libraries in question were stored in the named &amp;nbsp;
&lt;br&gt;directories instead of one searched automatically by the compiler.
&lt;br&gt;&lt;br&gt;&amp;gt; how can I find the number of fields
&lt;br&gt;&lt;br&gt;ResultBase::num_fields():
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://tangentsoft.net/mysql++/doc/html/refman/classmysqlpp_1_1ResultBase.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tangentsoft.net/mysql++/doc/html/refman/classmysqlpp_1_1ResultBase.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Or, get the Fields object from the result object, and walk through &amp;nbsp;
&lt;br&gt;that list.
&lt;br&gt;&lt;br&gt;&amp;gt; *Since StoreQueryResult seems to read the result all at once, is it &amp;nbsp;
&lt;br&gt;&amp;gt; really
&lt;br&gt;&amp;gt; bad/slow/unadvisable for really huge results - say hundreds of &amp;nbsp;
&lt;br&gt;&amp;gt; thousands
&lt;br&gt;&amp;gt; or more rows?
&lt;br&gt;&lt;br&gt;It's covered in the manual: &lt;a href=&quot;http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#querytypes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#querytypes&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; *How can I uninstall MySQL++?
&lt;br&gt;&lt;br&gt;If you built from source:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ cd /wherever/you/unpacked/it
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # make uninstall
&lt;br&gt;&lt;br&gt;If you installed a binary package, you uninstall it the same way you &amp;nbsp;
&lt;br&gt;uninstall any other package on your system.
&lt;br&gt;&lt;br&gt;It would appear you need to get a book on Linux software development. &amp;nbsp; 
&lt;br&gt;Of the questions not already answered in the MySQL++ manual, the rest &amp;nbsp;
&lt;br&gt;relate to topics you're expected to know as a Linux programmer. &amp;nbsp;It is &amp;nbsp;
&lt;br&gt;inappropriate to post such general questions to a special-purpose &amp;nbsp;
&lt;br&gt;mailing list like this one.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Miscellaneous-questions---compile-flags-and-StoreQueryResult-tp17454670p17482381.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17482280</id>
	<title>Re: Failing to compile MySQL++</title>
	<published>2008-05-26T20:13:26Z</published>
	<updated>2008-05-26T20:13:26Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">On May 24, 2008, at 1:21 PM, FreezeBurnX wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; if(!connect_to_db(argc,argv,con)){
&lt;br&gt;&lt;br&gt;This function is part of the examples in MySQL++ v2.x, not part of the &amp;nbsp;
&lt;br&gt;MySQL++ library proper. &amp;nbsp;It exists only for the examples; it's not &amp;nbsp;
&lt;br&gt;something to be reused. &amp;nbsp;Instead, create your connection with the &amp;nbsp;
&lt;br&gt;Connection constructor, or with Connection::connect().
&lt;br&gt;&lt;br&gt;Or, better, switch to MySQL++ 3.x. &amp;nbsp;Among its many improvements are &amp;nbsp;
&lt;br&gt;examples that don't hide this aspect of MySQL++ use within unreusable &amp;nbsp;
&lt;br&gt;functions. &amp;nbsp;Look through the first parts of this section of the v3 &amp;nbsp;
&lt;br&gt;user manual to see the difference:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I've been searching about this for
&lt;br&gt;&amp;gt; more than 4 hours.
&lt;br&gt;&lt;br&gt;A mailing list search for &amp;quot;connect_to_db&amp;quot; pulls up 48 posts, some of &amp;nbsp;
&lt;br&gt;which certainly contain this answer because it's been asked and &amp;nbsp;
&lt;br&gt;answered several times before. &amp;nbsp;I believe it's covered in the Tutorial &amp;nbsp;
&lt;br&gt;chapter of the v2 user manual, too.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Failing-to-compile-MySQL%2B%2B-tp17451045p17482280.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17454670</id>
	<title>Miscellaneous questions - compile flags and StoreQueryResult</title>
	<published>2008-05-24T22:24:08Z</published>
	<updated>2008-05-24T22:24:08Z</updated>
	<author>
		<name>alpha-10</name>
	</author>
	<content type="html">I got MySQL++ working, but when compiling I need to add include and
&lt;br&gt;library flags, e.g.:
&lt;br&gt;&lt;br&gt;g++ test.cpp -I/usr/include/mysql -I/usr/local/include/mysql++ -lmysqlpp
&lt;br&gt;&lt;br&gt;Is there any way can I get rid of need for adding these include and
&lt;br&gt;library flags every time I want to compile?
&lt;br&gt;&lt;br&gt;Also I read that sometimes I might need the flags &amp;quot;-L/usr/lib/mysql
&lt;br&gt;-L/usr/local/lib/mysql++&amp;quot;, though my test script didn't need them. In what
&lt;br&gt;situations would I need these flags?
&lt;br&gt;&lt;br&gt;And a few more questions:
&lt;br&gt;&lt;br&gt;*In a StoreQueryResult object, how can I find the number of fields, so I
&lt;br&gt;can iterate over both rows and fields in nested for() loops?
&lt;br&gt;&lt;br&gt;*Since StoreQueryResult seems to read the result all at once, is it really
&lt;br&gt;bad/slow/unadvisable for really huge results - say hundreds of thousands
&lt;br&gt;or more rows?
&lt;br&gt;&lt;br&gt;*How can I uninstall MySQL++?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Miscellaneous-questions---compile-flags-and-StoreQueryResult-tp17454670p17454670.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17451045</id>
	<title>Failing to compile MySQL++</title>
	<published>2008-05-24T12:21:57Z</published>
	<updated>2008-05-24T12:21:57Z</updated>
	<author>
		<name>FreezeBurnX</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;#include &amp;quot;include/mysql++.h&amp;quot;
&lt;br&gt;&lt;br&gt;#include &amp;lt;iostream&amp;gt;
&lt;br&gt;#include &amp;lt;iomanip&amp;gt;
&lt;br&gt;#include &amp;lt;string&amp;gt;
&lt;br&gt;&lt;br&gt;using namespace std;
&lt;br&gt;&lt;br&gt;int main(int argc, char *argv[])
&lt;br&gt;{
&lt;br&gt;mysqlpp::Connection con(false);
&lt;br&gt;if(!connect_to_db(argc,argv,con)){
&lt;br&gt;return 1;
&lt;br&gt;}
&lt;br&gt;return 0;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Gives me the error
&lt;br&gt;C:\mysql++\main.cpp|12|error: `connect_to_db' was not declared in this
&lt;br&gt;scope|
&lt;br&gt;&lt;br&gt;I have successfully compiled the dll and the examples are working, but I
&lt;br&gt;don't understand what I am doing wrong. I've been searching about this for
&lt;br&gt;more than 4 hours. MySQL version 5.0 is installed, I'm using gcc 3.4.5 and
&lt;br&gt;mingw. IDE is Code::Blocks
&lt;br&gt;Thank you!
&lt;br&gt;-- 
&lt;br&gt;-Bernardo
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp;-Bernardo
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Failing-to-compile-MySQL%2B%2B-tp17451045p17451045.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17449332</id>
	<title>Re: SSQLS Limitation (again)</title>
	<published>2008-05-23T18:16:20Z</published>
	<updated>2008-05-23T18:16:20Z</updated>
	<author>
		<name>Brett M</name>
	</author>
	<content type="html">Warren Young wrote:
&lt;br&gt;&lt;br&gt;On May 22, 2008, at 6:16 AM, Brett M wrote:
&lt;br&gt;&lt;br&gt;one of the tables I need to read (not
&lt;br&gt;write to) has 31 columns, I only need the first seven and the very last
&lt;br&gt;column.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Then you don't need 31 column support.
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;You only need as many columns declared in the SSQLS as you actually pull
&lt;br&gt;from the DB. &amp;nbsp;(Technically not even that: if you pull more cols from the DB
&lt;br&gt;than is in the SSQLS, the extra just gets sliced off, in v3.)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Excellent, thanks Watten, that works. &amp;nbsp;I did try something very similar to
&lt;br&gt;this but it didn't work, seems so obvious now.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;this is an open
&lt;br&gt;source application and I hope many people will want to use it, I can't
&lt;br&gt;expect them all to do the same thing on their systems.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Anyone not interested in changing their MySQL++ code is likely to want
&lt;br&gt;binaries from you, not source. &amp;nbsp;So, if you ever do need more than 25 of
&lt;br&gt;those columns at once, it's probably still not Game Over.
&lt;br&gt;&lt;br&gt;Its an open source application for Linux (and being a gentoo fanboy) I will
&lt;br&gt;be distributing it as source.
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;Sure, but technically that then requires that you use LGPL for your own
&lt;br&gt;code, or something compatible.
&lt;br&gt;&lt;br&gt;It also means you're one step behind whenever we change the definition of
&lt;br&gt;the SSQLSes.
&lt;br&gt;&lt;br&gt;Third strike: it isn't necessary, as described above.
&lt;br&gt;&lt;br&gt;&amp;nbsp;I hope to release my application as LGPL anyway but as you point out in
&lt;br&gt;your first answer my problem is solved regardless.
&lt;br&gt;&lt;br&gt;Thanks for the quick reply.
&lt;br&gt;Cheers,
&lt;br&gt;Brett
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SSQLS-Limitation-%28again%29-tp17403007p17449332.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17415869</id>
	<title>Re: Searching in MySQL++ mailing list archive</title>
	<published>2008-05-22T16:35:39Z</published>
	<updated>2008-05-22T16:35:39Z</updated>
	<author>
		<name>Chris Frey-2</name>
	</author>
	<content type="html">On Mon, May 19, 2008 at 07:10:28AM -0600, Warren Young wrote:
&lt;br&gt;&amp;gt; Yes, it's broken, and seems to have been for quite some time. &amp;nbsp;Since &amp;nbsp;
&lt;br&gt;&amp;gt; this also affects all the other MySQL mail lists, I expected it would &amp;nbsp;
&lt;br&gt;&amp;gt; be fixed without any of us needing to add to the list of complaints. &amp;nbsp; 
&lt;br&gt;&amp;gt; I was clearly wrong...
&lt;br&gt;&lt;br&gt;Try MARC in the meantime:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://marc.info/?l=mysql-plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://marc.info/?l=mysql-plusplus&lt;/a&gt;&lt;br&gt;&lt;br&gt;- Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Searching-in-MySQL%2B%2B-mailing-list-archive-tp17312978p17415869.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17415773</id>
	<title>Re: license question</title>
	<published>2008-05-22T16:30:41Z</published>
	<updated>2008-05-22T16:30:41Z</updated>
	<author>
		<name>support-192</name>
	</author>
	<content type="html">Warren Young wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On May 22, 2008, at 4:25 PM, support wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; mysql++ isn't much use without the mysql C api...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's true.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you just wishing it were not so, or were you about to propose some
&lt;br&gt;&amp;gt; change that *makes* it not so?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I want to create a closed source app. I want to use mysql++. I don't
&lt;br&gt;&amp;gt;&amp;gt; link to mysql C api or touch it, but mysql++ does.
&lt;br&gt;&amp;gt;&amp;gt; I want to include the mysql++ dll and the mysql C api dll with my app
&lt;br&gt;&amp;gt;&amp;gt; when I
&lt;br&gt;&amp;gt;&amp;gt; distribute it so it 'just works'. I don't mind making the source for
&lt;br&gt;&amp;gt;&amp;gt; those available if I have to. I will not allow any of my code to become
&lt;br&gt;&amp;gt;&amp;gt; GPL or LGPL.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm sure you can find a lawyer who is willing to argue that case for
&lt;br&gt;&amp;gt; you. &amp;nbsp;For a fee, of course.
&lt;br&gt;&amp;gt;
&lt;/div&gt;SO that is a no.
&lt;br&gt;&amp;gt;&amp;gt; I do not want to spend money.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Something for nothing, eh? &amp;nbsp;:)
&lt;br&gt;&amp;gt;
&lt;br&gt;No sir. Don't assume too much. This is not politics or emotion for me.
&lt;br&gt;The project MUST be closed source. Thats the way it is. Out of my hands.
&lt;br&gt;If money is to be spent, it will be spent on an existing MS SQL
&lt;br&gt;infrastructure. It seems mysql++ can't fit my requirements then. Unless
&lt;br&gt;I can find some info on mysql pricing and work it in the budget.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;I'm sure you can find a better place to ask that question.
&lt;br&gt;&lt;br&gt;Ok.
&lt;br&gt;Well mysql++ looks like nice work there anyway. :) cheers
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/license-question-tp17412079p17415773.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17415616</id>
	<title>Re: MySQL++ and Gentoo</title>
	<published>2008-05-22T16:21:26Z</published>
	<updated>2008-05-22T16:21:26Z</updated>
	<author>
		<name>Chris Frey-2</name>
	</author>
	<content type="html">On Wed, Oct 24, 2007 at 10:49:38PM +0200, Michael Hanselmann wrote:
&lt;br&gt;&amp;gt; On Wed, Oct 24, 2007 at 04:49:48AM -0600, Warren Young wrote:
&lt;br&gt;&amp;gt; &amp;gt; Michael Hanselmann wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Actually, I'm a Gentoo dev, too, and just bumped the package last week.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks! &amp;nbsp;The current .ebuild file is still fine, then?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have troubles understanding your question. The version in the portage
&lt;br&gt;&amp;gt; tree works, yes.
&lt;br&gt;&lt;br&gt;I was reading through old mailing list archives and saw my name mentioned
&lt;br&gt;in this old thread.
&lt;br&gt;&lt;br&gt;I took a quick look at the difference between gentoo's latest ebuild
&lt;br&gt;and mysql++'s. &amp;nbsp;I've attached the diff for reference.
&lt;br&gt;&lt;br&gt;The official gentoo ebuild is still on version 2.3.2, and they apply
&lt;br&gt;a patch for gcc-4.3. &amp;nbsp;I've attached their patch as well, for reference.
&lt;br&gt;&lt;br&gt;I think mysql++ is supported well enough in Gentoo now that you could
&lt;br&gt;probably remove the ebuild from your source tarball and nobody would
&lt;br&gt;notice. :-) &amp;nbsp;The Gentoo world lives off the portage tree anyway.
&lt;br&gt;&lt;br&gt;I'm not an active Gentoo user anymore, so I'm probably not the best
&lt;br&gt;maintainer for the ebuild.
&lt;br&gt;&lt;br&gt;- Chris
&lt;br&gt;&lt;br&gt;&lt;br /&gt;--- mysql++.ebuild	2008-05-16 19:35:07.000000000 -0400
&lt;br&gt;+++ /home/cdfrey/incoming/mysql++-2.3.2.ebuild	2008-05-22 18:48:43.000000000 -0400
&lt;br&gt;@@ -1,43 +1,58 @@
&lt;br&gt;-# Copyright 1999-2004 Gentoo Foundation
&lt;br&gt;+# Copyright 1999-2008 Gentoo Foundation
&lt;br&gt;&amp;nbsp;# Distributed under the terms of the GNU General Public License v2
&lt;br&gt;+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-2.3.2.ebuild,v 1.3 2008/04/21 03:00:49 dirtyepic Exp $
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-inherit gcc eutils gnuconfig
&lt;br&gt;+inherit eutils
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DESCRIPTION=&amp;quot;C++ API interface to the MySQL database&amp;quot;
&lt;br&gt;-# This is the download page but includes links to other places
&lt;br&gt;&amp;nbsp;HOMEPAGE=&amp;quot;&lt;a href=&quot;http://tangentsoft.net/mysql++/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tangentsoft.net/mysql++/&lt;/a&gt;&amp;quot;
&lt;br&gt;-SRC_URI_BASE=&amp;quot;&lt;a href=&quot;http://tangentsoft.net/mysql++/releases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tangentsoft.net/mysql++/releases&lt;/a&gt;&amp;quot;
&lt;br&gt;-SRC_URI=&amp;quot;${SRC_URI_BASE}/${P}.tar.gz&amp;quot;
&lt;br&gt;+SRC_URI=&amp;quot;&lt;a href=&quot;http://www.tangentsoft.net/mysql++/releases/$&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tangentsoft.net/mysql++/releases/$&lt;/a&gt;{P}.tar.gz&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;LICENSE=&amp;quot;LGPL-2&amp;quot;
&lt;br&gt;&amp;nbsp;SLOT=&amp;quot;0&amp;quot;
&lt;br&gt;-KEYWORDS=&amp;quot;x86 ~alpha ~hppa ~mips ~sparc ~ppc ~amd64&amp;quot;
&lt;br&gt;+KEYWORDS=&amp;quot;~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86&amp;quot;
&lt;br&gt;&amp;nbsp;IUSE=&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-DEPEND=&amp;quot;&amp;gt;=dev-db/mysql-3.23.49&amp;quot;
&lt;br&gt;+DEPEND=&amp;quot;&amp;gt;=sys-devel/gcc-3&amp;quot;
&lt;br&gt;+RDEPEND=&amp;quot;${DEPEND}
&lt;br&gt;+		&amp;gt;=virtual/mysql-4.0&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;src_unpack() {
&lt;br&gt;-	unpack ${P}.tar.gz
&lt;br&gt;+	unpack ${A}
&lt;br&gt;+	cd &amp;quot;${S}&amp;quot;
&lt;br&gt;+
&lt;br&gt;+	epatch &amp;quot;${FILESDIR}&amp;quot;/${P}-gcc-4.3.patch
&lt;br&gt;+
&lt;br&gt;+	for i in &amp;quot;${S}&amp;quot;/lib/*.h ; do
&lt;br&gt;+		sed -i \
&lt;br&gt;+			-e '/#include &amp;lt;/s,mysql.h,mysql/mysql.h,g' \
&lt;br&gt;+			-e '/#include &amp;lt;/s,mysql_version.h,mysql/mysql_version.h,g' \
&lt;br&gt;+			&amp;quot;${i}&amp;quot; || die &amp;quot;Failed to sed ${i} for fixing MySQL includes&amp;quot;
&lt;br&gt;+	done
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;src_compile() {
&lt;br&gt;-	gnuconfig_update
&lt;br&gt;-	# not including the directives to where MySQL is because it seems to find it
&lt;br&gt;-	# just fine without
&lt;br&gt;+	local myconf
&lt;br&gt;+	# we want C++ exceptions turned on
&lt;br&gt;+	myconf=&amp;quot;--enable-exceptions&amp;quot;
&lt;br&gt;+	# give threads a try
&lt;br&gt;+	myconf=&amp;quot;${myconf} --enable-thread-check&amp;quot;
&lt;br&gt;+	# not including the directives to where MySQL is because it seems to
&lt;br&gt;+	# find it just fine without
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	# force the cflags into place otherwise they get totally ignored by
&lt;br&gt;&amp;nbsp;	# configure
&lt;br&gt;-	CFLAGS=&amp;quot;${CFLAGS}&amp;quot; CXXFLAGS=&amp;quot;${CFLAGS} ${CXXFLAGS}&amp;quot; econf || \
&lt;br&gt;-			die &amp;quot;econf failed&amp;quot;
&lt;br&gt;+	CFLAGS=&amp;quot;${CFLAGS}&amp;quot; CXXFLAGS=&amp;quot;${CXXFLAGS}&amp;quot; \
&lt;br&gt;+	econf ${myconf} || die &amp;quot;econf failed&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	emake || die &amp;quot;unable to make&amp;quot;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;src_install() {
&lt;br&gt;-	make DESTDIR=${D} install || die
&lt;br&gt;+	emake DESTDIR=&amp;quot;${D}&amp;quot; install || die
&lt;br&gt;&amp;nbsp;	# install the docs and HTML pages
&lt;br&gt;-	dodoc README* LICENSE.txt
&lt;br&gt;+	dodoc README* CREDITS ChangeLog HACKERS Wishlist
&lt;br&gt;&amp;nbsp;	dodoc doc/*
&lt;br&gt;-	dohtml doc/html/*
&lt;br&gt;+	cp -ra doc/html &amp;quot;${D}&amp;quot;/usr/share/doc/${PF}/html
&lt;br&gt;&amp;nbsp;	prepalldocs
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;-
&lt;br&gt;&lt;br /&gt;diff -Naur mysql++-2.3.2-orig/lib/const_string.h mysql++-2.3.2/lib/const_string.h
&lt;br&gt;--- mysql++-2.3.2-orig/lib/const_string.h	2008-03-22 16:16:39.000000000 -0600
&lt;br&gt;+++ mysql++-2.3.2/lib/const_string.h	2008-03-22 16:18:47.000000000 -0600
&lt;br&gt;@@ -35,6 +35,7 @@
&lt;br&gt;&amp;nbsp;#include &amp;lt;iostream&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;stdexcept&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;string&amp;gt;
&lt;br&gt;+#include &amp;lt;cstring&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;namespace mysqlpp {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/MySQL%2B%2B-and-Gentoo-tp13353445p17415616.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17415059</id>
	<title>Re: license question</title>
	<published>2008-05-22T15:43:32Z</published>
	<updated>2008-05-22T15:43:32Z</updated>
	<author>
		<name>Warren Young-3</name>
	</author>
	<content type="html">On May 22, 2008, at 4:25 PM, support wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; mysql++ isn't much use without the mysql C api...
&lt;br&gt;&lt;br&gt;That's true.
&lt;br&gt;&lt;br&gt;Are you just wishing it were not so, or were you about to propose some &amp;nbsp;
&lt;br&gt;change that *makes* it not so?
&lt;br&gt;&lt;br&gt;&amp;gt; I want to create a closed source app. I want to use mysql++. I don't &amp;nbsp;
&lt;br&gt;&amp;gt; link to mysql C api or touch it, but mysql++ does.
&lt;br&gt;&amp;gt; I want to include the mysql++ dll and the mysql C api dll with my &amp;nbsp;
&lt;br&gt;&amp;gt; app when I
&lt;br&gt;&amp;gt; distribute it so it 'just works'. I don't mind making the source for
&lt;br&gt;&amp;gt; those available if I have to. I will not allow any of my code to &amp;nbsp;
&lt;br&gt;&amp;gt; become
&lt;br&gt;&amp;gt; GPL or LGPL.
&lt;br&gt;&lt;br&gt;I'm sure you can find a lawyer who is willing to argue that case for &amp;nbsp;
&lt;br&gt;you. &amp;nbsp;For a fee, of course.
&lt;br&gt;&lt;br&gt;&amp;gt; I do not want to spend money.
&lt;br&gt;&lt;br&gt;Something for nothing, eh? &amp;nbsp;:)
&lt;br&gt;&lt;br&gt;Hard cash isn't the only token that'll make this sociolegal carousel &amp;nbsp;
&lt;br&gt;go 'round. &amp;nbsp;If you read the MySQL++ Wishlist, you'll find a plan for &amp;nbsp;
&lt;br&gt;making MySQL++ talk to other databases. &amp;nbsp;If you're willing to work &amp;nbsp;
&lt;br&gt;with us to develop that, it solves your problem.
&lt;br&gt;&lt;br&gt;Just offering it as an option to consider...
&lt;br&gt;&lt;br&gt;&amp;gt; what about the mysql ODBC connector?
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm sure you can find a better place to ask that question.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/license-question-tp17412079p17415059.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17414771</id>
	<title>Re: license question</title>
	<published>2008-05-22T15:22:20Z</published>
	<updated>2008-05-22T15:22:20Z</updated>
	<author>
		<name>support-192</name>
	</author>
	<content type="html">Warren Young wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; On May 22, 2008, at 1:52 PM, support wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I'm evaluating mysql++ and I would like to create a closed source app
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; using it. Likely it would stay in house but we need to be able to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; distribute it in the future if we should decide to do so. As long as we
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; link dynamically, this is possible, correct?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; IANAL, and I don't speak for any other entity, not even the company I
&lt;br&gt;&amp;gt; &amp;gt; work for. &amp;nbsp;My informed opinion is, &amp;quot;yes&amp;quot;. &amp;nbsp;:) 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Can we distribute the mysql++ .dll/.so binary with our application?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes, as long as you're willing to provide the source code that
&lt;br&gt;&amp;gt; &amp;gt; produced that DLL to anyone who asks. &amp;nbsp;The exact terms of this
&lt;br&gt;&amp;gt; &amp;gt; requirement are spelled out in the LGPL.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Same question for the mysql C api .dll/.so..?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The MySQL C API is under the GPL, not the LGPL, so it doesn't matter
&lt;br&gt;&amp;gt; &amp;gt; how you link: your app falls under the GPL unless you buy a commercial
&lt;br&gt;&amp;gt; &amp;gt; redistribution license from MySQL, Inc.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;oops, sorry I reponded to you and not list..
&lt;br&gt;&lt;br&gt;Now i'm confused. mysql++ isn't much use without the mysql C api... So
&lt;br&gt;it really IS NOT possible to do what I want, unless I buy a license from
&lt;br&gt;MySQL? I cannot open-source this app.
&lt;br&gt;&lt;br&gt;Wait, maybe you misunderstood my second question. ok:
&lt;br&gt;I want to create a closed source app. I want to use mysql++. I don't link to mysql C api or touch it, but mysql++ does. 
&lt;br&gt;I want to include the mysql++ dll and the mysql C api dll with my app when I
&lt;br&gt;distribute it so it 'just works'. I don't mind making the source for
&lt;br&gt;those available if I have to. I will not allow any of my code to become
&lt;br&gt;GPL or LGPL. I do not want to spend money. Is it possible?
&lt;br&gt;&lt;br&gt;If not, what about the mysql ODBC connector?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;MySQL++ Mailing List
&lt;br&gt;For list archives: &lt;a href=&quot;http://lists.mysql.com/plusplus&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus&lt;/a&gt;&lt;br&gt;To unsubscribe: &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://lists.mysql.com/plusplus?unsub=lists@nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.mysql.com/plusplus?unsub=lists@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/license-question-tp17412079p17414771.html" />
</entry>

</feed>
