Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2013-02-12 18:00:38 +0400
committerMarek Safar <marek.safar@gmail.com>2013-02-12 18:01:05 +0400
commit81c5020bea6f023f5a81df998c5b36dba7544ee7 (patch)
tree2126ccfa9dba575b2a3cf89d1cbecfefb928a571 /mcs/class/System.Data
parentd90ef8a0227f639cbb311ade7ecb731a700ae9d6 (diff)
Possible fix for #10206
Diffstat (limited to 'mcs/class/System.Data')
-rw-r--r--mcs/class/System.Data/System.Data/DataColumn.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/class/System.Data/System.Data/DataColumn.cs b/mcs/class/System.Data/System.Data/DataColumn.cs
index df25fb6f8ca..166be8d8f48 100644
--- a/mcs/class/System.Data/System.Data/DataColumn.cs
+++ b/mcs/class/System.Data/System.Data/DataColumn.cs
@@ -291,6 +291,7 @@ namespace System.Data {
AutoIncrementValue ();
}
} else if (value64 <= _nextAutoIncrementValue) {
+ _nextAutoIncrementValue = value64;
AutoIncrementValue ();
}
}