Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
watchdog.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2005 at 17:40 UTC
Updated:
26 Apr 2006 at 18:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
Cvbge commentedThis patch cuts referer to 128 characters before inserting into db, not tested.
About field length - don't know what's right approach.
Comment #2
Thomas Ilsche commentedIs there ANY reason to use VARCHAR(128)?
MySQL stores them always using one length byte plus the actual string, resulting in a maximum VARCHAR(255), there is no reason to use a lower n?
pgSQL afaik always uses four length bytes with a physical limit of 1 GB, If I am not mistake text / VARCHAR without any length specifier could be used without any disadvantages. So why not use that? I think thats more easy and comfortable than truncating the string.
Comment #3
bl4h commentedis it ok to set varchar 255? Im worried theres a good reason for not having it set that way.
This bug is extremely annoying!!!! Especially if you have php display warnings on
Comment #4
Cvbge commentedI believe this was fixed in cvs version. All columns in watchdog table except for type and hostname columns (which contain limited data and don't need to be changed) are "text" type now.
Comment #5
(not verified) commented