equal
deleted
inserted
replaced
17 from indexer import get_indexer |
17 from indexer import get_indexer |
18 |
18 |
19 from cubicweb import Binary, ConfigurationError |
19 from cubicweb import Binary, ConfigurationError |
20 from cubicweb.common.uilib import remove_html_tags |
20 from cubicweb.common.uilib import remove_html_tags |
21 from cubicweb.server import SQL_CONNECT_HOOKS |
21 from cubicweb.server import SQL_CONNECT_HOOKS |
22 from cubicweb.server.utils import crypt_password, cartesian_product |
22 from cubicweb.server.utils import crypt_password |
23 |
23 |
24 db.USE_MX_DATETIME = False |
24 db.USE_MX_DATETIME = False |
25 |
25 |
26 def sqlexec(sqlstmts, cursor_or_execute, withpb=True, delimiter=';'): |
26 def sqlexec(sqlstmts, cursor_or_execute, withpb=True, delimiter=';'): |
27 """execute sql statements ignoring DROP/ CREATE GROUP or USER statements |
27 """execute sql statements ignoring DROP/ CREATE GROUP or USER statements |