summaryrefslogtreecommitdiff
path: root/tko/query_history.cgi
diff options
context:
space:
mode:
authorshoward <showard@592f7852-d20e-0410-864c-8624ca9c26a4>2009-12-23 00:03:56 +0000
committershoward <showard@592f7852-d20e-0410-864c-8624ca9c26a4>2009-12-23 00:03:56 +0000
commitcf87d69c7b54c8f41e11a7ee6a7399a830dcfb5c (patch)
tree016f5ccf21a1e9870f2dc52e8a87efbe7b82a185 /tko/query_history.cgi
parent2bea5139735e5ead1ac3ba39cef272ecfd6b6e18 (diff)
Rename the tables in the databases, by prefixing the app name. This is
in preparation for merging the two databases and the two Django projects into one. Note that this renames *all* standard Autotest DB tables in both the autotest_web and tko databases. If you have scripts written directly against these databases, *they will break*. If your scripts access the RPC interfaces, they should continue to work. Another patch will be along within the next few weeks to actually move the TKO tables into the autotest_web database. From: James Ren <jamesren@google.com> Signed-off-by: Steve Howard <showard@google.com> Rename the tables in the databases, by prefixing the app name. This is in preparation for merging the two databases and the two Django projects into one. Note that this renames *all* standard Autotest DB tables in both the autotest_web and tko databases. If you have scripts written directly against these databases, *they will break*. If your scripts access the RPC interfaces, they should continue to work. From: James Ren <jamesren@google.com> Signed-off-by: Steve Howard <showard@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@4040 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/query_history.cgi')
-rwxr-xr-xtko/query_history.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/tko/query_history.cgi b/tko/query_history.cgi
index a1e2f3a9..627238db 100755
--- a/tko/query_history.cgi
+++ b/tko/query_history.cgi
@@ -14,7 +14,7 @@ def body():
where = (condition,[])
try:
rows = db_obj.select("time_created,user_comment,url",
- "query_history", where)
+ "tko_query_history", where)
except MySQLdb.ProgrammingError, err:
print err
rows = ()