#4

I'm not familiar with the SQLite's format specifiers, however I do have a question. Why did you use this?

Quote:

format(Query, sizeof Query, "SELECT password FROM users WHERE username = '%q' LIMIT 1", DB_Escape(User[playerid][USER_NAME]));

I assume that it's a format specifier for escape string? If you could clarify that it's indeed correct and not a mistake then I cannot think of any other solution apart from trying to change it to %s.

I however might be wrong.

~iSpark
Reply


Messages In This Thread
sql. - by asri - 06.09.2017, 09:20
Re: sql. - by crukk11 - 06.09.2017, 09:28
Re: sql. - by asri - 06.09.2017, 10:50
Re: sql. - by iSpark - 06.09.2017, 11:01
Re: sql. - by asri - 06.09.2017, 11:32
Re: sql. - by iSpark - 06.09.2017, 11:34
Re: sql. - by asri - 06.09.2017, 12:24
Re: sql. - by Vince - 06.09.2017, 14:07

Forum Jump:


Users browsing this thread: 3 Guest(s)