📄 changelog
字号:
2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/: string_util.cc, string_util.h: New function to escape a string.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/ColData.h: Add another icky macro to define conversion operators, undef macros at end. Overload conv() so the dummy value isn't needed.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/const_subscript_container.h: Remove unsafe operator-> that returns address of temporary.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/const_subscript_container.h: Remove pointless GCC hack and functions that can be generated by compiler.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * configure.in: Increase version number to 2.0.0 and library version to 5.0.02005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/row/Row.cc: Tweak for efficiency and clarity.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/datetime/: Date.cc, Date.h, Time.h, date_base.cc, date_base.h, time_base.cc: Fix time_base::compare and avoid gratuitous string creation.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/ColData.h: (ColData::is_null()): Remove non-const overload (bug 938458)2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/query/Query.cc: Explicitly list base class default constructors in init list.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * acconfig.h: Use of acconfig.h is deprecated and discouraged according to autoconf 2.59 so remove it.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * configure.in: Use new AC_PATH_MYSQL macro.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/mysqlcppapi_internal.h: Fix typo in comment.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * macros/mysql.m4: Add autoconf macro for finding MySQL, uses mysql_config script if it exists.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/: Connection.cc, Connection.h: Group connection data into a single ref-counted object instead of having several ref-counted objects that all have the same ref-count.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/Connection.cc: Remove outdated comment.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/: Connection.cc, Connection.h: Let compiler generate copy constructor and assignment operator for Connection class. Will be at least as efficient and easier to maintain.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/: Connection.cc, Connection.h: Use simplified allocator and smart pointer. Use shared bool to record whether connection is connected or not.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/: Allocator_Connection.cc, Allocator_Connection.h, query_results/Allocator_Result.cc, query_results/Allocator_Result.h, smartpointer/Allocator.h, smartpointer/SharedPtr.h: Allocate MYSQL struct using mysql_init(NULL) so that we always deallocate with mysql_close(), whether or not the connection is open. This removes the need for two-stage de-allocation, simplifying allocators and shared pointer.2005-09-03 Jonathan Wakely <redi@users.sourceforge.net> * mysqlcppapi/ColData.h (ColData_Generic::ColData_Generic): Initialise buf in initializer list. (ColData_Generic::is_null): Remove pointless const qualifier from return type.2004-05-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/ColData.h (ism_bNull): Rename to is_null.2004-08-25 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/const_subscript_container.h, mysqlcppapi/datetime/date_base.cc, mysqlcppapi/datetime/time_base.cc: Hacks for GCC 2.95.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/fields/Fields.cc: Fix crazy formatting.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/fields/FieldType.cc: Only populate map once.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/fields/FieldType.cc: Rewrite constructors to avoid uninitialised variables (bug #882718).2004-08-24 Jonathan Wakely <redi@users.sf.net> * */*.h: Fix illegal include guard macros (bug #953899).2004-08-24 Jonathan Wakely <redi@users.sf.net> * */.cvsignore: Add and modify .cvsignore files.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/null.h: Prevent warnings from unused variables.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/query/Query.cc: Minor simplification.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/fields/FieldType.cc: Make use of returned length.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/datetime/time_base.cc: Add headers and std:: qualifiers.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/datetime/stream2string.h: Minor simplifications.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/Connection.cc: Add error message to exception. Simplify std::string to char* conversions and vice versa.2004-08-24 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/Allocator_Connection.cc: Don't #include <iostream>.2004-08-11 Jonathan Wakely <redi@users.sf.net> * mysqlcppapi/Connection.cc: mysql_shutdown() changed in MySQL 4.1.32004-08-11 Jonathan Wakely <redi@users.sf.net> * examples/cgi_image.cc: Use std::cout instead of fwrite().2004-08-09 Jonathan Wakely <redi@users.sf.net> * examples/cgi_image.cc: Include <iostream>. * examples/load_file.cc: Same. * examples/updel_x_.cc: Same.2004-05-14 Jonathan Wakely <redi@users.sf.net> * Date: Avoid unnecessary std::string temporaries. * date_base: Add required headers and namespace qualifications.2004-05-14 Jonathan Wakely <redi@users.sf.net> * examples/simple1.cc: Fix comment, thanks to Philipp Berndt.2003-09-10 Jonathan Wakely <redi@users.sf.net> * SQLQuery: Copy stream contents in copy ctor and op=.2003-08-29 Murray Cumming <murrayc@usa.net> * mysqlcppapi/smartpointer/Makefile.am: Don't build a library in this directory, because there are only header files. This should allow it to build on MacOS X.2003-08-28 Jonathan Wakely <redi@users.sf.net> * Allocator*: Remove useless and unused functions from base Allocator. Inherit cpointer typedef from base class in derived Allocators.2003-08-28 Jonathan Wakely <redi@users.sf.net> * Query, SQLQuery: Init std::ios virtual base in most derived class. Use initialisation lists in constructors, not assignment.2003-08-29 Murray Cumming <murrayc@usa.net> * Makefile.am: Build the examples as part of the main build, to check for regressions.2003-08-28 Jonathan Wakely <redi@users.sf.net> * Fields: Initialise base class in copy constructor's init list. * Result_Store: Explicitly initialise base class in copy ctor. * SharedPtr.h: Re-order constructor initialisation lists and remove redundant tests for NULL pointer and self-assignment.2003-08-06 Jonathan Wakely <redi@users.sf.net> * subscript_iterator: Fix iterator trait typedefs.2003-08-05 Jonathan Wakely <redi@users.sf.net> * ColData_Generic: Explicitly qualify dependent names.2003-08-06 Jonathan Wakely <redi@users.sf.net> * Connection: Return *this from assignent operator.2003-08-06 Jonathan Wakely <redi@users.sf.net> * Query, Connection: Reorder declarations to compile with GCC 3.4.2003-08-06 Jonathan Wakely <redi@users.sf.net> * Row: Remove stray "inline" keyword from declaration of size() member.2003-08-06 Jonathan Wakely <redi@users.sf.net> * Query: Remove class name from declaration of member function.2003-08-21 Murray Cumming <murrayc@usa.net> * mysqlcppapi/Connection.cc: The MySQL API changes slightly, probably for version 4. Some functions now return a const char*, so I adapted the code accordingly.2003-02-15 Murray Cumming <murrayc@usa.net> * Converted some API comments to Doxygen style.1.9.2: 2003-02-12 Murray Cumming <murrayc@usa.net> * Added mysqlcppapi/smartpointer with mysqlcppapi::SharedPtr, for use in implementation. * Connection: Use MYSQL struct via SharedPtr, allowing us to implement a copy constructor. * Result_*: Implement copy constructors, sharing Connection, which will not be deleted while a Result is still alive. * Row: Implement copy constructor, sharing Result, which will not be deleted while a Row is still alive.2002-11-04 Murray Cumming <murrayc@usa.net> * Added COPYING to cvs. It was being overwritten in new checkouts by the default GPL (not LGPL) COPYING file.1.9.1: 2002-10-26 Murray Cumming <murrayc@usa.net> * Increased version number.2002-10-25 Johannes Hausmann <johannes.hausmann@siemens.com> * Result_Store::fetch_row(): removed cast that was inappropriate on 64-bit systems such as Compaq's Tru64.2002-10-22 Murray Cumming <murrayc@usa.net> * Corrected headers isntallation - they need to be inside a mysqlcppapi directory, inside mysqlcppapi-2.0.2002-10-21 Bryan W. Headley <bwheadley@earthlink.net> * Completed conversion to g++-3.2 and libstdc++-v3. Converted all uses of deprecated or antiquated headers of the Standard C++ Library to those found in section 17.4.1.2 of the C++ standard. This specifically affects, o strstream is now stringstream. The internal API between strstream and stringstream differs, and that has been taken into account. o Support for USL's standard C++ library has been removed. This library predates the ARM. o random_access_iterator is now iterator<random_access_iterator_tag,,,> o Namespace of Standard C++ Library components must be specified; e.g., they are not in 'default' namespace, but rather "std::". o C headers have been replaced by their C++ wrapper variants. E.g., cstdio versus stdio.h. o slist<T> (singly-linked list) is not considered part of the standard C++ library. It actually is an SGI extension, although the header appeared with the other standard components. Therefore, it's use as a 'standard component' is deprecated. (It remains a vendor extension to the library.) Therefore, use of slist<T> has been removed.2002-10-22 Murray Cumming <murrayc@usa.net> * Install headers in mysqlcppapi-2.0 directory instead of mysqlcppapi.2002-10-14 Murray Cumming <murrayc@usa.net> * examples/Makefile.am: Use new library name.1.9.0:2002-09-19 Murray Cumming <murrayc@usa.net> * Removed GENERIC_VERSION_* from acconfig.h, because it's not used in the source code anymore.2002-07-20 Murray Cumming <murrayc@usa.net> * Added some more std:: prefixes.2002-07-16 Bert van Leeuwen <> * Result_Store::size(): throws an exception if the Result was not
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -