It is currently Sat Jul 21, 2018 10:53 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Documentation errata or undocumented feature? DatabaseQuery
PostPosted: Sat Jun 02, 2018 3:26 am 
Offline
User
User

Joined: Thu May 03, 2018 4:24 pm
Posts: 25
The documentation for DatabaseQuery says
Code:
Executes a SQL query on the given database. Only queries which doesn't change the database records are accepted ('SELECT' like queries). To performs database modification, use DatabaseUpdate().

I didn't read the documentation and went ahead and used DatabaseQuery to update a record (e.g. UPDATE tablename SET field = value WHERE condition), and it works. The record is successfully updated with no apparent ill effects.

Can anyone else confirm this? "Yes, but do that twice, and it will clobber the stack, crashing your program" sort of thing?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye