ChangeSet ID: 31354 CVSROOT: /opt/cvs-commit Module name: tools Changes by: jnewman@winehq.org 2007/08/28 14:13:28
Modified files: . : winapi_stats.php
Log message: Jeremy Newman jnewman@codeweavers.com use regular tables instead of temp tables as the current query will no longer work in mysql 4.1+
Patch: http://cvs.winehq.org/patch.py?id=31354
Old revision New revision Changes Path 1.11 1.12 +4 -1 tools/winapi_stats.php
Index: tools/winapi_stats.php diff -u -p tools/winapi_stats.php:1.11 tools/winapi_stats.php:1.12 --- tools/winapi_stats.php:1.11 28 Aug 2007 19:13:28 -0000 +++ tools/winapi_stats.php 28 Aug 2007 19:13:28 -0000 @@ -27,7 +27,7 @@ mysql_connect ($MYSQL_SERVER, $MYSQL_USE mysql_select_db($MYSQL_DB);
// CREATE TABLE -mysql_query('CREATE TEMPORARY TABLE `winapi` ( +mysql_query('CREATE TABLE `winapi` ( `module` VARCHAR('.MODULE_LENGTH.') NOT NULL , `stubs` INT NOT NULL , `total_func` INT NOT NULL , @@ -157,5 +157,8 @@ print ' printf('<p>last modified: %s</p>', date("D M j G:i:s T Y",time())); print "\n\n";
+// drop the table +mysql_query('DROP TABLE `winapi`;'); + // done ?>