stable 03?
@@ -170,7 +170,10 @@ for i in create_data['all_data']:
try:
curs.execute(db_change('select test from ' + i + ' limit 1'))
except:
- curs.execute(db_change('create table ' + i + '(test longtext)'))
+ try:
+ curs.execute(db_change('create table ' + i + '(test longtext)'))
+ except:
+ curs.execute(db_change("alter table " + i + " add test longtext default ''"))
if setup_tool == 0:
@@ -10,7 +10,7 @@ def list_old_page_2(conn):
sql_num = 0
curs.execute(db_change('select data from other where name = "count_all_title"'))
- if int(curs.fetchall()[0][0]) < 30000:
+ if int(curs.fetchall()[0][0]) > 30000:
return re_error('/error/25')
div = '<ul>'
@@ -34,4 +34,4 @@ def list_old_page_2(conn):
imp = [load_lang('old_page'), wiki_set(), custom(), other2([0, 0])],
data = div,
menu = [['other', load_lang('return')]]
- ))
+ ))
@@ -10,7 +10,7 @@ def list_please_2(conn):
@@ -26,4 +26,4 @@ def list_please_2(conn):
imp = [load_lang('need_document'), wiki_set(), custom(), other2([0, 0])],
@@ -1,11 +1,11 @@
{
"master" : {
- "r_ver" : "v3.1.5-stable-01",
+ "r_ver" : "v3.1.5-stable-03",
"c_ver" : "400007",
"s_ver" : "7"
}, "stable" : {
- "r_ver" : "v3.1.4-stable-03",
- "c_ver" : "400004",
- "s_ver" : "5"
+ "c_ver" : "400007",
+ "s_ver" : "7"
}