Happy New Year everyone.

I'm working to refactor some of the drizzled scope functions into
appropriate classes, and need to know where to put method implementations.

Some large classes like Session and Table currently have methods that are
implemented in .cc files whose names have little or nothing to do with the
class name. For example, session.h has table lock methods that are
implemented in global.cc.  My first guess is that this is a holdover from
when these were all global functions.

Is there some general file layout that's already being followed?  Would it
make sense for me to move those lock methods into session.cc?  Or rename
global.cc to something like session_global.cc or session/global.cc?
session.cc is certainly very large already...

Thank you much,

Ivo Roper
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to