Physikerwelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/174075
Change subject: Add logging table ...................................................................... Add logging table Adds a database table to store log entries in the database Change-Id: I7935f33e04a1c9d7d4f1dbbc600e840f07c19dad --- A db/mathlog.mysql.sql 1 file changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math refs/changes/75/174075/1 diff --git a/db/mathlog.mysql.sql b/db/mathlog.mysql.sql new file mode 100644 index 0000000..d0ed74c --- /dev/null +++ b/db/mathlog.mysql.sql @@ -0,0 +1,20 @@ +-- +-- Used by the math module to oganize the log files from +-- different rendering engines +-- +CREATE TABLE /*_*/mathlog ( + -- Binary MD5 hash of math_inputtex, used as an identifier key. + math_inputhash varbinary(16) NOT NULL, + -- the log input + math_log text NOT NULL, + -- the post request sent + math_post text, + -- MW_MATH_(MAHML|LATEXML) + math_mode tinyint + -- time needed to answer the request in ms + math_postime int, + -- timestamp + math_timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + -- key + key ( math_inputhash, math_mode ) +) /*$wgDBTableOptions*/; \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/174075 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7935f33e04a1c9d7d4f1dbbc600e840f07c19dad Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Math Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits