|
|||||||||||
|
Re: Inserting with a column that uses auto_increment
From: Graham Reitz <grahamreitz(at)mac.com>
Date: Mon Aug 13 2007 - 23:49:30 EDT
I also stated mysql++ has many very nice features. Yes, I am using mysql++ and I really appreciate your assistance. Thank you. But I do think there there are a few design issues.
I had to go through a ssqls 50 columns in length and eliminate each column one by one to figure out what the offending type was. Compile time errors are always more desirable than segmentation faults. If blob types need to be initialized ahead of time the compiler should indicate that requirement, not a seg. fault. Better use of RAII would be advisable in this case. 2) It is common to have tables > 50 columns in length. The need to change a field in a perl script in order to allow their creation is not desirable. Also the large size of the generated header file can be cumbersome. 3) The need to use the MYSQLPP_SSQLS_NO_STATICS macro is undesirable when a client of the mysql++ library wants to create a header file of ssqls. 4) Using namespaces to workaround an issue with auto increment fields was not the language's (c++) intended use for namespaces. Although, Jim W. suggested there might be another route. 5) Exceptions might be overused, depending upon the author's definition of what is an exceptional circumstance. Any library even the c++ standard libraries should be able to and eager to receive criticism from time to time. It is not a personal attack in any sense. I am sorry if it seemed that way.
Kindly,
On Aug 13, 2007, at 6:17 PM, Warren Young wrote: > Graham Reitz wrote: This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:02:58 EDT |
||||||||||
|
|||||||||||