* src/odbc/pg.sql: last table, state column cannot be NULL (EJAB-191).

* src/odbc/mysql.sql: likewise.
* src/odbc/mssql.sql. likewise.

SVN Revision: 732
This commit is contained in:
Mickaël Rémond 2007-02-19 14:19:27 +00:00
parent 90488e5f37
commit 090ba85424
4 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2007-02-19 Mickael Remond <mickael.remond@process-one.net> 2007-02-19 Mickael Remond <mickael.remond@process-one.net>
* src/odbc/pg.sql: last table, state column cannot be NULL (EJAB-191).
* src/odbc/mysql.sql: likewise.
* src/odbc/mssql.sql. likewise.
* src/ejabberd_auth_ldap.erl: prevent anonymous bind on LDAP servers * src/ejabberd_auth_ldap.erl: prevent anonymous bind on LDAP servers
as ejabberd is providing other anonymous authentication mechanism as ejabberd is providing other anonymous authentication mechanism
(EJAB-190). (EJAB-190).

View File

@ -91,7 +91,7 @@ GO
CREATE TABLE [dbo].[last] ( CREATE TABLE [dbo].[last] (
[username] [varchar] (250) NOT NULL , [username] [varchar] (250) NOT NULL ,
[seconds] [varchar] (50) NOT NULL , [seconds] [varchar] (50) NOT NULL ,
[state] [varchar] (100) NULL , [state] [varchar] (100) NOT NULL ,
) ON [PRIMARY] ) ON [PRIMARY]
GO GO

View File

@ -10,7 +10,7 @@ CREATE TABLE users (
CREATE TABLE last ( CREATE TABLE last (
username varchar(250) PRIMARY KEY, username varchar(250) PRIMARY KEY,
seconds text NOT NULL, seconds text NOT NULL,
state text state text NOT NULl
) CHARACTER SET utf8; ) CHARACTER SET utf8;

View File

@ -8,7 +8,7 @@ CREATE TABLE users (
CREATE TABLE last ( CREATE TABLE last (
username text PRIMARY KEY, username text PRIMARY KEY,
seconds text NOT NULL, seconds text NOT NULL,
state text state text NOT NULL
); );