diff options
author | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-15 12:55:49 +0100 |
---|---|---|
committer | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-15 12:55:49 +0100 |
commit | 899701c3d36a6391fa0a5991ee88f3394c11762b (patch) | |
tree | 1574bc7c651531db4b26e8cf79bd07f40c28cebf /update.php | |
parent | 9796e99fa8378758c4fe0f655b7c192f8fc1690f (diff) | |
download | volse-hubzilla-899701c3d36a6391fa0a5991ee88f3394c11762b.tar.gz volse-hubzilla-899701c3d36a6391fa0a5991ee88f3394c11762b.tar.bz2 volse-hubzilla-899701c3d36a6391fa0a5991ee88f3394c11762b.zip |
integrated profiler
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/update.php b/update.php index 36116341a..8c8a2a5e4 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1131 ); +define( 'UPDATE_VERSION' , 1132 ); /** * @@ -1125,16 +1125,16 @@ function update_1130() { /** * CREATE TABLE for profiling */ -function update_1132() {
+function update_1131() {
q("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; ");
+`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 ) NOT NULL , +`time` FLOAT( 10, 2 ) NOT NULL , +INDEX ( `function` ) , +INDEX ( `file` ) +) ENGINE = MyISAM DEFAULT CHARSET=utf8;");
} |