diff options
author | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-15 11:45:06 +0100 |
---|---|---|
committer | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-15 11:45:06 +0100 |
commit | 9796e99fa8378758c4fe0f655b7c192f8fc1690f (patch) | |
tree | 82f67ab99c3816ff66aa25c3c5f15953ecc43e5c /database.sql | |
parent | 29ade1d9b971bb14746bab5ec57db0e204c9e137 (diff) | |
download | volse-hubzilla-9796e99fa8378758c4fe0f655b7c192f8fc1690f.tar.gz volse-hubzilla-9796e99fa8378758c4fe0f655b7c192f8fc1690f.tar.bz2 volse-hubzilla-9796e99fa8378758c4fe0f655b7c192f8fc1690f.zip |
added simple build-in profiling
Diffstat (limited to 'database.sql')
-rwxr-xr-x | database.sql | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/database.sql b/database.sql index 35c257f02..f8d4c7fc2 100755 --- a/database.sql +++ b/database.sql @@ -857,4 +857,13 @@ INDEX ( `ham` ), INDEX ( `term` ) ) ENGINE = MyISAM DEFAULT CHARSET=utf8; - +CREATE TABLE IF NOT EXISTS `profiling` ( +`id` INT NOT NULL AUTO_INCREMENT PRIMARY_KEY , +`function` VARCHAR(255) NOT NULL, +`file` VARCHAR(255) NOT NULL, +`line` INT NOT NULL DEFAULT '-1', +`class` VARCHAR(255), +`time` FLOAT(10, 2) NOT NULL, +INDEX(`function`), +INDEX(`file`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; |