GetNextSQL Conversion/update Gstyle to BlueG?
#3

Quote:
Originally Posted by S4t3K
View Post
'*' means "all" in MySQL, selecting all the data in the table/database only to use the password (maybe the salt), and the username, it's a little bit idiot, because it's performance wasting.
It isn't! You can do the same thing with 1 query instead with 2 your way would use. A query with SELECT clause for all the data for that player, assign them to variables and then comparing the password than selecting the password and if they do match to execute another query with all the data and assign them to variables.
Reply


Messages In This Thread
GetNextSQL Conversion/update Gstyle to BlueG? - by Deal-or-die - 15.05.2014, 05:00
Re : GetNextSQL Conversion/update Gstyle to BlueG? - by S4t3K - 15.05.2014, 09:49
Re: Re : GetNextSQL Conversion/update Gstyle to BlueG? - by Konstantinos - 15.05.2014, 10:03
Re: GetNextSQL Conversion/update Gstyle to BlueG? - by Deal-or-die - 15.05.2014, 15:07
Re: GetNextSQL Conversion/update Gstyle to BlueG? - by Campbell- - 15.05.2014, 16:51

Forum Jump:


Users browsing this thread: 3 Guest(s)