Fixed bugs in MySQLConnector

main
Inga 🏳‍🌈 15 years ago
parent 1c35027e31
commit 439c119420
  1. 3
      MySQLConnector/Connection.cs

@ -8,7 +8,7 @@ using FLocal.Core.DB;
namespace FLocal.MySQLConnector { namespace FLocal.MySQLConnector {
class Connection : IDBConnection { public class Connection : IDBConnection {
private MySqlConnection connection; private MySqlConnection connection;
private string connectionString; private string connectionString;
@ -23,6 +23,7 @@ namespace FLocal.MySQLConnector {
internal MySqlConnection createConnection() { internal MySqlConnection createConnection() {
MySqlConnection connection = new MySqlConnection(this.connectionString); MySqlConnection connection = new MySqlConnection(this.connectionString);
connection.Open();
return connection; return connection;
} }

Loading…
Cancel
Save