⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 MySql++ wrapper
💻
字号:
1.4===Name Change. Disruptive.But I couldn't very well use "mysql++" now, could I.So the new name is MySQL Wrapped. Or 'mysqlwrapped' in the more compact,unix, form.Note. Old header file "libsql++.h" is removed, and instead installed as "libmysqlwrapped.h".Same goes for "libsql++.a" ==> "libmysqlwrapped.a"Support for libmysqld - the embedded mysql server.Instead of linking with libmysqlclient, link with libmysqld.Read MySQL manual about the limitations of the embedded server.1.3.3=====Added Database::Connected that makes a grabdb, pings the server, then doesa freedb - either it makes a new connection, or reuses an old one.Removed old Query constructors accepting a Database pointer, leaving onlythe constructors accepting a Database reference.1.3.2=====Using mysql_ping the make sure the mysql server is present when reusingold connections.Remove freedb(grabdb()) from Database constructorLots of stuff implemented suggested and submitted by Stephan Beal of s11n.net:Database ctor now accepts an (optional) (IError*), because this is the only way to report a failed connection. Since Database connects in the ctor, there was no way to catch a failed connection because RegErrHandler() couldn't be called until after the ctor. A better solution might be to add a connect() function to allow the client to explicitely connect (or re-connect). The default ctor is pretty useless now, because the client cannot connect if they use it.Added Query::Connected in case a database connect failed.grabdb() now properly deletes the db object it creates if the connection fails (previously there was no only a memleak, but a segfault when the failed connection was used by freedb().andfreedb() now does nothing if it is passed a null connection1.3===Better mysql column type support	bigint (getbigint, getubigint)	enum (class enum_t)	set (class set_t)	unsigned integers (getuval)04-06-21--------bigint, unsigned, enum_t and set_t04-06-11--------Improved error interface / logging04-04-03--------Removed inline versionConverted to use std::string instead of char *'s04-02-19--------FilesDatabase.h / Query.h - inline versionDatabase.H / Database.cpp - not the inline versionQuery.H / Query.cpp--------------------------------------------I've created links in /usr/include toDatabase.h and Connect.h00-12-15--------Query.h replaces Connect.h with new method names'example' directory created

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -