git26 - add to install the sql commands to create DB etc.

fixed little bug in load_profile introduced by recent improvements there
updated regression testing to take into account everything new, made sure it passes all tests
more table design cleaning
various doc updates
added create-release.sh to automate release creation
This commit is contained in:
steffen123
2008-08-11 17:39:13 +01:00
parent 47bf90d71c
commit 09f233d6e4
11 changed files with 203 additions and 253 deletions
+3 -2
View File
@@ -259,7 +259,7 @@ class fpdb:
elif lines[i].startswith("db-host="):
self.settings['db-host']=lines[i][8:-1]
elif lines[i].startswith("db-databaseName="):
self.settings['db-database']=lines[i][16:-1]
self.settings['db-databaseName']=lines[i][16:-1]
elif lines[i].startswith("db-user="):
self.settings['db-user']=lines[i][8:-1]
elif lines[i].startswith("db-password="):
@@ -280,6 +280,7 @@ class fpdb:
self.db.disconnect()
self.db = fpdb_db.fpdb_db()
#print "end of fpdb.load_profile, databaseName:",self.settings['db-databaseName']
self.db.connect(self.settings['db-backend'], self.settings['db-host'], self.settings['db-databaseName'], self.settings['db-user'], self.settings['db-password'])
#end def load_profile
@@ -346,7 +347,7 @@ This program is licensed under the AGPL3, see docs"""+os.sep+"agpl-3.0.txt")
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.connect("delete_event", self.delete_event)
self.window.connect("destroy", self.destroy)
self.window.set_title("Free Poker DB - version: pre-alpha, git25")
self.window.set_title("Free Poker DB - version: pre-alpha, git26")
self.window.set_border_width(1)
self.window.set_size_request(950,400)
self.window.set_resizable(True)
+1
View File
@@ -34,6 +34,7 @@ class fpdb_db:
self.database=database
self.user=user
self.password=password
#print "fpdb_db.connect, database:",database
if backend==self.MYSQL_INNODB:
import MySQLdb
self.db=MySQLdb.connect(host = host, user = user, passwd = password, db = database)