summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-20 06:38:50 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-20 06:38:50 +0000
commit7178f2f99e813b2eb6926a562c1448dbc6b715e5 (patch)
tree38080358708c6edf14456e45ca6c70ed45616372 /modules/statistics
parent3646f8914f3c58a4c5178cf5db484cef246918fb (diff)
downloadbrdo-7178f2f99e813b2eb6926a562c1448dbc6b715e5.tar.gz
brdo-7178f2f99e813b2eb6926a562c1448dbc6b715e5.tar.bz2
- Patch #79428 by Chris Johnson: remove int display width declarations from MySQL create table statements.
Diffstat (limited to 'modules/statistics')
-rw-r--r--modules/statistics/statistics.install8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/statistics/statistics.install b/modules/statistics/statistics.install
index 06542641e..8b5ed2be4 100644
--- a/modules/statistics/statistics.install
+++ b/modules/statistics/statistics.install
@@ -6,15 +6,15 @@ function statistics_install() {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {accesslog} (
- aid int(10) NOT NULL auto_increment,
+ aid int NOT NULL auto_increment,
sid varchar(32) NOT NULL default '',
title varchar(255) default NULL,
path varchar(255) default NULL,
url varchar(255) default NULL,
hostname varchar(128) default NULL,
- uid int(10) unsigned default '0',
- timer int(10) unsigned NOT NULL default '0',
- timestamp int(11) unsigned NOT NULL default '0',
+ uid int unsigned default '0',
+ timer int unsigned NOT NULL default '0',
+ timestamp int unsigned NOT NULL default '0',
KEY accesslog_timestamp (timestamp),
PRIMARY KEY (aid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");