From: Marco Zanon Date: Sun, 26 Aug 2012 10:11:53 +0000 (+0000) Subject: Fixed a bug in MSqlConnection when calling .executePreparedStatement with no parameters. X-Git-Tag: 2.0~4 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=cdc5089c4547cfa4ec925c181399f4402c853759;p=Macaco Fixed a bug in MSqlConnection when calling .executePreparedStatement with no parameters. --- diff --git a/src/java/com/marcozanon/macaco/sql/MSqlConnection.java b/src/java/com/marcozanon/macaco/sql/MSqlConnection.java index 9047a90..b730de4 100644 --- a/src/java/com/marcozanon/macaco/sql/MSqlConnection.java +++ b/src/java/com/marcozanon/macaco/sql/MSqlConnection.java @@ -196,7 +196,7 @@ public class MSqlConnection extends MObject { /* Statements */ public MSqlStatementResults executePreparedStatement(String statement) throws MStatementSqlException { - return this.executePreparedStatement(statement, null); + return this.executePreparedStatement(statement, new LinkedList()); } public MSqlStatementResults executePreparedStatement(String statement, LinkedList parameters) throws MStatementSqlException {