Author: rareddy
Date: 2009-08-13 14:40:27 -0400 (Thu, 13 Aug 2009)
New Revision: 1241
Modified:
trunk/adminshell/src/main/resources/commands/mparse.bsh
Log:
TEIID-224
Modified: trunk/adminshell/src/main/resources/commands/mparse.bsh
===================================================================
--- trunk/adminshell/src/main/resources/commands/mparse.bsh 2009-08-13 14:58:47 UTC (rev
1240)
+++ trunk/adminshell/src/main/resources/commands/mparse.bsh 2009-08-13 18:40:27 UTC (rev
1241)
@@ -8,7 +8,7 @@
String str = orig_str.toLowerCase();
boolean record = false;
- if (str.endsWith(";") &&
str.matches("(select|insert|delete|update|exec|execute|create|drop)\\W.+")){
+ if (str.endsWith(";") &&
str.matches("(select|insert|delete|update|exec|create|drop)\\W.+")){
mmstr="execute(\""+orig_str.substring(0,orig_str.length()-1)+"\");";
record = true;
}
Show replies by date