Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database cleanup #34

Merged
merged 4 commits into from Sep 7, 2012
Merged

Database cleanup #34

merged 4 commits into from Sep 7, 2012

Conversation

ghost
Copy link

@ghost ghost commented Aug 15, 2012

I've started cleaning up the database code. These patches also fix a problem where you can't start EMM for the first time without a internet connection because it needs to download the SQL to create the database from the internet.

- Remove wrapper functions for CreateCommand and BeginTransaction.

- Access the database connection through a read only property so
  only the Database class can change it.

- Store the SQL commands for initialising the database(s) in resource
  files so they are easier to maintain. This removes the dependency
  for an internet connection when opening the program as it no longer
  needs to download the SQL from http://pcjco.dommel.be

Signed-off-by: Andrew Fyfe <[email protected]>
Not sure what this database is used for. Lets see if anything
breaks without it.

Signed-off-by: Andrew Fyfe <[email protected]>
bodrick added a commit that referenced this pull request Sep 7, 2012
@bodrick bodrick merged commit 0b14db8 into bodrick:master Sep 7, 2012
themagnifico added a commit to themagnifico/Ember-MM that referenced this pull request Apr 3, 2013
Added Denmark and Italy to ForceTitle available countries (Bug bodrick#34, http://ember.purplepig.net/issues/34)
themagnifico added a commit to themagnifico/Ember-MM that referenced this pull request Apr 4, 2013
Added Denmark and Italy to Forced Title dropdown list (Bug bodrick#34, http://ember.purplepig.net/issues/34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants