- Fixes:
- Don't ignore connect arguments after any null, closes #63
- Reset connect_error in MysqlConnection::Close()
- Fix bug with MYSQL_OPT_RECONNECT reset in MySQL < 5.1.6, closes #66
- Add MYSQLCONN_MUSTBE_INITIALIZED macro and change error reporting in ConnectSync() and RealConnectSync() to avoid coding errors like in #67
- Make error reporting for conn.connect() and conn.query() more verbose, closes #68
- Add error handling for res.fetchAll(), closes #69
- Fix lint rule in wscript, fix lint errors
- Improvements:
- Pass affectedRows and insertId to conn.query() callback as object properties, closes #58
- res.fetchAll*() improvements:
- res.fetchAll*() takes a boolean option, which if true returns array of results, instead of objects
- Add possibility to use hash with options in res.fetchAll*()
- Add 'structured' option support for res.fetchall*() methods
- Pass information about fields as third argument of res.fetchAll() callback, closes #59
- Add more option constants, update conn.setOptionSync()
- Add connect flags support and test with select in stored procedure, closes #64
- Add tests for stored procedures/functions call, see #64
- Documentation improvements:
- Add URL shortener example web application
- Improve gh_pags.sh
- Refactoring
- Extract defines from mysql_bindings_connection.h to mysql_bindings.h
- Extract 'simple' async tests into separate files
- Split client-realted stuff from conn.getInfoSync() to conn.getClientInfoSync()
- Update tools/nodeunit from d4949a4 to 200e5a7
Special thanks to Pavel Ponomarenko and Surendra Singhi Thanks to Michael Pearson, who pointed out the problem with stored procedures
- Update nodeunit from cf2f529 to d4949a4
- Add HTML documentation into repo
- Add .npmignore file, closes #54
- Tested with Node version v0.2.3
- Some changes to make the module build with specific libmysqlclient path, closes #50
Special thanks to Benjmain Reesman
- Change node-gc to Sannis' fork with some fixes
- Improve simple.conn.ConnectWithError test, tests cleanup
- Add gh_pages.sh to simplify docs update
- Update wscript in accordance to current node_addon.py
- Fix error reporting in example
Special thanks to Surendra Singhi and http://fallen.habrahabr.ru
- Fixes:
- Rewrite fetchAll function, move V8 stuff to EIO_After_FetchAll, closes #34
- Rewrite MysqlResult::SetFieldValue() procedure to GetFieldValue() function
- Fix Nodules break, closes #46
- Return Boolean/throw exception fixes, closes #31
- Allocate less memory in MysqlConnection::EscapeSync()
- Add useful macroses to simplify MysqlConnection and MysqlResult
- Fix lint errors
- Tests improvements:
- Refactor tests: split them into simple, complex, slow and ignored
- Change nodeunit to original caolan's repo
- Add REPL memory leaks finder
- Documentation improvements:
- Add index.html generation from README.markdown
- Format ChangeLog with markdown
- Add changelog.html generation from CHANGELOG.markdown
- Add navigation
- Add zip- and tarball URLs to index.html
- Remove docs HTML from repo, you can generate them by 'node-waf doc'
- Semantic versioning introduced
- Other changes in README and package.json
Special thanks to Ben Noordhuis
- Add JSDocs into bindings code
- Add API documentation page
- Add examples.js and Dox-generated examples.html
- Change caolan/nodeunit to Sannis/nodeunit
- Update tests to use test.throws()
- Other cleanup in tests and files
- Add MYSQL_TYPE_TIME and MYSQL_TYPE_SET handling
- Rename MysqlConn to MysqlConnection
- Change some methods to read-only properties:
- MysqlConnection::ConnectErrnoSync()
- MysqlConnection::ConnectErrorSync()
- MysqlResult::FieldCountSync()
- Make it possible to interleave sync and async queries on same connection
- Improve package.json, add 'Dependencies' section into README
- Rework nested C++ classes into separate
- Fix lint errors (all, except sscanf)
- Implemented methods:
- MysqlConnection::InitSync()
- MysqlConnection::RealConnectSync()
- MysqlConnection::SetOptionSync()
Special thanks to Akzhan Abdulin and Surendra Singhi
- Make asynchronous connect and fetchAll
- Tested with Node version v0.2.0
- Small improves in tests, README
- Move all TODO to GitHub issues tracker
- Implemented methods:
- MysqlConn::Connect() and libeio wrapper
- MysqlResult::FetchAll() and libeio wrapper
Special thanks to Surendra Singhi
- Make asynchronous querying work
- Simplify javascript logic of createConnection()
- Allow reconnecting after failed connect
- Do correct conversion of NULL fields in MysqlResult::AddFieldProperties()
- Add test for asynchronous queries
- Rewrite tests config
- Improve build wscript
- Implemented methods:
- MysqlConn::QueryAsync() and libeio wrapper
Special thanks to Surendra Singhi
- Update package.json and make small fixes in docs and README
- Rename MysqlResult::FetchResult method to FetchAll
- Implemented methods:
- MysqlResult::DataSeek()
- MysqlResult::NumRows()
- MysqlResult::FetchArray()
- MysqlResult::FetchFields()
- MysqlResult::FetchField()
- MysqlResult::FetchFieldDirect()
- MysqlResult::FetchLengths()
- MysqlResult::FetchObject()
- MysqlResult::FieldCount()
- MysqlResult::FieldSeek()
- MysqlResult::FieldTell()
- MysqlResult::Free()
- MysqlResult class finished
- Remove 'Sync' from classes names, rename main module file to mysql-libmysqlclient.js
- Add example MysqlConn::queryAsync() and MysqlConn::async() methods
- Add a script to verify the existence of unittests for each function
- Reorganize tests files for new think and add some tests
- Add speedtest
- Split source code into separate files for database connection, query result and prepared statements
- Add nodeunit as the test framework for project
- Implemented methods:
- MysqlSyncConn::autoCommit()
- MysqlSyncConn::commit()
- MysqlSyncConn::debug()
- MysqlSyncConn::dumpDebugInfo()
- MysqlSyncConn::fieldCount()
- MysqlSyncConn::getInfoString()
- MysqlSyncConn::getWarnings()
- MysqlSyncConn::initStmt()
- MysqlSyncConn::multiMoreResults()
- MysqlSyncConn::multiNextResult()
- MysqlSyncConn::multiRealQuery()
- MysqlSyncConn::realQuery()
- MysqlSyncConn::rollback()
- MysqlSyncConn::stat()
- MysqlSyncConn::storeResult()
- MysqlSyncConn::threadId()
- MysqlSyncConn::threadKill()
- MysqlSyncConn::threadSafe()
- MysqlSyncConn::useResult()
- MysqlSyncStmt::prepare()
- Decrease number of cpplint warnings (dirty hack? maybe)
- Add 'lint' target for node-waf
- Add docs dir, docs/examples.md, docs/api_php_mysqli.md and docs/api_node_mysql_sync.md
- Add tests/debug.js for inspecting bindings 'classes' from javascript
- Implement all methods in 'connection' category:
- MysqlSyncConn::ChangeUser()
- MysqlSyncConn::ConnectErrno()
- MysqlSyncConn::ConnectError()
- MysqlSyncConn::GetCharset()
- MysqlSyncConn::GetCharsetName()
- MysqlSyncConn::Ping()
- MysqlSyncConn::SelectDb()
- MysqlSyncConn::SetCharset()
- MysqlSyncConn::SetSsl()
- Improve MysqlSyncConn::Connect() functionality, see d2d9ae2
- Split MysqlDbSync into MysqlSyncConn and MysqlSyncRes
- Add unit tests suite
- Query() API is more clear to PHP MySQLi
- Basic functionality: connect/close/query/fenchAll/getInfo/error/etc.
- Implemented methods:
- MysqlDbSync::AffectedRows()
- MysqlDbSync::Connect()
- MysqlDbSync::Close()
- MysqlDbSync::Errno()
- MysqlDbSync::Error()
- MysqlDbSync::Escape()
- MysqlDbSync::FetchResult()
- MysqlDbSync::GetInfo()
- MysqlDbSync::LastInsertId()
- MysqlDbSync::Query()
- MysqlDbSync::WarningCount()