From 310d98424b56118549d8556a0f54ab74eac91bd1 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. --- 2.x/src/java/com/marcozanon/macaco/sql/MSqlConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.x/src/java/com/marcozanon/macaco/sql/MSqlConnection.java b/2.x/src/java/com/marcozanon/macaco/sql/MSqlConnection.java index 9047a90..b730de4 100644 --- a/2.x/src/java/com/marcozanon/macaco/sql/MSqlConnection.java +++ b/2.x/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