Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Nov 2008 at 19:02 UTC
Updated:
19 Nov 2008 at 21:18 UTC
For D7 we are now using '' (empty string) as default user name and password. This issue hope to redefine these empty string as 'default'.
As mentioned in #334687: [DBTNG + XDB] NOT NULL fields using a DEFAULT '' clause , '' (empty string) is not always functioning for all database engine, e.g. Oracle will translate empty string as NULL automatically, which is not ANSI standard. It is also not too meaningful if using empty string as undefined default value. Use 'default' seems to be a possible replacement.
| Comment | File | Size | Author |
|---|---|---|---|
| username-userpass-default-1227121232.patch | 4.36 KB | hswong3i |
Comments
Comment #1
damien tournoud commentedAs per chx' analysis in #334687: [DBTNG + XDB] NOT NULL fields using a DEFAULT '' clause , which I totally agree with.
Comment #2
hswong3i commentedI just give a reply for original issue (http://drupal.org/node/334687#comment-1116672) and hopefully may trigger more open end discussion.
Comment #3
catchSince it can be implemented in the Oracle driver, and is a bug specific to Oracle, then it should be done there.