|
|
Sponsor |
Re: Stored Procedures & Multiple Result Sets: msg#00036db.mysql.c++
Jalon, Arnon wrote: Hi, I've created a patch for the ability to handle multi statement Thanks! I'm going to apply it to v2.0, with some changes. See attached patch. Some of the differences are style differences, but for a lot of it I felt that the patch just didn't go far enough. For instance, your example disabled exceptions, where it should have paid attention to them as warnings that the internals of the library were confused about what was going on. Another example is your extension of connect_to_db() to add the necessary connection flag, instead of adding a mysql_set_server_option() wrapper to Connection to allow this flag to be set at any time. I'm attaching that, as well FYI, with a suitable diff statement, the example could have been part of the patch. Also, it would have been nice if you'd provided patches for examples/Makefile.simple. I also modified the copy method of the ResUse class to make sure that a That's reasonable. Can you explain why this change was needed, though: - fields_ = other.fields_; + fields_ = Fields(this); ?
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: static globals in SSQL macro expansion -> multiple definition linker errors, Warren Young |
|---|---|
| Next by Date: | Re: Optimization of Row (patch attached), Warren Young |
| Previous by Thread: | RE: Stored Procedures & Multiple Result Sets, Jalon, Arnon |
| Next by Thread: | RE: Stored Procedures & Multiple Result Sets, Jalon, Arnon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|