ソースを参照

[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",


読み込み中…
キャンセル
保存