Below is the list of changes that have just been committed into a local
6.0 repository of . When does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-01-03 16:32:13-06:00, klewis@klewis-mysql. +1 -0
Bug#33661 - Return the next autoincrement number to use to the server.
storage/falcon/ha_falcon.cpp@stripped, 2008-01-03 16:32:06-06:00, klewis@klewis-mysql. +2 -1
Bug#33661 - Return the next autoincrement number to use to the server.
diff -Nrup a/storage/falcon/ha_falcon.cpp b/storage/falcon/ha_falcon.cpp
--- a/storage/falcon/ha_falcon.cpp 2008-01-03 16:12:58 -06:00
+++ b/storage/falcon/ha_falcon.cpp 2008-01-03 16:32:06 -06:00
@@ -573,7 +573,8 @@ int StorageInterface::info(uint what)
#endif
if (what & HA_STATUS_AUTO)
- stats.auto_increment_value = storageShare->getSequenceValue(0);
+ // Return the next number to use. Falcon stores the last number used.
+ stats.auto_increment_value = storageShare->getSequenceValue(0) + 1;
if (what & HA_STATUS_ERRKEY)
errkey = indexErrorId;
Thread |
---|
• bk commit into 6.0 tree (klewis:1.2771) BUG#33661 | klewis | 3 Jan |