Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
watchdog.module
Priority:
Critical
Category:
Feature request
Assigned:
Reporter:
Created:
28 Aug 2008 at 05:58 UTC
Updated:
24 Nov 2008 at 18:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
hswong3i commentedUpdate based on http://drupal.org/node/316095 founding. Revamp BLOB field with nullable.
Tested with MySQL and PostgreSQL. Stand alone simpletest, pass.
Comment #2
hswong3i commentedIntegrate with progress of http://drupal.org/node/319401.
Tested with MySQL and PostgreSQL, DBLog simpletest all pass.
Comment #3
hswong3i commentedSince #316095: Raise PHP requirement to 5.2.12 for PostgreSQL only already figure out the solution for PostgreSQL + BLOB + NULL + INSERT/UPDATE bug, this patch is now safe for using both null or nullable BLOB field.
Patch reroll via CVS HEAD. Only change field type from TEXT to BLOB.
P.S. Actually, I would like to add default value for "variables" as it is
'not null' => TRUEby default. But since MySQL will buggy with #300219: [DBTNG]: MySQL should remove TEXT/BLOB default value so I would like to wait and handle this with another issue.Comment #4
hswong3i commentedAccording to commit of #300219: [DBTNG]: MySQL should remove TEXT/BLOB default value, patch reroll via CVS HEAD. Tested with MySQL's simpletest.
Comment #5
Anonymous (not verified) commentedThe last submitted patch failed testing.
Comment #6
hswong3i commentedOoops... dblog.install need update. Patch reroll and pass MySQL + simpletest.
Comment #8
lilou commentedSee: #335122: Test clean HEAD after every commit and http://pastebin.ca/1258476
Comment #9
hswong3i commentedduplicate with #147947: [DBTNG + XDB] Replace some TEXT:BIG with BLOB