Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

From: dockimbel::free::fr at: 7-Jul-2008 23:58

Hi Tim, My driver escapes special characters when using prepared statements (as described here : http://softinnov.org/rebol/mysql-usage.html#sect6.2.). This is the recommended way to create queries. But if you're forming the sql queries by appending data to SQL strings, it's up to you to correctly encode/escape data. I should maybe expose the internal SQL encoding function, so it would be available in global context for such use cases. I'll consider that for the next version of the driver. -- DocKimbel Tim Johnson wrote : [...]