diff options
author | Marko Kreen | 2011-12-30 11:51:37 +0000 |
---|---|---|
committer | Marko Kreen | 2011-12-30 11:51:37 +0000 |
commit | b3691e0fd914ed09f87d49798953a475bd3343a8 (patch) | |
tree | a249df01b4d3eeddabba15ee7ed32f88a2d2e027 /python | |
parent | f8562141e13f1dcc5b412cce373ce297c553ec1e (diff) |
handlers.dispatch: Move grants into sql function
The grants can be loaded via information_schema,
thus no need to do it in Python.
Diffstat (limited to 'python')
-rw-r--r-- | python/londiste/handlers/dispatch.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/python/londiste/handlers/dispatch.py b/python/londiste/handlers/dispatch.py index 8954d2bf..95d08e72 100644 --- a/python/londiste/handlers/dispatch.py +++ b/python/londiste/handlers/dispatch.py @@ -886,10 +886,6 @@ class Dispatcher(BaseHandler): if skytools.exists_function(curs, self.conf.part_func, len(PART_FUNC_ARGS)): self.log.debug('check_part.exec: func:%s, args: %s' % (pfcall, vals)) curs.execute(pfcall, vals) - - # load grants from master table - struct = TableStruct(curs, self.dest_table) - struct.create(curs, T_GRANT, dst) else: self.log.debug('part func %s not found, cloning table' % self.conf.part_func) struct = TableStruct(curs, self.dest_table) |