MySQL AI Problem
#5

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
wtf are you doing?
when you are inserting house or loading them you also save houses auto increcment id.
Yes but if he has 5 houses (so max ID: 5), then he adds 1, becomes ID: 6, but if he remove previously created house, ID will still be 6.

I know this because i have 3 dynamic systems which uses ID as autoincrement, and i have this problem too.

@IdonTmiss no you don't need, maybe you need just when migrating database because when u export the .sql file, query will be AUTOINCREMENT = 6 (even if u have max 5 houses).
Reply


Messages In This Thread
MySQL AI Problem - by IdonTmiss - 20.08.2018, 19:08
Re: MySQL AI Problem - by KinderClans - 20.08.2018, 19:09
Re: MySQL AI Problem - by IdonTmiss - 20.08.2018, 19:11
Re: MySQL AI Problem - by CodeStyle175 - 20.08.2018, 19:34
Re: MySQL AI Problem - by KinderClans - 20.08.2018, 20:03
Re: MySQL AI Problem - by Banditul18 - 20.08.2018, 21:50

Forum Jump:


Users browsing this thread: 3 Guest(s)