| Bug #20392 | INSERT_ID session variable has weird value | ||
|---|---|---|---|
| Submitted: | 12 Jun 2006 12:16 | Modified: | 23 Jul 2006 4:09 | 
| Reporter: | Guilhem Bichot | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S3 (Non-critical) | 
| Version: | 5.0 | OS: | Linux (linux) | 
| Assigned to: | Alexander Barkov | CPU Architecture: | Any | 
   [12 Jun 2006 12:16]
   Guilhem Bichot        
  
 
   [22 Jun 2006 14:15]
   Alexander Barkov        
  A patch has been commited: http://lists.mysql.com/commits/8075
   [22 Jun 2006 14:16]
   Alexander Barkov        
  Thanks to Guilhem for suggesting a fix.
   [22 Jun 2006 14:24]
   Guilhem Bichot        
  comments sent by email
   [22 Jun 2006 14:45]
   Alexander Barkov        
  Additional fix: http://lists.mysql.com/commits/8080 (better test coverage, as Guilhem suggested)
   [23 Jul 2006 4:07]
   Paul DuBois        
  Noted in 5.0.24 changelog. SELECT @@INSERT_ID displayed a value unrelated to a preceding SET INSERT_ID. (It was returning LAST_INSERT_ID instead.)
