Re: [aur-dev] [PATCH 1/1] use convenience wrapper for mysql_real_escape_string to aid database portability

2011-04-26 Thread Lukas Fleischer
On Mon, Apr 25, 2011 at 10:21:55PM -0700, elij wrote: when converting to postgres, each mysql_real_escape_string instance had to be changed, which was tedious. Centralizing the escape mechanism code would allow for much easier porting, in the same way that db_query provides a lightweight query

Re: [aur-dev] [PATCH 1/1] use convenience wrapper for mysql_real_escape_string to aid database portability

2011-04-26 Thread Dan McGee
On Tue, Apr 26, 2011 at 10:10 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Mon, Apr 25, 2011 at 10:21:55PM -0700, elij wrote: when converting to postgres, each mysql_real_escape_string instance had to be changed, which was tedious. Centralizing the escape mechanism code would allow

Re: [aur-dev] [PATCH 1/1] use convenience wrapper for mysql_real_escape_string to aid database portability

2011-04-26 Thread Lukas Fleischer
On Tue, Apr 26, 2011 at 10:42:58AM -0500, Dan McGee wrote: On Tue, Apr 26, 2011 at 10:10 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Mon, Apr 25, 2011 at 10:21:55PM -0700, elij wrote: when converting to postgres, each mysql_real_escape_string instance had to be changed, which