PackageDescription: StoreForMySQL


Store For My SQL

Last published: April 11, 2008 by 'tgagne'

Defines 2 Classes
Extends 7 Classes


NOTE:

This parcel implements a Store interface using the MySQL 5.0 database backend. Additionally, it also includes some unauthorized fixes to MySQLEXDI. These include:

MySQLBuffer #canHold:
MySQLSession #acquireBuffers:, #answerOfClass, #bindExternal, #outputBufferPtrsArray, #outputBufferPtrsArray:

INSTALLATION:

Because MySQL only allows CREATE statements inside an "administrative" session,before installing the tables it is necessary to modify MySQLBroker's class-side method #connectionClass as:

connectionClass
^MySQLHybridConnection

To install the tables, select the code below and "doit". Be sure to select the MySQLHybridConnection.
Store.DbRegistry installDatabaseTables.

After installing the tables you can change the code back to:

connectionClass
^MySQLConnection

0.5 4/10/2008
removed obsolete overrides
integrated David Wallen's suggestions