lp:~thhermansen/kolibri/mysql

Created by Thorbjørn Hermansen and last modified
Get this branch:
bzr branch lp:~thhermansen/kolibri/mysql
Only Thorbjørn Hermansen can upload to this branch. If you are Thorbjørn Hermansen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thorbjørn Hermansen
Project:
Kolibri
Status:
Development

Recent revisions

19. By Thorbjørn Hermansen

- Fixed error in MySQLConnection: The resultSet stored in connection object is now either MySQLResultSetBuffered or MySQLResultSetUnbuffered, not the "raw" result set from MySQL
- Moved free_result out of MySQLConnection and into __destruct() of our mysql result sets.

18. By Thorbjørn Hermansen

- We are now using isset() instead of array_key_exists().
- Changed from Exception to DatabaseException.
- Casting boolean values to int on escapeValue.

17. By Thorbjørn Hermansen

Changed the style a bit in the code to better match the rest of Kolibri. Removed spaces in ifs, added space between method names and param list.

16. By Thorbjørn Hermansen

Throws SqlException, not just an Exception if a query fails.

15. By Thorbjørn Hermansen

MySQL connection does now support transactions! A note on transacitons:
Since not all table engines in MySQL supports transactions (ex. MyISAM)
it may be autocommiting queries if you use these tables regardless of
if MySQLConnection is set up to use transaction. MySQLConnection will
not issue any errors when this happens as MySQL lets queries go through
unnoticed to MyISAM tables even if autocommt is false. So be sure to use
table engines which supports transaction (ex. InnoDB) if you want this
functionality.

14. By Thorbjørn Hermansen

We are now supporting both buffered and unbuffered result set. Atm unbuffered result set is used by default.

13. By Thorbjørn Hermansen

Merged with trunk.

12. By Thorbjørn Hermansen

- Removed method isPureNumber() from MySQLConnection as that is now defined in it's super class after I merged with Anders' db-bleanup branch.

11. By Thorbjørn Hermansen

- Fixed a small copy/paste bug in the MySQLResult: count() allways returned it's value from the MySQLi result, not from the cached value.

10. By Thorbjørn Hermansen

Started the work on implementing MySQL connection and result. Made a copy of the wishlist, wishlist_with_mysql, which works with... MySQL :-)
Nothing has been done related to transactions: begin(), commit() and rollback() simply returns true atm.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.