From c0856b9a4ff685caea8a45fa1c3bf7eca12f7243 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Wed, 8 Mar 2017 16:42:52 +0900
Subject: [PATCH] ZSQLCatalog.SQLCatalog: Add missing security declaration on
 alias.

---
 product/ZSQLCatalog/SQLCatalog.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py
index 8a9e889d77..a78596e81f 100644
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -2418,6 +2418,7 @@ class Catalog(Folder,
     ).asSQLExpressionDict()
 
   # Compatibililty SQL Sql
+  security.declarePrivate('buildSqlQuery')
   buildSqlQuery = buildSQLQuery
 
   security.declareProtected(access_contents_information, 'getCannonicalArgumentDict')
-- 
2.30.9