X-Git-Url: http://git.osdn.net/view?p=rec10%2Frec10-git.git;a=blobdiff_plain;f=rec10%2FdbMySQL.py;h=01337bbc42e5436f9b1b86cbb4dcabf9b6126760;hp=b40da126a1ff07e77292a97ba439ca1281b6b2c1;hb=61ee780957e8ce130a568632a7de8ee9878cc4f0;hpb=5e3efe657c7aaa3d2b2e758910343ee20c1f795a diff --git a/rec10/dbMySQL.py b/rec10/dbMySQL.py index b40da12..01337bb 100644 --- a/rec10/dbMySQL.py +++ b/rec10/dbMySQL.py @@ -1241,11 +1241,11 @@ vim ") CREATE TABLE auto_classify \ (\ id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\ - title VARCHAR(1024),\ + title VARCHAR(100),\ frompath VARCHAR(1024),\ topath VARCHAR(1024),\ do BOOLEAN,\ - UNIQUE key (title),\ + UNIQUE key (title)\ )') except Exception, inst: if not ((type(inst)==MySQLdb.ProgrammingError and inst[0]==1007)or(type(inst)==MySQLdb.OperationalError and inst[0]==1050)):