From fe89f82e2e5857f5b3a88f48bcfb840d2d680b04 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Fri, 09 Nov 2007 10:42:12 -0500 Subject: [PATCH] Add escapeSimple method to rcube_db() object, to be used instead of quote() which will not allways work in virtuser query, for example when using something like REGEXP '(^|,)%u(,|$)' --- SQL/postgres.initial.sql | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql index bf82b9b..356a579 100644 --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -36,7 +36,7 @@ sess_id character varying(40) DEFAULT ''::character varying PRIMARY KEY, created timestamp with time zone DEFAULT now() NOT NULL, changed timestamp with time zone DEFAULT now() NOT NULL, - ip character varying(16) NOT NULL, + ip character varying(41) NOT NULL, vars text NOT NULL ); -- Gitblit v1.9.1