Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

last_insert_id function always returns same value (1 reply)

$
0
0
I have a query that runs the last_insert_id against a table, but recently every time this is run it returns the same value. This value is incorrect as a record is written to the database prior to this query running. Is there a way to somehow rebuild the data that last_insert_ID uses?

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>