Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

insert_id is wrong after batch insert of > 100 #42

Closed
bitbucket-import opened this Issue · 1 comment

3 participants

@bitbucket-import

Since DB_active_rec does batch insert 100 at a time, insert_id will be wrong if the batch inset is more than 100 elems. it will return the insert id of the last 100-chunk.

A solution could be to save insert_id after the first 100-chunk.

@narfbg
Owner

How does that make it wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.