Fix my last commit
authorMiguel de Icaza <miguel@gnome.org>
Thu, 19 Jan 2012 05:08:19 +0000 (00:08 -0500)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 19 Jan 2012 05:08:31 +0000 (00:08 -0500)
mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs

index 1317b4b7880966ec9f2dfa678f63f586eb840a89..2f860ddd10c29a8dd93643a702f44cd4aec282f3 100644 (file)
@@ -1112,7 +1112,7 @@ namespace System.Data.SqlClient
                                                        row["ReservedWord"] = reservedWord;
                                                        newInstance.Rows.Add(row);
                                                }
-                                               newInstance = instance;
+                                               instance = newInstance;
                                        }
                                        return instance;
                                }