Saturday, September 23, 2006

Revamped MySQL Driver Update

I made a number of changes to the Revamped MySQL Driver code. These are the major items:

  • I rewrote much of the prepared statement handling logic. I improved it by adding versioning to prepared statements. I also pushed much of the logic to mysql_conn.erl.

  • I simplified the transaction API in the MySQL driver to make it similar to the Mnesia transaction API. I will write a more complete article describing the reasoning as well as how to use the new API tomorrow or the day after. For now, you can read the documentation in the code or look at the test/mysql_test.erl.

The new code is in trunk. The old code is in braches/v0.8.

More details are coming.

No comments: