Merge branch 'version-13-pre-release' into version-13
This commit is contained in:
commit
cc136e869e
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ if PY2:
|
|||
reload(sys)
|
||||
sys.setdefaultencoding("utf-8")
|
||||
|
||||
__version__ = '13.0.2'
|
||||
__version__ = '13.0.3'
|
||||
|
||||
__title__ = "Frappe Framework"
|
||||
|
||||
|
|
|
|||
|
|
@ -983,7 +983,7 @@ class Database(object):
|
|||
def log_touched_tables(self, query, values=None):
|
||||
if values:
|
||||
query = frappe.safe_decode(self._cursor.mogrify(query, values))
|
||||
if query.strip().lower().split()[0] in ('insert', 'delete', 'update', 'alter'):
|
||||
if query.strip().lower().split()[0] in ('insert', 'delete', 'update', 'alter', 'drop', 'rename'):
|
||||
# single_word_regex is designed to match following patterns
|
||||
# `tabXxx`, tabXxx and "tabXxx"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue