浏览代码

[hotfix] prevent multiple sql queries

version-14
Anand Doshi 10 年前
父节点
当前提交
6d16ba450f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/database.py

+ 1
- 1
frappe/database.py 查看文件

@@ -224,7 +224,7 @@ class Database:

if len(query_lower) > 1:
for q in query_lower[1:]:
if q.strip().split()[0] in (
if q.strip() and q.strip().split()[0] in (
"update",
"truncate",
"alter",


正在加载...
取消
保存