From cdc5089c4547cfa4ec925c181399f4402c853759 Mon Sep 17 00:00:00 2001 From: Marco Zanon Date: Sun, 26 Aug 2012 10:11:53 +0000 Subject: [PATCH] Fixed a bug in MSqlConnection when calling .executePreparedStatement with no parameters. --- src/java/com/marcozanon/macaco/sql/MSqlConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2