summaryrefslogtreecommitdiff
path: root/bin/sql_db.py
diff options
context:
space:
mode:
authorced <>2007-08-30 14:22:06 +0000
committerced <>2007-08-30 14:22:06 +0000
commitf8471796a3e2a51d9316e079770ab9829ad852b9 (patch)
tree7694240c76566eaaf36cac551b5168893f485d6f /bin/sql_db.py
parentfa891a44969794911e72f71c592055a1d425bc9f (diff)
Improve RE in sql logging to add possibility of "" in table definition
bzr revid: ced-f3071223d80ff4d82ac2bcd18554613b45132439
Diffstat (limited to 'bin/sql_db.py')
-rw-r--r--bin/sql_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py
index 9c5a9751997..64f6337b57d 100644
--- a/bin/sql_db.py
+++ b/bin/sql_db.py
@@ -40,8 +40,8 @@ import sys,os
import re
from mx import DateTime as mdt
-re_from = re.compile('.* from ([a-zA-Z_0-9]+) .*$');
-re_into = re.compile('.* into ([a-zA-Z_0-9]+) .*$');
+re_from = re.compile('.* from "?([a-zA-Z_0-9]+)"? .*$');
+re_into = re.compile('.* into "?([a-zA-Z_0-9]+)"? .*$');
class fake_cursor:
nbr = 0